mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-18 10:21:01 +03:00
ec7d53e99a
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.
24 lines
558 B
Makefile
24 lines
558 B
Makefile
# Makefile.in for splat kernel module
|
|
|
|
MODULES := splat
|
|
EXTRA_CFLAGS = @KERNELCPPFLAGS@
|
|
|
|
# Solaris Porting LAyer Tests
|
|
obj-m := splat.o
|
|
|
|
splat-objs += splat-ctl.o
|
|
splat-objs += splat-kmem.o
|
|
splat-objs += splat-taskq.o
|
|
splat-objs += splat-random.o
|
|
splat-objs += splat-mutex.o
|
|
splat-objs += splat-condvar.o
|
|
splat-objs += splat-thread.o
|
|
splat-objs += splat-rwlock.o
|
|
splat-objs += splat-time.o
|
|
splat-objs += splat-vnode.o
|
|
splat-objs += splat-kobj.o
|
|
splat-objs += splat-atomic.o
|
|
splat-objs += splat-list.o
|
|
splat-objs += splat-generic.o
|
|
splat-objs += splat-cred.o
|