dee93f2c52
kernel access control. Modify pseudofs so that it can support synthetic file systems with the multilabel flag set. In particular, implement vop_refreshlabel() as pn_refreshlabel(). Implement pfs_refreshlabel() to invoke this, and have it fall back to the mount label if the file system does not implement pn_refreshlabel() for the node. Otherwise, permit the file system to determine how the service is provided. Approved by: des Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
27 lines
398 B
Makefile
27 lines
398 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../fs/pseudofs
|
|
|
|
KMOD= pseudofs
|
|
SRCS= opt_mac.h \
|
|
vnode_if.h \
|
|
pseudofs.c \
|
|
pseudofs_fileno.c \
|
|
pseudofs_vncache.c \
|
|
pseudofs_vnops.c
|
|
|
|
EXPORT_SYMS= pfs_mount \
|
|
pfs_unmount \
|
|
pfs_root \
|
|
pfs_statfs \
|
|
pfs_init \
|
|
pfs_uninit \
|
|
pfs_create_dir \
|
|
pfs_create_file \
|
|
pfs_create_link \
|
|
pfs_disable \
|
|
pfs_enable \
|
|
pfs_destroy
|
|
|
|
.include <bsd.kmod.mk>
|