summaryrefslogtreecommitdiff
path: root/sys/kern/kern_prot.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2003-12-06 21:48:03 +0000
committerRobert Watson <rwatson@FreeBSD.org>2003-12-06 21:48:03 +0000
commit56d9e932072f81ebaa7bb1bf5995a46813bc91c4 (patch)
tree80bf1fc6acf72a565465aa4b66b0dba3b2b80af2 /sys/kern/kern_prot.c
parent302e8edbe896cca55f36187a0a551b1f4a89103b (diff)
Notes
Diffstat (limited to 'sys/kern/kern_prot.c')
-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 0f0fc40903a9..d6ecb3f971ab 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
}