aboutsummaryrefslogtreecommitdiff
path: root/sys/security/mac_none
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2002-10-05 18:56:25 +0000
committerRobert Watson <rwatson@FreeBSD.org>2002-10-05 18:56:25 +0000
commiteea8ea3108e14d0141e405192e1260813f90ae5a (patch)
tree52c5772e15b452e1932db38f0b0047c8e892514e /sys/security/mac_none
parent5f79a2e33aadf804d000a538be607b86ee206bd7 (diff)
Notes
Diffstat (limited to 'sys/security/mac_none')
-rw-r--r--sys/security/mac_none/mac_none.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/security/mac_none/mac_none.c b/sys/security/mac_none/mac_none.c
index 4bda24ebab31..3029e03c5217 100644
--- a/sys/security/mac_none/mac_none.c
+++ b/sys/security/mac_none/mac_none.c
@@ -153,6 +153,13 @@ mac_none_create_devfs_device(dev_t dev, struct devfs_dirent *devfs_dirent,
}
static void
+mac_none_create_devfs_symlink(struct ucred *cred, struct devfs_dirent *dd,
+ struct label *ddlabel, struct devfs_dirent *de, struct label *delabel)
+{
+
+}
+
+static void
mac_none_create_devfs_directory(char *dirname, int dirnamelen,
struct devfs_dirent *devfs_dirent, struct label *label)
{
@@ -892,6 +899,8 @@ static struct mac_policy_op_entry mac_none_ops[] =
(macop_t)mac_none_create_devfs_device },
{ MAC_CREATE_DEVFS_DIRECTORY,
(macop_t)mac_none_create_devfs_directory },
+ { MAC_CREATE_DEVFS_SYMLINK,
+ (macop_t)mac_none_create_devfs_symlink },
{ MAC_CREATE_DEVFS_VNODE,
(macop_t)mac_none_create_devfs_vnode },
{ MAC_CREATE_VNODE,