This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Fri, Jul 15, 2016 at 12:52:33PM +0200, Florian Weimer wrote: > On 07/15/2016 02:45 AM, Paul Eggert wrote: > >On 07/14/2016 01:27 PM, Florian Weimer wrote: > >>GDB does this to disable randomization: > > > >Thanks. Emacs disables ASLR by invoking the 'setfattr -n user.pax.flags > >-v er' shell command on the Emacs executable before running it ('paxctl > >+a' on older systems). Does this approach not work on ppc64? If not, > >what shell command would work? > > I have never seen these commands before. On mainline Linux, you need to > use setarch (perhaps from a shell script wrapper), and this calls > personality internally. One has to use personality(personality(0xffffffff)|ADDR_NO_RANDOMIZE) approach as implemented in GDB, a simple shell script wrapper cannot implement this. user.pax.flags is a PaX specific, mainline linux kernel doesn't recognize this attribute. -- ldv
Attachment:
pgp1p2n5jn2a9.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |