mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-27 03:19:35 +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.
27 lines
563 B
Makefile
27 lines
563 B
Makefile
# Makefile.in for spl kernel module
|
|
|
|
MODULES := spl
|
|
EXTRA_CFLAGS = @KERNELCPPFLAGS@
|
|
|
|
# Solaris porting layer module
|
|
obj-m := spl.o
|
|
|
|
spl-objs += spl-debug.o
|
|
spl-objs += spl-proc.o
|
|
spl-objs += spl-kmem.o
|
|
spl-objs += spl-thread.o
|
|
spl-objs += spl-taskq.o
|
|
spl-objs += spl-rwlock.o
|
|
spl-objs += spl-vnode.o
|
|
spl-objs += spl-err.o
|
|
spl-objs += spl-time.o
|
|
spl-objs += spl-kobj.o
|
|
spl-objs += spl-module.o
|
|
spl-objs += spl-generic.o
|
|
spl-objs += spl-atomic.o
|
|
spl-objs += spl-mutex.o
|
|
spl-objs += spl-kstat.o
|
|
spl-objs += spl-condvar.o
|
|
spl-objs += spl-xdr.o
|
|
spl-objs += spl-cred.o
|