summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/imaxdiv.c
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2008-03-16 17:55:06 +0000
committerpjd <pjd@FreeBSD.org>2008-03-16 17:55:06 +0000
commitd61d590ad7fc8b12ce6706eb44b2591def26f29c (patch)
treec401392c342d54527a84d5414d29d78cf92ce139 /lib/libc/stdlib/imaxdiv.c
parent2c03b45538040c4ab0266f2cfa5d8cf47346d65e (diff)
downloadFreeBSD-src-d61d590ad7fc8b12ce6706eb44b2591def26f29c.zip
FreeBSD-src-d61d590ad7fc8b12ce6706eb44b2591def26f29c.tar.gz
Fix information leak. We can find PIDs of running processes from within
a jail, etc. by simply calling setpriority(PRIO_PROCESS, <PID>, 0) and checking the return value: 0 means that the process exists and -1 that it doesn't exist. Reviewed by: rwatson MFC after: 1 week
Diffstat (limited to 'lib/libc/stdlib/imaxdiv.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud