cvs commit: src/sys/netinet in_pcb.c
Pawel Jakub Dawidek
pjd at FreeBSD.org
Tue Jun 27 11:35:03 UTC 2006
pjd 2006-06-27 11:34:44 UTC
FreeBSD src repository
Modified files:
sys/netinet in_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.178 +2 -2 src/sys/netinet/in_pcb.c
More information about the cvs-src
mailing list