CONFIG_GRKERNSEC_PROC_MEMMAP partially breaks lsof
Posted: Fri Oct 04, 2002 2:36 pm
Configure.help says this about CONFIG_GRKERNSEC_PROC_MEMMAP:
Well, I've come across one: lsof.
With CONFIG_GRKERNSEC_PROC_MEMMAP enabled, lsof no longer lists shared libraries that are in use. Perhaps it would be a good idea to change "No legitimate programs" to "No legitimate programs other than lsof". It took me a while to narrow this down...
CONFIG_GRKERNSEC_PROC_MEMMAP
If you say Y here, the /proc/<pid>/mem and /proc/<pid>/maps files
will no longer be accessible. If you use PaX it is greatly
recommended that you say Y here as it closes up a hole that makes the
full ASLR useless for suid binaries. No legitimate programs should have
to use either of the two files.
Well, I've come across one: lsof.
With CONFIG_GRKERNSEC_PROC_MEMMAP enabled, lsof no longer lists shared libraries that are in use. Perhaps it would be a good idea to change "No legitimate programs" to "No legitimate programs other than lsof". It took me a while to narrow this down...