summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_prot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_prot.c b/sys/kern/kern_prot.c
index 0f0fc40..d6ecb3f 100644
--- a/sys/kern/kern_prot.c
+++ b/sys/kern/kern_prot.c
@@ -1804,7 +1804,7 @@ crcopy(struct ucred *dest, struct ucred *src)
if (jailed(dest))
prison_hold(dest->cr_prison);
#ifdef MAC
- mac_create_cred(src, dest);
+ mac_copy_cred(src, dest);
#endif
}
OpenPOWER on IntegriCloud