PERFORCE change 87034 for review

Todd Miller millert at FreeBSD.org
Mon Nov 21 11:17:15 PST 2005


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

Change 87034 by millert at millert_ibook on 2005/11/21 19:16:24

	Pull in a fix from DSEP (wsalamon).  The mac_check_fcntl() 
	function takes a pointer to the file struct, not the filedesc
	struct, as its second parameter.

Affected files ...

.. //depot/projects/trustedbsd/sedarwin7/src/darwin/xnu/bsd/kern/kern_descrip.c#4 edit

Differences ...

==== //depot/projects/trustedbsd/sedarwin7/src/darwin/xnu/bsd/kern/kern_descrip.c#4 (text+ko) ====

@@ -262,7 +262,7 @@
 	pop = &fdp->fd_ofileflags[fd];
 
 #ifdef MAC
-	error = mac_check_fcntl(p->p_ucred, fdp, uap->cmd, uap->arg);
+	error = mac_check_fcntl(p->p_ucred, fp, uap->cmd, uap->arg);
 	if (error)
 		return (error);
 #endif 


More information about the p4-projects mailing list