mac_framework.h (106788) | mac_framework.h (107089) |
---|---|
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/mac_framework.h 106788 2002-11-12 04:20:36Z rwatson $ | 34 * $FreeBSD: head/sys/security/mac/mac_framework.h 107089 2002-11-19 22:12:42Z rwatson $ |
35 */ 36/* 37 * Userland/kernel interface for Mandatory Access Control. 38 * 39 * The POSIX.1e implementation page may be reached at: 40 * http://www.trustedbsd.org/ 41 */ 42#ifndef _SYS_MAC_H --- 189 unchanged lines hidden (view full) --- 232/* Access control checks. */ 233int mac_check_bpfdesc_receive(struct bpf_d *bpf_d, struct ifnet *ifnet); 234int mac_check_cred_visible(struct ucred *u1, struct ucred *u2); 235int mac_check_ifnet_transmit(struct ifnet *ifnet, struct mbuf *m); 236int mac_check_kenv_dump(struct ucred *cred); 237int mac_check_kenv_get(struct ucred *cred, char *name); 238int mac_check_kenv_set(struct ucred *cred, char *name, char *value); 239int mac_check_kenv_unset(struct ucred *cred, char *name); | 35 */ 36/* 37 * Userland/kernel interface for Mandatory Access Control. 38 * 39 * The POSIX.1e implementation page may be reached at: 40 * http://www.trustedbsd.org/ 41 */ 42#ifndef _SYS_MAC_H --- 189 unchanged lines hidden (view full) --- 232/* Access control checks. */ 233int mac_check_bpfdesc_receive(struct bpf_d *bpf_d, struct ifnet *ifnet); 234int mac_check_cred_visible(struct ucred *u1, struct ucred *u2); 235int mac_check_ifnet_transmit(struct ifnet *ifnet, struct mbuf *m); 236int mac_check_kenv_dump(struct ucred *cred); 237int mac_check_kenv_get(struct ucred *cred, char *name); 238int mac_check_kenv_set(struct ucred *cred, char *name, char *value); 239int mac_check_kenv_unset(struct ucred *cred, char *name); |
240int mac_check_kld_load(struct ucred *cred, struct vnode *vp); 241int mac_check_kld_stat(struct ucred *cred); 242int mac_check_kld_unload(struct ucred *cred); |
|
240int mac_check_mount_stat(struct ucred *cred, struct mount *mp); 241int mac_check_pipe_ioctl(struct ucred *cred, struct pipe *pipe, 242 unsigned long cmd, void *data); 243int mac_check_pipe_poll(struct ucred *cred, struct pipe *pipe); 244int mac_check_pipe_read(struct ucred *cred, struct pipe *pipe); 245int mac_check_pipe_stat(struct ucred *cred, struct pipe *pipe); 246int mac_check_pipe_write(struct ucred *cred, struct pipe *pipe); 247int mac_check_proc_debug(struct ucred *cred, struct proc *proc); --- 95 unchanged lines hidden --- | 243int mac_check_mount_stat(struct ucred *cred, struct mount *mp); 244int mac_check_pipe_ioctl(struct ucred *cred, struct pipe *pipe, 245 unsigned long cmd, void *data); 246int mac_check_pipe_poll(struct ucred *cred, struct pipe *pipe); 247int mac_check_pipe_read(struct ucred *cred, struct pipe *pipe); 248int mac_check_pipe_stat(struct ucred *cred, struct pipe *pipe); 249int mac_check_pipe_write(struct ucred *cred, struct pipe *pipe); 250int mac_check_proc_debug(struct ucred *cred, struct proc *proc); --- 95 unchanged lines hidden --- |