summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2008-10-28 08:50:09 +0000
committerrwatson <rwatson@FreeBSD.org>2008-10-28 08:50:09 +0000
commit14f91d091bbcbec2efd73d33301bf8b346a6b59a (patch)
tree2d8fd44f0b45be3074234e94bb9a9d02cdc5baad
parent2521297ed1e6809bd4caea23741050ea8b8a22a8 (diff)
downloadFreeBSD-src-14f91d091bbcbec2efd73d33301bf8b346a6b59a.zip
FreeBSD-src-14f91d091bbcbec2efd73d33301bf8b346a6b59a.tar.gz
Improve alphabetical sort order of stub entry points.
-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