diff options
author | pjd <pjd@FreeBSD.org> | 2008-03-16 17:55:06 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2008-03-16 17:55:06 +0000 |
commit | d61d590ad7fc8b12ce6706eb44b2591def26f29c (patch) | |
tree | c401392c342d54527a84d5414d29d78cf92ce139 /lib/libc/stdlib/strtoimax.c | |
parent | 2c03b45538040c4ab0266f2cfa5d8cf47346d65e (diff) | |
download | FreeBSD-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/strtoimax.c')
0 files changed, 0 insertions, 0 deletions