Date: Tue, 26 Feb 2002 20:45:37 -0800 (PST) From: Dima Dorfman <dd@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/gen getpeereid.3 getpeereid.c src/sbin/mountd mountd.c src/sys/kern kern_prot.c uipc_usrreq.c src/sys/netinet tcp_subr.c udp_usrreq.c src/sys/netinet6 udp6_usrreq.c src/sys/security/lomac kernel_socket.c src/sys/sys ... Message-ID: <200202270445.g1R4jbv29875@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
dd 2002/02/26 20:45:37 PST Modified files: lib/libc/gen getpeereid.3 getpeereid.c sbin/mountd mountd.c sys/kern kern_prot.c uipc_usrreq.c sys/netinet tcp_subr.c udp_usrreq.c sys/netinet6 udp6_usrreq.c sys/security/lomac kernel_socket.c sys/sys ucred.h usr.sbin/inetd builtins.c Log: Introduce a version field to `struct xucred' in place of one of the spares (the size of the field was changed from u_short to u_int to reflect what it really ends up being). Accordingly, change users of xucred to set and check this field as appropriate. In the kernel, this is being done inside the new cru2x() routine which takes a `struct ucred' and fills out a `struct xucred' according to the former. This also has the pleasant sideaffect of removing some duplicate code. Reviewed by: rwatson Revision Changes Path 1.4 +2 -1 src/lib/libc/gen/getpeereid.3 1.4 +3 -0 src/lib/libc/gen/getpeereid.c 1.60 +3 -2 src/sbin/mountd/mountd.c 1.137 +16 -0 src/sys/kern/kern_prot.c 1.82 +2 -10 src/sys/kern/uipc_usrreq.c 1.120 +2 -10 src/sys/netinet/tcp_subr.c 1.101 +1 -5 src/sys/netinet/udp_usrreq.c 1.22 +1 -5 src/sys/netinet6/udp6_usrreq.c 1.5 +1 -5 src/sys/security/lomac/kernel_socket.c 1.31 +3 -1 src/sys/sys/ucred.h 1.37 +2 -2 src/usr.sbin/inetd/builtins.c 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?200202270445.g1R4jbv29875>