summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2012-04-04 17:57:47 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2012-04-04 17:57:47 -0500
commitc4f90c7881afc4186664c69291648ad28bbac34f (patch)
tree74fb886a12950923a5c02353d37f2ea22c6003e6
parentAdd _ALIGN macro based on one in libmisc/shell/fts.c (diff)
downloadrtems-libbsd-c4f90c7881afc4186664c69291648ad28bbac34f.tar.bz2
Add SYSCTL_NODE(_security,...,_bsd,...)
-rw-r--r--rtemsbsd/src/rtems-bsd-prot.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rtemsbsd/src/rtems-bsd-prot.c b/rtemsbsd/src/rtems-bsd-prot.c
index e77f63d6..bf87c878 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");