mac_framework.h (104533) | mac_framework.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_framework.h 104533 2002-10-05 18:40:10Z rwatson $ | 37 * $FreeBSD: head/sys/security/mac/mac_framework.h 104541 2002-10-05 21:23:47Z rwatson $ |
38 */ 39/* 40 * Userland/kernel interface for Mandatory Access Control. 41 * 42 * The POSIX.1e implementation page may be reached at: 43 * http://www.trustedbsd.org/ 44 */ 45#ifndef _SYS_MAC_H --- 169 unchanged lines hidden (view full) --- 215/* 216 * Label operations. 217 */ 218void mac_init_bpfdesc(struct bpf_d *); 219void mac_init_cred(struct ucred *); 220void mac_init_devfsdirent(struct devfs_dirent *); 221void mac_init_ifnet(struct ifnet *); 222void mac_init_ipq(struct ipq *); | 38 */ 39/* 40 * Userland/kernel interface for Mandatory Access Control. 41 * 42 * The POSIX.1e implementation page may be reached at: 43 * http://www.trustedbsd.org/ 44 */ 45#ifndef _SYS_MAC_H --- 169 unchanged lines hidden (view full) --- 215/* 216 * Label operations. 217 */ 218void mac_init_bpfdesc(struct bpf_d *); 219void mac_init_cred(struct ucred *); 220void mac_init_devfsdirent(struct devfs_dirent *); 221void mac_init_ifnet(struct ifnet *); 222void mac_init_ipq(struct ipq *); |
223void mac_init_socket(struct socket *); | 223int mac_init_socket(struct socket *, int flag); |
224void mac_init_pipe(struct pipe *); | 224void mac_init_pipe(struct pipe *); |
225int mac_init_mbuf(struct mbuf *m, int how); | 225int mac_init_mbuf(struct mbuf *m, int flag); |
226void mac_init_mount(struct mount *); 227void mac_init_vnode(struct vnode *); 228void mac_destroy_bpfdesc(struct bpf_d *); 229void mac_destroy_cred(struct ucred *); 230void mac_destroy_devfsdirent(struct devfs_dirent *); 231void mac_destroy_ifnet(struct ifnet *); 232void mac_destroy_ipq(struct ipq *); 233void mac_destroy_socket(struct socket *); --- 165 unchanged lines hidden --- | 226void mac_init_mount(struct mount *); 227void mac_init_vnode(struct vnode *); 228void mac_destroy_bpfdesc(struct bpf_d *); 229void mac_destroy_cred(struct ucred *); 230void mac_destroy_devfsdirent(struct devfs_dirent *); 231void mac_destroy_ifnet(struct ifnet *); 232void mac_destroy_ipq(struct ipq *); 233void mac_destroy_socket(struct socket *); --- 165 unchanged lines hidden --- |