From owner-cvs-src-old@FreeBSD.ORG Sat Feb 7 13:47:07 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF4441065723 for ; Sat, 7 Feb 2009 13:47:07 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9C5898FC0C for ; Sat, 7 Feb 2009 13:47:07 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n17Dl79m060744 for ; Sat, 7 Feb 2009 13:47:07 GMT (envelope-from bz@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n17Dl7R5060739 for cvs-src-old@freebsd.org; Sat, 7 Feb 2009 13:47:07 GMT (envelope-from bz@repoman.freebsd.org) Message-Id: <200902071347.n17Dl7R5060739@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to bz@repoman.freebsd.org using -f From: "Bjoern A. Zeeb" Date: Sat, 7 Feb 2009 13:46:51 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 Subject: cvs commit: src/sys/net rtsock.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2009 13:47:08 -0000 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