From owner-cvs-all Wed Nov 7 18:13:26 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 14A7337B405; Wed, 7 Nov 2001 18:13:19 -0800 (PST) Received: (from rwatson@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fA82DJF47079; Wed, 7 Nov 2001 18:13:19 -0800 (PST) (envelope-from rwatson) Message-Id: <200111080213.fA82DJF47079@freefall.freebsd.org> From: Robert Watson Date: Wed, 7 Nov 2001 18:13:18 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/compat/linux linux_mib.c src/sys/kern kern_mib.c kern_sysctl.c uipc_usrreq.c src/sys/netinet ip_divert.c raw_ip.c tcp_subr.c udp_usrreq.c src/sys/netinet6 udp6_usrreq.c src/sys/sys sysctl.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG rwatson 2001/11/07 18:13:18 PST Modified files: sys/compat/linux linux_mib.c sys/kern kern_mib.c kern_sysctl.c uipc_usrreq.c sys/netinet ip_divert.c raw_ip.c tcp_subr.c udp_usrreq.c sys/netinet6 udp6_usrreq.c sys/sys sysctl.h Log: o Replace reference to 'struct proc' with 'struct thread' in 'struct sysctl_req', which describes in-progress sysctl requests. This permits sysctl handlers to have access to the current thread, permitting work on implementing td->td_ucred, migration of suser() to using struct thread to derive the appropriate ucred, and allowing struct thread to be passed down to other code, such as network code where td is not currently available (and curproc is used). o Note: netncp and netsmb are not updated to reflect this change, as they are not currently KSE-adapted. Reviewed by: julian Obtained from: TrustedBSD Project Revision Changes Path 1.14 +7 -7 src/sys/compat/linux/linux_mib.c 1.49 +4 -4 src/sys/kern/kern_mib.c 1.118 +6 -6 src/sys/kern/kern_sysctl.c 1.76 +1 -1 src/sys/kern/uipc_usrreq.c 1.53 +4 -2 src/sys/netinet/ip_divert.c 1.87 +1 -1 src/sys/netinet/raw_ip.c 1.117 +6 -6 src/sys/netinet/tcp_subr.c 1.100 +3 -3 src/sys/netinet/udp_usrreq.c 1.19 +2 -2 src/sys/netinet6/udp6_usrreq.c 1.100 +2 -2 src/sys/sys/sysctl.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message