pjd 2008-03-16 17:55:06 UTC
FreeBSD src repository
Modified files:
sys/kern kern_resource.c
Log:
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
Revision Changes Path
1.184 +2 -1 src/sys/kern/kern_resource.c
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"