Gentoo Archives: gentoo-dev

From: Mike Gilbert <floppym@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: Can we get PIE on all SUID binaries by default, por favor?
Date: Mon, 23 Jan 2012 20:01:26
Message-Id: CAJ0EP42C2e9ggiWAa7+JKvy73b5SWgbaa81m247b=f54aaObUQ@mail.gmail.com
In Reply to: Re: [gentoo-dev] Re: Can we get PIE on all SUID binaries by default, por favor? by "Jason A. Donenfeld"
1 On Mon, Jan 23, 2012 at 2:57 PM, Jason A. Donenfeld <Jason@×××××.com> wrote:
2 > To check for PIE,
3 >
4 > readelf -h /bin/su | grep Type
5 >
6 > If it says EXEC, no PIE. If it says DYN, yes PIE.
7
8 I'm asking "how does one enable PIE/ASLR", not how to check if it is
9 enabled already.

Replies