vapier      05/06/09 02:40:47

  Modified:    xml/htdocs/doc/en/handbook/draft pax-utils.xml
  Log:
  touchup grammar in a few places, add documentation for the new -T textrel 
option, and mention the PT_PAX_FLAGS segment

Revision  Changes    Path
1.4       +20 -11    xml/htdocs/doc/en/handbook/draft/pax-utils.xml

file : 
http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/pax-utils.xml?rev=1.4&content-type=text/x-cvsweb-markup&cvsroot=gentoo
plain: 
http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/pax-utils.xml?rev=1.4&content-type=text/plain&cvsroot=gentoo
diff : 
http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/pax-utils.xml.diff?r1=1.3&r2=1.4&cvsroot=gentoo

Index: pax-utils.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/pax-utils.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- pax-utils.xml       8 Jun 2005 19:24:47 -0000       1.3
+++ pax-utils.xml       9 Jun 2005 02:40:47 -0000       1.4
@@ -1,6 +1,6 @@
 <?xml version='1.0' encoding="UTF-8"?>
 
-<!-- $Header: 
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/pax-utils.xml,v 1.3 
2005/06/08 19:24:47 swift Exp $ -->
+<!-- $Header: 
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/pax-utils.xml,v 1.4 
2005/06/09 02:40:47 vapier Exp $ -->
 
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
 
@@ -74,7 +74,9 @@
 <p>
 The structure of such a binary is defined in the ELF standard. ELF stands for
 <e>Executable and Linkable Format</e>. If you are really interested in the gory
-details, check out the <c>elf</c> man page.
+details, check out the 
+<uri link="http://www.linuxbase.org/spec/book/ELF-generic/ELF-generic.html";>
+Generic ELF spec</uri> or the <c>elf(5)</c> man page.
 </p>
 
 <p>
@@ -118,10 +120,10 @@
 <body>
 
 <p>
-Originally, every application binary contained <e>everything</e> it needed to
+Way back when, every application binary contained <e>everything</e> it needed 
to
 operate correctly. Such binaries are called <e>statically linked</e> binaries.
-They are however space consuming since many applications use the same functions
-over and over again. 
+They are, however, space consuming since different applications use the same 
+functions over and over again.
 </p>
 
 <p>
@@ -237,6 +239,11 @@
   <ti>Print NEEDED information</ti>
 </tr>
 <tr>
+  <ti>-T</ti>
+  <ti>--textrels</ti>
+  <ti>Identify the cause of TEXTRELs</ti>
+</tr>
+<tr>
   <ti>-i</ti>
   <ti>--interp</ti>
   <ti>Print INTERP information</ti>
@@ -415,7 +422,7 @@
 </p>
 
 <pre caption="Scanning the entire system for text relocation files">
-# <i>scanelf -tqRmy</i>
+# <i>scanelf -qtmyR /</i>
 </pre>
 
 </body>
@@ -429,8 +436,10 @@
 binary. One of those flags is the type of the segment. Interesting values are
 PT_LOAD (the segment must be loaded in memory from file), PT_DYNAMIC (the
 segment contains dynamic linking information), PT_INTERP (the segment 
-contains the name of the program interpreter) and PT_GNU_STACK (a GNU extension
-for the ELF format, used by some stack protection mechanisms).
+contains the name of the program interpreter), PT_GNU_STACK (a GNU extension
+for the ELF format, used by some stack protection mechanisms), and PT_PAX_FLAGS
+(a PaX extension for the ELF format, used by the security-minded 
+<uri link="http://pax.grsecurity.net/";>PaX Project</uri>.
 </p>
 
 <p>
@@ -450,9 +459,9 @@
 <body>
 
 <p>
-A very useful feature of the <c>scanelf</c> utility is the format modifier
-handler. With this option you can control the output of <c>scanelf</c> making 
it
-useful for scripting purposes.
+A useful feature of the <c>scanelf</c> utility is the format modifier handler. 
 
+With this option you can control the output of <c>scanelf</c>, thereby 
+simplifying parsing the output with scripts.
 </p>
 
 <p>



-- 
[email protected] mailing list

Reply via email to