[rtems-libbsd commit] Add SYSCTL_NODE(_security,...,_bsd,...)

Joel Sherrill joel at rtems.org
Wed Apr 4 22:56:38 UTC 2012


Module:    rtems-libbsd
Branch:    master
Commit:    c4f90c7881afc4186664c69291648ad28bbac34f
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=c4f90c7881afc4186664c69291648ad28bbac34f

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Wed Apr  4 17:57:47 2012 -0500

Add SYSCTL_NODE(_security,...,_bsd,...)

---

 rtemsbsd/src/rtems-bsd-prot.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/rtemsbsd/src/rtems-bsd-prot.c b/rtemsbsd/src/rtems-bsd-prot.c
index e77f63d..bf87c87 100644
--- a/rtemsbsd/src/rtems-bsd-prot.c
+++ b/rtemsbsd/src/rtems-bsd-prot.c
@@ -28,6 +28,7 @@
 #include <freebsd/sys/malloc.h>
 #include <freebsd/sys/ucred.h>
 #include <freebsd/sys/refcount.h>
+#include <freebsd/sys/sysctl.h>
 
 static MALLOC_DEFINE(M_CRED, "cred", "credentials");
 
@@ -238,3 +239,4 @@ crsetgroups(struct ucred *cr, int ngrp, gid_t *groups)
 	crsetgroups_locked(cr, ngrp, groups);
 }
 
+SYSCTL_NODE(_security, OID_AUTO, bsd, CTLFLAG_RW, 0, "BSD security policy");




More information about the vc mailing list