mac_framework.c (162467) | mac_framework.c (163606) |
---|---|
1/*- 2 * Copyright (c) 1999-2002 Robert N. M. Watson 3 * Copyright (c) 2001 Ilmar S. Habibulin 4 * Copyright (c) 2001-2005 Networks Associates Technology, Inc. | 1/*- 2 * Copyright (c) 1999-2002 Robert N. M. Watson 3 * Copyright (c) 2001 Ilmar S. Habibulin 4 * Copyright (c) 2001-2005 Networks Associates Technology, Inc. |
5 * Copyright (c) 2005 SPARTA, Inc. | 5 * Copyright (c) 2005-2006 SPARTA, Inc. |
6 * All rights reserved. 7 * 8 * This software was developed by Robert Watson and Ilmar Habibulin for the 9 * TrustedBSD Project. 10 * 11 * This software was developed for the FreeBSD Project in part by Network 12 * Associates Laboratories, the Security Research Division of Network 13 * Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), --- 28 unchanged lines hidden (view full) --- 42 * Framework for extensible kernel access control. This file contains 43 * Kernel and userland interface to the framework, policy registration 44 * and composition. Per-object interfaces, controls, and labeling may be 45 * found in src/sys/security/mac/. Sample policies may be found in 46 * src/sys/security/mac_*. 47 */ 48 49#include <sys/cdefs.h> | 6 * All rights reserved. 7 * 8 * This software was developed by Robert Watson and Ilmar Habibulin for the 9 * TrustedBSD Project. 10 * 11 * This software was developed for the FreeBSD Project in part by Network 12 * Associates Laboratories, the Security Research Division of Network 13 * Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), --- 28 unchanged lines hidden (view full) --- 42 * Framework for extensible kernel access control. This file contains 43 * Kernel and userland interface to the framework, policy registration 44 * and composition. Per-object interfaces, controls, and labeling may be 45 * found in src/sys/security/mac/. Sample policies may be found in 46 * src/sys/security/mac_*. 47 */ 48 49#include <sys/cdefs.h> |
50__FBSDID("$FreeBSD: head/sys/security/mac/mac_framework.c 162467 2006-09-20 13:33:41Z rwatson $"); | 50__FBSDID("$FreeBSD: head/sys/security/mac/mac_framework.c 163606 2006-10-22 11:52:19Z rwatson $"); |
51 52#include "opt_mac.h" 53 54#include <sys/param.h> 55#include <sys/condvar.h> 56#include <sys/extattr.h> 57#include <sys/imgact.h> 58#include <sys/kernel.h> --- 27 unchanged lines hidden (view full) --- 86 87#include <net/bpfdesc.h> 88#include <net/if.h> 89#include <net/if_var.h> 90 91#include <netinet/in.h> 92#include <netinet/ip_var.h> 93 | 51 52#include "opt_mac.h" 53 54#include <sys/param.h> 55#include <sys/condvar.h> 56#include <sys/extattr.h> 57#include <sys/imgact.h> 58#include <sys/kernel.h> --- 27 unchanged lines hidden (view full) --- 86 87#include <net/bpfdesc.h> 88#include <net/if.h> 89#include <net/if_var.h> 90 91#include <netinet/in.h> 92#include <netinet/ip_var.h> 93 |
94#include <security/mac/mac_framework.h> |
|
94#include <security/mac/mac_internal.h> 95 96#ifdef MAC 97 98/* 99 * Declare that the kernel provides MAC support, version 1. This permits 100 * modules to refuse to be loaded if the necessary support isn't present, 101 * even if it's pre-boot. --- 1141 unchanged lines hidden --- | 95#include <security/mac/mac_internal.h> 96 97#ifdef MAC 98 99/* 100 * Declare that the kernel provides MAC support, version 1. This permits 101 * modules to refuse to be loaded if the necessary support isn't present, 102 * even if it's pre-boot. --- 1141 unchanged lines hidden --- |