Date: Sat, 7 Feb 2009 13:46:51 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/net rtsock.c Message-ID: <200902071347.n17Dl7R5060739@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bz 2009-02-07 13:46:51 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/net rtsock.c Log: SVN rev 188284 on 2009-02-07 13:46:51Z by bz MFC: r186956 Take the cred from curthread rather than curproc as curproc would need locking but the credential from curthread (usually) never changes. r186980 Restrict arp, ndp and theoretically the FIB listing (if not read with libkvm) to the addresses of a prison, when inside a jail. While touching RTM_GET in route_output(), consistently use curthread credentials rather than the creds from the socket there. r186986 Rather than using the cred from curthread, take it from the thread referenced in the sysctl req argument. Revision Changes Path 1.143.2.5 +18 -8 src/sys/net/rtsock.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902071347.n17Dl7R5060739>