mac_test.c (116701) | mac_test.c (117247) |
---|---|
1/*- 2 * Copyright (c) 1999, 2000, 2001, 2002 Robert N. M. Watson 3 * Copyright (c) 2001, 2002 Networks Associates Technology, Inc. 4 * All rights reserved. 5 * 6 * This software was developed by Robert Watson for the TrustedBSD Project. 7 * 8 * This software was developed for the FreeBSD Project in part by Network --- 17 unchanged lines hidden (view full) --- 26 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * | 1/*- 2 * Copyright (c) 1999, 2000, 2001, 2002 Robert N. M. Watson 3 * Copyright (c) 2001, 2002 Networks Associates Technology, Inc. 4 * All rights reserved. 5 * 6 * This software was developed by Robert Watson for the TrustedBSD Project. 7 * 8 * This software was developed for the FreeBSD Project in part by Network --- 17 unchanged lines hidden (view full) --- 26 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * |
34 * $FreeBSD: head/sys/security/mac_test/mac_test.c 116701 2003-06-23 01:26:34Z rwatson $ | 34 * $FreeBSD: head/sys/security/mac_test/mac_test.c 117247 2003-07-05 01:24:36Z rwatson $ |
35 */ 36 37/* 38 * Developed by the TrustedBSD Project. 39 * Generic mandatory access module that does nothing. 40 */ 41 42#include <sys/types.h> --- 1165 unchanged lines hidden (view full) --- 1208 struct label *dlabel, struct vnode *vp, struct label *label, 1209 struct componentname *cnp) 1210{ 1211 1212 return (0); 1213} 1214 1215static int | 35 */ 36 37/* 38 * Developed by the TrustedBSD Project. 39 * Generic mandatory access module that does nothing. 40 */ 41 42#include <sys/types.h> --- 1165 unchanged lines hidden (view full) --- 1208 struct label *dlabel, struct vnode *vp, struct label *label, 1209 struct componentname *cnp) 1210{ 1211 1212 return (0); 1213} 1214 1215static int |
1216mac_test_check_vnode_lookup(struct ucred *cred, struct vnode *dvp, | 1216mac_test_check_vnode_lookup(struct ucred *cred, struct vnode *dvp, |
1217 struct label *dlabel, struct componentname *cnp) 1218{ 1219 1220 return (0); 1221} 1222 1223static int 1224mac_test_check_vnode_mmap(struct ucred *cred, struct vnode *vp, --- 304 unchanged lines hidden --- | 1217 struct label *dlabel, struct componentname *cnp) 1218{ 1219 1220 return (0); 1221} 1222 1223static int 1224mac_test_check_vnode_mmap(struct ucred *cred, struct vnode *vp, --- 304 unchanged lines hidden --- |