PERFORCE change 41475 for review

Andrew Reisse areisse at FreeBSD.org
Wed Nov 5 21:15:01 GMT 2003


http://perforce.freebsd.org/chv.cgi?CH=41475

Change 41475 by areisse at areisse_ibook on 2003/11/05 13:14:40

	setgroups didn't copy creds properly

Affected files ...

.. //depot/projects/trustedbsd/sedarwin/apsl/xnu/bsd/kern/kern_prot.c#6 edit

Differences ...

==== //depot/projects/trustedbsd/sedarwin/apsl/xnu/bsd/kern/kern_prot.c#6 (text+ko) ====

@@ -506,6 +506,9 @@
 	pcred_writelock(p);
 	old = pc->pc_ucred;
 	new->cr_uid = old->cr_uid;
+#ifdef MAC
+	mac_create_cred (old, new);
+#endif
 	pc->pc_ucred = new;
 	pcred_unlock(p);
 	set_security_token(p);
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list