]> git.baikalelectronics.ru Git - kernel.git/commit
binfmt_elf: PIE: make PF_RANDOMIZE check comment more accurate
authorJiri Kosina <jkosina@suse.cz>
Tue, 30 Apr 2013 22:27:45 +0000 (15:27 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 May 2013 00:04:04 +0000 (17:04 -0700)
commit80c1d487b49a20ba5d8e8083d0d4f561eee5339c
tree1f1f2d4ef18082854a0b5e21cdac998d15a276a3
parentdb588fdfb316b817ec7ea4e52a2bb861e5c2a8ad
binfmt_elf: PIE: make PF_RANDOMIZE check comment more accurate

The comment I originally added in commit 592dff40dac2 ("binfmt_elf: fix
PIE execution with randomization disabled") is not really 100% accurate
-- sysctl is not the only way how PF_RANDOMIZE could be forcibly unset
in runtime.

Another option of course is direct modification of personality flags
(i.e.  running through setarch wrapper).

Make the comment more explicit and accurate.

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/binfmt_elf.c