Date: Wed, 7 Nov 2001 18:13:18 -0800 (PST) From: Robert Watson <rwatson@FreeBSD.org> 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 Message-ID: <200111080213.fA82DJF47079@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111080213.fA82DJF47079>
