jhb 2006-07-06 21:32:20 UTC
FreeBSD src repository
Modified files:
sys/kern kern_prot.c
sys/sys syscallsubr.h
sys/i386/ibcs2 ibcs2_misc.c syscalls.xenix
Log:
Add kern_setgroups() and kern_getgroups() and use them to implement
ibcs2_[gs]etgroups() rather than using the stackgap. This also makes
ibcs2_[gs]etgroups() MPSAFE. Also, it cleans up one bit of weirdness in
the old setgroups() where it allocated an entire credential just so it had
a place to copy the group list into. Now setgroups just allocates a
NGROUPS_MAX array on the stack that it copies into and then passes to
kern_setgroups().
Revision Changes Path
1.63 +25 -42 src/sys/i386/ibcs2/ibcs2_misc.c
1.12 +2 -2 src/sys/i386/ibcs2/syscalls.xenix
1.203 +43 -26 src/sys/kern/kern_prot.c
1.39 +2 -0 src/sys/sys/syscallsubr.h
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"