Gentoo Archives: gentoo-commits

From: Francisco Blas Izquierdo Riera <klondike@×××××××××.es>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-docs:master commit in: html/
Date: Wed, 04 May 2011 22:03:48
Message-Id: 658b91b7598b97799d18712eee0ae7747e86eb10.klondike@gentoo
1 commit: 658b91b7598b97799d18712eee0ae7747e86eb10
2 Author: klondike <klondike <AT> xiscosoft <DOT> es>
3 AuthorDate: Wed May 4 21:44:54 2011 +0000
4 Commit: Francisco Blas Izquierdo Riera <klondike <AT> xiscosoft <DOT> es>
5 CommitDate: Wed May 4 21:44:54 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-docs.git;a=commit;h=658b91b7
7
8 updating previews
9
10 ---
11 html/etdyn.html | 18 +++++++++---------
12 html/gnu-stack.html | 8 ++++----
13 2 files changed, 13 insertions(+), 13 deletions(-)
14
15 diff --git a/html/etdyn.html b/html/etdyn.html
16 index 99ea501..ca94085 100644
17 --- a/html/etdyn.html
18 +++ b/html/etdyn.html
19 @@ -11,13 +11,13 @@
20 <link rel="search" type="application/opensearchdescription+xml" href="http://www.gentoo.org/search/archives-gentoo-org.xml" title="Gentoo List Archives">
21 <title>Gentoo Linux Documentation
22 --
23 - </title>
24 + ETDYN guide</title>
25 </head>
26 <body style="margin:0px;" bgcolor="#ffffff"><table width="100%" border="0" cellspacing="0" cellpadding="0">
27 <tr><td valign="top" height="125" bgcolor="#45347b"><a href="http://www.gentoo.org/"><img border="0" src="http://www.gentoo.org/images/gtop-www.jpg" alt="Gentoo Logo"></a></td></tr>
28 <tr><td valign="top" align="right" colspan="1" bgcolor="#ffffff"><table border="0" cellspacing="0" cellpadding="0" width="100%"><tr>
29 <td width="99%" class="content" valign="top" align="left">
30 -<br><h1></h1>
31 +<br><h1>ETDYN guide</h1>
32 <form name="contents" action="http://www.gentoo.org">
33 <b>Content</b>:
34 <select name="url" size="1" OnChange="location.href=form.url.options[form.url.selectedIndex].value" style="font-family:sans-serif,Arial,Helvetica"><option value="#doc_chap1">1. Introduction</option>
35 @@ -100,8 +100,8 @@
36 care about gcrt1.o). It is no coincidence that crt1.o is not linked into
37 shared libraries as this object contains (among others) the low-level entry
38 point and startup code that invokes the C library startup code which in
39 - turn calls main().
40 - <table class="ncontent" width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td bgcolor="#ffbbbb"><p class="note"><b>Warning: </b>Initiating the building of ET_DYN executables on Gentoo does not require us to put -shared in our CFLAGS or LDFLAGS</p></td></tr></table></p>
41 + turn calls main(). </p>
42 +<table class="ncontent" width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td bgcolor="#ffbbbb"><p class="note"><b>Warning: </b>Initiating the building of ET_DYN executables on Gentoo does not require us to put -shared in our CFLAGS or LDFLAGS</p></td></tr></table>
43 <p>Making crt1.o position independent is easy, we just have to make use of the
44 GOT (in keeping with the tradition of the glibc naming convention for the
45 position independent version of the extra object files, we will call it
46 @@ -133,15 +133,15 @@
47 the other systemwide crt* files are.</p>
48 <p class="chaphead"><a name="doc_chap3"></a><span class="chapnum">3.
49 </span>ET_DYN ELF executables (The Gentoo Way)</p>
50 -<p>On Gentoo this is accomplished by merging <span class="code-input">hardened-gcc</span>: </p>
51 +<p>On Gentoo this is accomplished by merging <span class="code" dir="ltr">hardened-gcc</span>: </p>
52 <a name="doc_chap3_pre1"></a><table class="ntable" width="100%" cellspacing="0" cellpadding="0" border="0">
53 <tr><td bgcolor="#7a5ada"><p class="codetitle">Code Listing3.1: Emerging hardened-gcc</p></td></tr>
54 <tr><td bgcolor="#eeeeff" align="left" dir="ltr"><pre>
55 -<span class="code" dir="ltr"># emerge hardened-gcc</span>
56 +# <span class="code-input">emerge hardened-gcc</span>
57 </pre></td></tr>
58 </table>
59 -<p><span class="code-input">hardened-gcc</span> is an umbrella package for non-mainstream gcc modifications
60 - The <span class="code-input">hardened-gcc</span> packages was initially created by Alexander Gabert
61 +<p><span class="code" dir="ltr">hardened-gcc</span> is an umbrella package for non-mainstream gcc modifications
62 + The <span class="code" dir="ltr">hardened-gcc</span> packages was initially created by Alexander Gabert
63 for this special purpose we are serving here: rolling out the etdyn
64 specs file and interp.o together with the position independent
65 crt1S.o. But this package is not limited to that purpose.
66 @@ -163,7 +163,7 @@
67 <a name="doc_chap3_pre2"></a><table class="ntable" width="100%" cellspacing="0" cellpadding="0" border="0">
68 <tr><td bgcolor="#7a5ada"><p class="codetitle">Code Listing3.2: Example files</p></td></tr>
69 <tr><td bgcolor="#eeeeff" align="left" dir="ltr"><pre>
70 -<span class="code" dir="ltr"># file /sbin/chpax</span>
71 +# <span class="code-input">file /sbin/chpax</span>
72 /sbin/chpax: ELF 32-bit LSB shared object, Intel 80386, version 1 \
73 (GNU/Linux), stripped
74 /sbin/chpax: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for \
75
76 diff --git a/html/gnu-stack.html b/html/gnu-stack.html
77 index fd6caf0..d784de3 100644
78 --- a/html/gnu-stack.html
79 +++ b/html/gnu-stack.html
80 @@ -339,7 +339,7 @@ If no one can seem to answer your question, give me a poke either on irc
81 <td class="infohead"><b>Arch</b></td> <td class="infohead"><b>Status</b></td>
82 </tr>
83 <tr>
84 -<td class="tableinfo">alpha</td> <td class="tableinfo">gcc generates proper .note.GNU-stack, but final link results in exec stack</td>
85 +<td class="tableinfo">alpha</td> <td class="tableinfo">fully supported (gcc-4.4.x/glibc-2.11)</td>
86 </tr>
87 <tr>
88 <td class="tableinfo">amd64</td> <td class="tableinfo">fully supported</td>
89 @@ -363,10 +363,10 @@ If no one can seem to answer your question, give me a poke either on irc
90 <td class="tableinfo">mips</td> <td class="tableinfo">gcc-3.4.x does not generate .note.GNU-stack</td>
91 </tr>
92 <tr>
93 -<td class="tableinfo">ppc</td> <td class="tableinfo">gcc generates proper .note.GNU-stack, but final link results in exec stack</td>
94 +<td class="tableinfo">ppc</td> <td class="tableinfo">fully supported (gcc-4.4.x/glibc-2.11)</td>
95 </tr>
96 <tr>
97 -<td class="tableinfo">ppc64</td> <td class="tableinfo">gcc generates proper .note.GNU-stack, but final link results in exec stack</td>
98 +<td class="tableinfo">ppc64</td> <td class="tableinfo">fully supported (gcc-4.4.x/glibc-2.11)</td>
99 </tr>
100 <tr>
101 <td class="tableinfo">s390</td> <td class="tableinfo">fully supported</td>
102 @@ -397,7 +397,7 @@ If no one can seem to answer your question, give me a poke either on irc
103 </td>
104 <td width="1%" bgcolor="#dddaec" valign="top"><table border="0" cellspacing="4px" cellpadding="4px">
105 <tr><td class="topsep" align="center"><p class="altmenu"><a title="View a printer-friendly version" class="altlink" href="gnu-stack.xml?style=printable">Print</a></p></td></tr>
106 -<tr><td class="topsep" align="center"><p class="alttext">Updated November 27, 2010</p></td></tr>
107 +<tr><td class="topsep" align="center"><p class="alttext">Updated March 17, 2011</p></td></tr>
108 <tr><td class="topsep" align="left"><p class="alttext"><b>Summary: </b>Handbook for proper GNU Stack management in ELF systems</p></td></tr>
109 <tr><td align="left" class="topsep"><p class="alttext">
110 <a href="mailto:vapier@g.o" class="altlink"><b>Mike Frysinger</b></a>