cvs commit: src/sys/netinet6 in6_pcb.c
Pawel Jakub Dawidek
pjd at FreeBSD.org
Tue Jun 27 11:35:54 UTC 2006
pjd 2006-06-27 11:35:53 UTC
FreeBSD src repository
Modified files:
sys/netinet6 in6_pcb.c
Log:
- Use suser_cred(9) instead of directly checking cr_uid.
- Change the order of conditions to first verify that we actually need
to check for privileges and then eventually check them.
Reviewed by: rwatson
Revision Changes Path
1.71 +2 -2 src/sys/netinet6/in6_pcb.c
More information about the cvs-src
mailing list