Date: Sun, 18 Feb 2001 05:30:20 -0800 (PST) From: Brian Feldman <green@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/mountd mountd.c src/sys/kern vfs_subr.c src/sys/netinet tcp_subr.c udp_usrreq.c src/sys/netinet6 udp6_usrreq.c src/sys/nfs nfs.h nfs_syscalls.c src/sys/sys mount.h ucred.h param.h src/usr.sbin/inetd builtins.c Message-ID: <200102181330.f1IDULQ54598@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
green 2001/02/18 05:30:20 PST Modified files: sbin/mountd mountd.c sys/kern vfs_subr.c sys/netinet tcp_subr.c udp_usrreq.c sys/netinet6 udp6_usrreq.c sys/nfs nfs.h nfs_syscalls.c sys/sys mount.h ucred.h param.h usr.sbin/inetd builtins.c Log: Switch to using a struct xucred instead of a struct xucred when not actually in the kernel. This structure is a different size than what is currently in -CURRENT, but should hopefully be the last time any application breakage is caused there. As soon as any major inconveniences are removed, the definition of the in-kernel struct ucred should be conditionalized upon defined(_KERNEL). This also changes struct export_args to remove dependency on the constantly-changing struct ucred, as well as limiting the bounds of the size fields to the correct size. This means: a) mountd and friends won't break all the time, b) mountd and friends won't crash the kernel all the time if they don't know what they're doing wrt actual struct export_args layout. Reviewed by: bde Revision Changes Path 1.40 +13 -13 src/sbin/mountd/mountd.c 1.304 +11 -3 src/sys/kern/vfs_subr.c 1.89 +17 -6 src/sys/netinet/tcp_subr.c 1.83 +9 -3 src/sys/netinet/udp_usrreq.c 1.14 +10 -6 src/sys/netinet6/udp6_usrreq.c 1.57 +2 -2 src/sys/nfs/nfs.h 1.65 +8 -2 src/sys/nfs/nfs_syscalls.c 1.101 +4 -4 src/sys/sys/mount.h 1.20 +14 -1 src/sys/sys/ucred.h 1.90 +2 -2 src/sys/sys/param.h 1.30 +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?200102181330.f1IDULQ54598>