PERFORCE change 87034 for review
Todd Miller
millert at FreeBSD.org
Mon Nov 21 19:17:10 GMT 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
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