mac_policy.h (104533) | mac_policy.h (104541) |
---|---|
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 NAI Labs, --- 20 unchanged lines hidden (view full) --- 29 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 31 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 35 * SUCH DAMAGE. 36 * | 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 NAI Labs, --- 20 unchanged lines hidden (view full) --- 29 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 31 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 35 * SUCH DAMAGE. 36 * |
37 * $FreeBSD: head/sys/security/mac/mac_policy.h 104533 2002-10-05 18:40:10Z rwatson $ | 37 * $FreeBSD: head/sys/security/mac/mac_policy.h 104541 2002-10-05 21:23:47Z rwatson $ |
38 */ 39/* 40 * Kernel interface for MAC policy modules. 41 */ 42#ifndef _SYS_MAC_POLICY_H 43#define _SYS_MAC_POLICY_H 44 45/*- --- 29 unchanged lines hidden (view full) --- 75 void (*mpo_init_bpfdesc_label)(struct label *label); 76 void (*mpo_init_cred_label)(struct label *label); 77 void (*mpo_init_devfsdirent_label)(struct label *label); 78 void (*mpo_init_ifnet_label)(struct label *label); 79 void (*mpo_init_ipq_label)(struct label *label); 80 int (*mpo_init_mbuf_label)(struct label *label, int flag); 81 void (*mpo_init_mount_label)(struct label *label); 82 void (*mpo_init_mount_fs_label)(struct label *label); | 38 */ 39/* 40 * Kernel interface for MAC policy modules. 41 */ 42#ifndef _SYS_MAC_POLICY_H 43#define _SYS_MAC_POLICY_H 44 45/*- --- 29 unchanged lines hidden (view full) --- 75 void (*mpo_init_bpfdesc_label)(struct label *label); 76 void (*mpo_init_cred_label)(struct label *label); 77 void (*mpo_init_devfsdirent_label)(struct label *label); 78 void (*mpo_init_ifnet_label)(struct label *label); 79 void (*mpo_init_ipq_label)(struct label *label); 80 int (*mpo_init_mbuf_label)(struct label *label, int flag); 81 void (*mpo_init_mount_label)(struct label *label); 82 void (*mpo_init_mount_fs_label)(struct label *label); |
83 void (*mpo_init_socket_label)(struct label *label); 84 void (*mpo_init_socket_peer_label)(struct label *label); | 83 int (*mpo_init_socket_label)(struct label *label, int flag); 84 int (*mpo_init_socket_peer_label)(struct label *label, int flag); |
85 void (*mpo_init_pipe_label)(struct label *label); 86 void (*mpo_init_temp_label)(struct label *label); 87 void (*mpo_init_vnode_label)(struct label *label); 88 void (*mpo_destroy_bpfdesc_label)(struct label *label); 89 void (*mpo_destroy_cred_label)(struct label *label); 90 void (*mpo_destroy_devfsdirent_label)(struct label *label); 91 void (*mpo_destroy_ifnet_label)(struct label *label); 92 void (*mpo_destroy_ipq_label)(struct label *label); --- 440 unchanged lines hidden --- | 85 void (*mpo_init_pipe_label)(struct label *label); 86 void (*mpo_init_temp_label)(struct label *label); 87 void (*mpo_init_vnode_label)(struct label *label); 88 void (*mpo_destroy_bpfdesc_label)(struct label *label); 89 void (*mpo_destroy_cred_label)(struct label *label); 90 void (*mpo_destroy_devfsdirent_label)(struct label *label); 91 void (*mpo_destroy_ifnet_label)(struct label *label); 92 void (*mpo_destroy_ipq_label)(struct label *label); --- 440 unchanged lines hidden --- |