-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Alexander Skwar wrote: > Rumen Yotov wrote: > >> Because chpax uses the old ELF-header markings and paxctl uses the new >> ones (binaries compiled with PIC & PIE, binutils 2.16.X). >> So you use chpax or paxctl depending on the binary. > > Alright. That's an explanation I can live with. Is there a way > to find out beforehand if chpax or paxctl is to be used? > > Thanks, > > Alexander Skwar Hi, $ file /sbin/init /sbin/init: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped Second (better) option: $ qlist pax-utils /usr/bin/pspax /usr/bin/scanelf /usr/bin/dumpelf /usr/share/man/man1/scanelf.1.gz /usr/share/man/man1/dumpelf.1.gz /usr/share/man/man1/pspax.1.gz HTH.Rumen -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2-ecc0.1.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEQktdNbtuTtsWD3wRArvRAJ9pup2JkwEFVad3gPQ6YR4YKD/jcgCffWzH jWDkPClm5YpqrdiZPCDUeBM= =Fmif -----END PGP SIGNATURE----- -- [email protected] mailing list

