Could someone explain to me why PROC_PAGE_MONITOR is disabled by grsecurity? I wanted to use /proc/#pid#/smaps to determine the memory consumption of several processes.
It gives out way too much information about the address space and physical memory locations. It's a threat not just to ASLR but can make some kernel exploitation easier. Also IIRC it had several vulnerabilities found in it when it was first implemented, so I've had it forced off ever since it was added to the kernel.
Thank you Brad. Can I just remove the !GRKERNSEC from PROC_PAGE_MONITOR in /fs/proc/Kconfig and set the default to y, at my own risk? Or are there more steps necessary in order to make this work properly? Are there even better solutions for such tasks?