Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   dsl
Date:           Sat Jun 23 09:02:13 UTC 2007

Modified Files:
        src/sys/kern: kern_auth.c
        src/sys/sys: kauth.h

Log Message:
Simplify the interfaces needed for sys_setgroups() and sys_getgroups().
Exposed that the kauth code holds groups in an array, but removes some
of the knowledge of the maximum number of groups.
Allows the syscall code to copyin/out directly to/from the cred structure,
this save a lot of faffing about with malloc/free even when compat code
has to use 16bit groups.


To generate a diff of this commit:
cvs rdiff -r1.47 -r1.48 src/sys/kern/kern_auth.c
cvs rdiff -r1.37 -r1.38 src/sys/sys/kauth.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index