summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/security/mac_stub/mac_stub.c64
1 files changed, 32 insertions, 32 deletions
diff --git a/sys/security/mac_stub/mac_stub.c b/sys/security/mac_stub/mac_stub.c
index 3c305fd..cc38e57 100644
--- a/sys/security/mac_stub/mac_stub.c
+++ b/sys/security/mac_stub/mac_stub.c
@@ -1020,38 +1020,6 @@ stub_system_check_sysctl(struct ucred *cred, struct sysctl_oid *oidp,
return (0);
}
-static int
-stub_vnode_check_access(struct ucred *cred, struct vnode *vp,
- struct label *vplabel, int acc_mode)
-{
-
- return (0);
-}
-
-static int
-stub_vnode_check_chdir(struct ucred *cred, struct vnode *dvp,
- struct label *dvplabel)
-{
-
- return (0);
-}
-
-static int
-stub_vnode_check_chroot(struct ucred *cred, struct vnode *dvp,
- struct label *dvplabel)
-{
-
- return (0);
-}
-
-static int
-stub_vnode_check_create(struct ucred *cred, struct vnode *dvp,
- struct label *dvplabel, struct componentname *cnp, struct vattr *vap)
-{
-
- return (0);
-}
-
static void
stub_sysvmsg_cleanup(struct label *msglabel)
{
@@ -1246,6 +1214,38 @@ stub_vnode_associate_singlelabel(struct mount *mp, struct label *mplabel,
}
static int
+stub_vnode_check_access(struct ucred *cred, struct vnode *vp,
+ struct label *vplabel, int acc_mode)
+{
+
+ return (0);
+}
+
+static int
+stub_vnode_check_chdir(struct ucred *cred, struct vnode *dvp,
+ struct label *dvplabel)
+{
+
+ return (0);
+}
+
+static int
+stub_vnode_check_chroot(struct ucred *cred, struct vnode *dvp,
+ struct label *dvplabel)
+{
+
+ return (0);
+}
+
+static int
+stub_vnode_check_create(struct ucred *cred, struct vnode *dvp,
+ struct label *dvplabel, struct componentname *cnp, struct vattr *vap)
+{
+
+ return (0);
+}
+
+static int
stub_vnode_check_deleteacl(struct ucred *cred, struct vnode *vp,
struct label *vplabel, acl_type_t type)
{
OpenPOWER on IntegriCloud