summaryrefslogtreecommitdiffstats
path: root/sbin/ping6/ping6.c
diff options
context:
space:
mode:
authorcperciva <cperciva@FreeBSD.org>2004-07-26 07:54:39 +0000
committercperciva <cperciva@FreeBSD.org>2004-07-26 07:54:39 +0000
commitc009fddfd63ef5d206d01f3620b02f83af7276b6 (patch)
treedc6f4afc482f26ab0e86eddb907d8457ab4539ef /sbin/ping6/ping6.c
parent8870a257a7f77ac5deacfef466d514019b65b80c (diff)
downloadFreeBSD-src-c009fddfd63ef5d206d01f3620b02f83af7276b6.zip
FreeBSD-src-c009fddfd63ef5d206d01f3620b02f83af7276b6.tar.gz
In revision 1.228, I accidentally broke the "total number of processes in
the system" resource limit code: When checking if the caller has superuser privileges, we should be checking the *real* user, not the *effective* user. (In general, resource limiting is done based on the real user, in order to avoid resource-exhaustion-by-setuid-program attacks.) Now that a SUSER_RUID flag to suser_cred exists, use it here to return this code to its correct behaviour. Pointed out by: rwatson
Diffstat (limited to 'sbin/ping6/ping6.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud