Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Nov 2005 19:17:10 GMT
From:      Todd Miller <millert@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 87034 for review
Message-ID:  <200511211917.jALJHAKw066374@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=87034

Change 87034 by millert@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 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511211917.jALJHAKw066374>