Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Oct 2008 08:50:09 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r184400 - head/sys/security/mac_stub
Message-ID:  <200810280850.m9S8o9Hr088118@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)
 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810280850.m9S8o9Hr088118>