diff options
| author | Mateusz Guzik <mjg@FreeBSD.org> | 2015-03-16 00:10:03 +0000 |
|---|---|---|
| committer | Mateusz Guzik <mjg@FreeBSD.org> | 2015-03-16 00:10:03 +0000 |
| commit | daf63fd2f9a8d0402a05c2f4c7326d96cf7b0a23 (patch) | |
| tree | d2955bf63801be88abf97941c4408cfec687393c /sys/security/mac | |
| parent | 95246f3d83c287d2ef9cfd6563a1ab3b6c0b38f6 (diff) | |
Notes
Diffstat (limited to 'sys/security/mac')
| -rw-r--r-- | sys/security/mac/mac_syscalls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/security/mac/mac_syscalls.c b/sys/security/mac/mac_syscalls.c index f084ea48a183..304d31359183 100644 --- a/sys/security/mac/mac_syscalls.c +++ b/sys/security/mac/mac_syscalls.c @@ -208,7 +208,7 @@ sys___mac_set_proc(struct thread *td, struct __mac_set_proc_args *uap) setsugid(p); crcopy(newcred, oldcred); mac_cred_relabel(newcred, intlabel); - p->p_ucred = newcred; + proc_set_cred(p, newcred); PROC_UNLOCK(p); crfree(oldcred); |
