mirror_zfs/module/splat
Brian Behlendorf ec7d53e99a Add basic credential support and splat tests.
The previous credential implementation simply provided the needed types and
a couple of dummy functions needed.  This update correctly ties the basic
Solaris credential API in to one of two Linux kernel APIs.

Prior to 2.6.29 the linux kernel embeded all credentials in the task
structure.  For these kernels, we pass around the entire task struct as if
it were the credential, then we use the helper functions to extract the
credential related bits.

As of 2.6.29 a new credential type was added which we can and do fairly
cleanly layer on top of.  Once again the helper functions nicely hide
the implementation details from all callers.

Three tests were added to the splat test framework to verify basic
correctness.  They should be extended as needed when need credential
functions are added.
2009-07-27 17:18:59 -07:00
..
Makefile.in Add basic credential support and splat tests. 2009-07-27 17:18:59 -07:00
splat-atomic.c SLES10 Fixes (part 9) 2009-05-21 10:56:11 -07:00
splat-condvar.c SLES10 Fixes (part 9) 2009-05-21 10:56:11 -07:00
splat-cred.c Add basic credential support and splat tests. 2009-07-27 17:18:59 -07:00
splat-ctl.c Add basic credential support and splat tests. 2009-07-27 17:18:59 -07:00
splat-generic.c SLES10 Fixes (part 9) 2009-05-21 10:56:11 -07:00
splat-internal.h Add basic credential support and splat tests. 2009-07-27 17:18:59 -07:00
splat-kmem.c Allow kmem or vmem based slab for slab_lock and slab_overcommit tests. 2009-07-23 13:50:53 -07:00
splat-kobj.c SLES10 Fixes (part 9) 2009-05-21 10:56:11 -07:00
splat-list.c SLES10 Fixes (part 9) 2009-05-21 10:56:11 -07:00
splat-mutex.c SLES10 Fixes (part 9) 2009-05-21 10:56:11 -07:00
splat-random.c SLES10 Fixes (part 9) 2009-05-21 10:56:11 -07:00
splat-rwlock.c SLES10 Fixes (part 9) 2009-05-21 10:56:11 -07:00
splat-taskq.c SLES10 Fixes (part 9) 2009-05-21 10:56:11 -07:00
splat-thread.c SLES10 Fixes (part 9) 2009-05-21 10:56:11 -07:00
splat-time.c SLES10 Fixes (part 9) 2009-05-21 10:56:11 -07:00
splat-vnode.c SLES10 Fixes (part 9) 2009-05-21 10:56:11 -07:00