svn commit: r184400 - head/sys/security/mac_stub
Robert Watson
rwatson at FreeBSD.org
Tue Oct 28 01:50:11 PDT 2008
Author: rwatson
Date: Tue Oct 28 08:50:09 2008
New Revision: 184400
URL: http://svn.freebsd.org/changeset/base/184400
Log:
Improve alphabetical sort order of stub entry points.
Modified:
head/sys/security/mac_stub/mac_stub.c
Modified: head/sys/security/mac_stub/mac_stub.c
==============================================================================
--- head/sys/security/mac_stub/mac_stub.c Tue Oct 28 08:41:25 2008 (r184399)
+++ head/sys/security/mac_stub/mac_stub.c Tue Oct 28 08:50:09 2008 (r184400)
@@ -1020,38 +1020,6 @@ stub_system_check_sysctl(struct ucred *c
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
}
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)
{
More information about the svn-src-head
mailing list