Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jul 2005 14:36:07 GMT
From:      "Christian S.J. Peron" <csjp@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 79556 for review
Message-ID:  <200507041436.j64Ea7Vn086299@repoman.freebsd.org>

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

Change 79556 by csjp@csjp_xor on 2005/07/04 14:35:50

	Add a reminder in the code that we will have to make this code
	MPsafe with regards to VFS.

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/security/mac_chkexec/mac_chkexec.c#11 edit

Differences ...

==== //depot/projects/trustedbsd/mac/sys/security/mac_chkexec/mac_chkexec.c#11 (text+ko) ====

@@ -840,6 +840,7 @@
 		CTR0(KTR_MAC, "mac_chkexec_check: invalid checksum algorithm");
 		return (EPERM);
 	}
+	/* XXX MPSAFE VFS */
 	NDINIT(&nd, LOOKUP, LOCKLEAF | FOLLOW, UIO_USERSPACE, arg, td);
 	if ((error = namei(&nd)) != 0)
 		return (error);



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