Date: Mon, 4 Sep 2006 10:33:44 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet6 in6_pcb.c Message-ID: <200609041033.k84AXiad056281@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
pjd 2006-09-04 10:33:44 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sys/netinet6 in6_pcb.c
Log:
MFC: sys/netinet6/in6_pcb.c 1.71
- 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.62.2.4 +2 -2 src/sys/netinet6/in6_pcb.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609041033.k84AXiad056281>
