Page MenuHomeFreeBSD

D52278.1794791570.diff
No OneTemporary

Authored By
Unknown
Size
411 B
Referenced Files
None
Subscribers
None

D52278.1794791570.diff

diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c
--- a/sys/compat/linux/linux_misc.c
+++ b/sys/compat/linux/linux_misc.c
@@ -1045,8 +1045,7 @@
crextend(newcred, ngrp);
p = td->td_proc;
PROC_LOCK(p);
- oldcred = p->p_ucred;
- crcopy(newcred, oldcred);
+ oldcred = crcopysafe(p, newcred);
if ((error = priv_check_cred(oldcred, PRIV_CRED_SETGROUPS)) != 0) {
PROC_UNLOCK(p);

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 16, 1:12 AM (19 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41753463
Default Alt Text
D52278.1794791570.diff (411 B)

Event Timeline