summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_prot.c
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-01-14 09:33:16 -0200
committerRenato Botelho <renato@netgate.com>2016-01-14 09:33:16 -0200
commit58b7eab7d39d983cc70f6f1d611f00470a76fca1 (patch)
treebb36653da0e7ff3eb5ec994f6923513a77973ba0 /sys/kern/kern_prot.c
parent3e0bf52f358eb969d165c4b1e54942ee94cf2c8d (diff)
parente9becf4ed022809a585e21a1d3da8a3a233ff648 (diff)
downloadFreeBSD-src-58b7eab7d39d983cc70f6f1d611f00470a76fca1.zip
FreeBSD-src-58b7eab7d39d983cc70f6f1d611f00470a76fca1.tar.gz
Merge remote-tracking branch 'origin/stable/10' into devel
Diffstat (limited to 'sys/kern/kern_prot.c')
-rw-r--r--sys/kern/kern_prot.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/kern_prot.c b/sys/kern/kern_prot.c
index 9b97be4..03b9001 100644
--- a/sys/kern/kern_prot.c
+++ b/sys/kern/kern_prot.c
@@ -88,7 +88,6 @@ static MALLOC_DEFINE(M_CRED, "cred", "credentials");
SYSCTL_NODE(_security, OID_AUTO, bsd, CTLFLAG_RW, 0, "BSD security policy");
-static void crextend(struct ucred *cr, int n);
static void crsetgroups_locked(struct ucred *cr, int ngrp,
gid_t *groups);
@@ -1981,7 +1980,7 @@ crcopysafe(struct proc *p, struct ucred *cr)
/*
* Extend the passed in credential to hold n items.
*/
-static void
+void
crextend(struct ucred *cr, int n)
{
int cnt;
OpenPOWER on IntegriCloud