mac_test.c (145855) | mac_test.c (147091) |
---|---|
1/*- 2 * Copyright (c) 1999-2002 Robert N. M. Watson 3 * Copyright (c) 2001-2005 McAfee, 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 McAfee --- 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-2002 Robert N. M. Watson 3 * Copyright (c) 2001-2005 McAfee, 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 McAfee --- 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 145855 2005-05-04 10:39:15Z rwatson $ | 34 * $FreeBSD: head/sys/security/mac_test/mac_test.c 147091 2005-06-07 05:03:28Z 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> --- 118 unchanged lines hidden (view full) --- 161SYSCTL_INT(_security_mac_test, OID_AUTO, init_count_inpcb, CTLFLAG_RD, 162 &init_count_inpcb, 0, "inpcb init calls"); 163static int init_count_sysv_msg; 164SYSCTL_INT(_security_mac_test, OID_AUTO, init_count_sysv_msg, CTLFLAG_RD, 165 &init_count_sysv_msg, 0, "ipc_msg init calls"); 166static int init_count_sysv_msq; 167SYSCTL_INT(_security_mac_test, OID_AUTO, init_count_sysv_msq, CTLFLAG_RD, 168 &init_count_sysv_msq, 0, "ipc_msq init calls"); | 35 */ 36 37/* 38 * Developed by the TrustedBSD Project. 39 * Generic mandatory access module that does nothing. 40 */ 41 42#include <sys/types.h> --- 118 unchanged lines hidden (view full) --- 161SYSCTL_INT(_security_mac_test, OID_AUTO, init_count_inpcb, CTLFLAG_RD, 162 &init_count_inpcb, 0, "inpcb init calls"); 163static int init_count_sysv_msg; 164SYSCTL_INT(_security_mac_test, OID_AUTO, init_count_sysv_msg, CTLFLAG_RD, 165 &init_count_sysv_msg, 0, "ipc_msg init calls"); 166static int init_count_sysv_msq; 167SYSCTL_INT(_security_mac_test, OID_AUTO, init_count_sysv_msq, CTLFLAG_RD, 168 &init_count_sysv_msq, 0, "ipc_msq init calls"); |
169static int init_count_sysv_sema; 170SYSCTL_INT(_security_mac_test, OID_AUTO, init_count_sysv_sema, CTLFLAG_RD, 171 &init_count_sysv_sema, 0, "ipc_sema init calls"); | 169static int init_count_sysv_sem; 170SYSCTL_INT(_security_mac_test, OID_AUTO, init_count_sysv_sem, CTLFLAG_RD, 171 &init_count_sysv_sem, 0, "ipc_sema init calls"); |
172static int init_count_sysv_shm; 173SYSCTL_INT(_security_mac_test, OID_AUTO, init_count_sysv_shm, CTLFLAG_RD, 174 &init_count_sysv_shm, 0, "ipc_shm init calls"); 175static int init_count_ipq; 176SYSCTL_INT(_security_mac_test, OID_AUTO, init_count_ipq, CTLFLAG_RD, 177 &init_count_ipq, 0, "ipq init calls"); 178static int init_count_mbuf; 179SYSCTL_INT(_security_mac_test, OID_AUTO, init_count_mbuf, CTLFLAG_RD, --- 40 unchanged lines hidden (view full) --- 220SYSCTL_INT(_security_mac_test, OID_AUTO, destroy_count_inpcb, CTLFLAG_RD, 221 &destroy_count_inpcb, 0, "inpcb destroy calls"); 222static int destroy_count_sysv_msg; 223SYSCTL_INT(_security_mac_test, OID_AUTO, destroy_count_sysv_msg, CTLFLAG_RD, 224 &destroy_count_sysv_msg, 0, "ipc_msg destroy calls"); 225static int destroy_count_sysv_msq; 226SYSCTL_INT(_security_mac_test, OID_AUTO, destroy_count_sysv_msq, CTLFLAG_RD, 227 &destroy_count_sysv_msq, 0, "ipc_msq destroy calls"); | 172static int init_count_sysv_shm; 173SYSCTL_INT(_security_mac_test, OID_AUTO, init_count_sysv_shm, CTLFLAG_RD, 174 &init_count_sysv_shm, 0, "ipc_shm init calls"); 175static int init_count_ipq; 176SYSCTL_INT(_security_mac_test, OID_AUTO, init_count_ipq, CTLFLAG_RD, 177 &init_count_ipq, 0, "ipq init calls"); 178static int init_count_mbuf; 179SYSCTL_INT(_security_mac_test, OID_AUTO, init_count_mbuf, CTLFLAG_RD, --- 40 unchanged lines hidden (view full) --- 220SYSCTL_INT(_security_mac_test, OID_AUTO, destroy_count_inpcb, CTLFLAG_RD, 221 &destroy_count_inpcb, 0, "inpcb destroy calls"); 222static int destroy_count_sysv_msg; 223SYSCTL_INT(_security_mac_test, OID_AUTO, destroy_count_sysv_msg, CTLFLAG_RD, 224 &destroy_count_sysv_msg, 0, "ipc_msg destroy calls"); 225static int destroy_count_sysv_msq; 226SYSCTL_INT(_security_mac_test, OID_AUTO, destroy_count_sysv_msq, CTLFLAG_RD, 227 &destroy_count_sysv_msq, 0, "ipc_msq destroy calls"); |
228static int destroy_count_sysv_sema; 229SYSCTL_INT(_security_mac_test, OID_AUTO, destroy_count_sysv_sema, CTLFLAG_RD, 230 &destroy_count_sysv_sema, 0, "ipc_sema destroy calls"); | 228static int destroy_count_sysv_sem; 229SYSCTL_INT(_security_mac_test, OID_AUTO, destroy_count_sysv_sem, CTLFLAG_RD, 230 &destroy_count_sysv_sem, 0, "ipc_sema destroy calls"); |
231static int destroy_count_sysv_shm; 232SYSCTL_INT(_security_mac_test, OID_AUTO, destroy_count_sysv_shm, CTLFLAG_RD, 233 &destroy_count_sysv_shm, 0, "ipc_shm destroy calls"); 234static int destroy_count_ipq; 235SYSCTL_INT(_security_mac_test, OID_AUTO, destroy_count_ipq, CTLFLAG_RD, 236 &destroy_count_ipq, 0, "ipq destroy calls"); 237static int destroy_count_mbuf; 238SYSCTL_INT(_security_mac_test, OID_AUTO, destroy_count_mbuf, CTLFLAG_RD, --- 119 unchanged lines hidden (view full) --- 358static void 359mac_test_init_sysv_msgqueue_label(struct label *label) 360{ 361 SLOT(label) = SYSVIPCMSQMAGIC; 362 atomic_add_int(&init_count_sysv_msq, 1); 363} 364 365static void | 231static int destroy_count_sysv_shm; 232SYSCTL_INT(_security_mac_test, OID_AUTO, destroy_count_sysv_shm, CTLFLAG_RD, 233 &destroy_count_sysv_shm, 0, "ipc_shm destroy calls"); 234static int destroy_count_ipq; 235SYSCTL_INT(_security_mac_test, OID_AUTO, destroy_count_ipq, CTLFLAG_RD, 236 &destroy_count_ipq, 0, "ipq destroy calls"); 237static int destroy_count_mbuf; 238SYSCTL_INT(_security_mac_test, OID_AUTO, destroy_count_mbuf, CTLFLAG_RD, --- 119 unchanged lines hidden (view full) --- 358static void 359mac_test_init_sysv_msgqueue_label(struct label *label) 360{ 361 SLOT(label) = SYSVIPCMSQMAGIC; 362 atomic_add_int(&init_count_sysv_msq, 1); 363} 364 365static void |
366mac_test_init_sysv_sema_label(struct label *label) | 366mac_test_init_sysv_sem_label(struct label *label) |
367{ 368 SLOT(label) = SYSVIPCSEMMAGIC; | 367{ 368 SLOT(label) = SYSVIPCSEMMAGIC; |
369 atomic_add_int(&init_count_sysv_sema, 1); | 369 atomic_add_int(&init_count_sysv_sem, 1); |
370} 371 372static void 373mac_test_init_sysv_shm_label(struct label *label) 374{ 375 SLOT(label) = SYSVIPCSHMMAGIC; 376 atomic_add_int(&init_count_sysv_shm, 1); 377} --- 198 unchanged lines hidden (view full) --- 576 DEBUGGER("mac_test_destroy_sysv_msgqueue_label: dup destroy"); 577 } else { 578 DEBUGGER( 579 "mac_test_destroy_sysv_msgqueue_label: corrupted label"); 580 } 581} 582 583static void | 370} 371 372static void 373mac_test_init_sysv_shm_label(struct label *label) 374{ 375 SLOT(label) = SYSVIPCSHMMAGIC; 376 atomic_add_int(&init_count_sysv_shm, 1); 377} --- 198 unchanged lines hidden (view full) --- 576 DEBUGGER("mac_test_destroy_sysv_msgqueue_label: dup destroy"); 577 } else { 578 DEBUGGER( 579 "mac_test_destroy_sysv_msgqueue_label: corrupted label"); 580 } 581} 582 583static void |
584mac_test_destroy_sysv_sema_label(struct label *label) | 584mac_test_destroy_sysv_sem_label(struct label *label) |
585{ 586 587 if (SLOT(label) == SYSVIPCSEMMAGIC || SLOT(label) == 0) { | 585{ 586 587 if (SLOT(label) == SYSVIPCSEMMAGIC || SLOT(label) == 0) { |
588 atomic_add_int(&destroy_count_sysv_sema, 1); | 588 atomic_add_int(&destroy_count_sysv_sem, 1); |
589 SLOT(label) = EXMAGIC; 590 } else if (SLOT(label) == EXMAGIC) { | 589 SLOT(label) = EXMAGIC; 590 } else if (SLOT(label) == EXMAGIC) { |
591 DEBUGGER("mac_test_destroy_sysv_sema_label: dup destroy"); | 591 DEBUGGER("mac_test_destroy_sysv_sem_label: dup destroy"); |
592 } else { | 592 } else { |
593 DEBUGGER("mac_test_destroy_sysv_sema_label: corrupted label"); | 593 DEBUGGER("mac_test_destroy_sysv_sem_label: corrupted label"); |
594 } 595} 596 597static void 598mac_test_destroy_sysv_shm_label(struct label *label) 599{ 600 601 if (SLOT(label) == SYSVIPCSHMMAGIC || SLOT(label) == 0) { --- 499 unchanged lines hidden (view full) --- 1101mac_test_create_sysv_msgqueue(struct ucred *cred, 1102 struct msqid_kernel *msqkptr, struct label *msqlabel) 1103{ 1104 1105 ASSERT_SYSVIPCMSQ_LABEL(msqlabel); 1106} 1107 1108static void | 594 } 595} 596 597static void 598mac_test_destroy_sysv_shm_label(struct label *label) 599{ 600 601 if (SLOT(label) == SYSVIPCSHMMAGIC || SLOT(label) == 0) { --- 499 unchanged lines hidden (view full) --- 1101mac_test_create_sysv_msgqueue(struct ucred *cred, 1102 struct msqid_kernel *msqkptr, struct label *msqlabel) 1103{ 1104 1105 ASSERT_SYSVIPCMSQ_LABEL(msqlabel); 1106} 1107 1108static void |
1109mac_test_create_sysv_sema(struct ucred *cred, struct semid_kernel *semakptr, | 1109mac_test_create_sysv_sem(struct ucred *cred, struct semid_kernel *semakptr, |
1110 struct label *semalabel) 1111{ 1112 1113 ASSERT_SYSVIPCSEM_LABEL(semalabel); 1114} 1115 1116static void 1117mac_test_create_sysv_shm(struct ucred *cred, struct shmid_kernel *shmsegptr, --- 214 unchanged lines hidden (view full) --- 1332static void 1333mac_test_cleanup_sysv_msgqueue(struct label *msqlabel) 1334{ 1335 1336 ASSERT_SYSVIPCMSQ_LABEL(msqlabel); 1337} 1338 1339static void | 1110 struct label *semalabel) 1111{ 1112 1113 ASSERT_SYSVIPCSEM_LABEL(semalabel); 1114} 1115 1116static void 1117mac_test_create_sysv_shm(struct ucred *cred, struct shmid_kernel *shmsegptr, --- 214 unchanged lines hidden (view full) --- 1332static void 1333mac_test_cleanup_sysv_msgqueue(struct label *msqlabel) 1334{ 1335 1336 ASSERT_SYSVIPCMSQ_LABEL(msqlabel); 1337} 1338 1339static void |
1340mac_test_cleanup_sysv_sema(struct label *semalabel) | 1340mac_test_cleanup_sysv_sem(struct label *semalabel) |
1341{ 1342 1343 ASSERT_SYSVIPCSEM_LABEL(semalabel); 1344} 1345 1346static void 1347mac_test_cleanup_sysv_shm(struct label *shmlabel) 1348{ --- 1067 unchanged lines hidden (view full) --- 2416 .mpo_init = mac_test_init, 2417 .mpo_syscall = mac_test_syscall, 2418 .mpo_init_bpfdesc_label = mac_test_init_bpfdesc_label, 2419 .mpo_init_cred_label = mac_test_init_cred_label, 2420 .mpo_init_devfsdirent_label = mac_test_init_devfsdirent_label, 2421 .mpo_init_ifnet_label = mac_test_init_ifnet_label, 2422 .mpo_init_sysv_msgmsg_label = mac_test_init_sysv_msgmsg_label, 2423 .mpo_init_sysv_msgqueue_label = mac_test_init_sysv_msgqueue_label, | 1341{ 1342 1343 ASSERT_SYSVIPCSEM_LABEL(semalabel); 1344} 1345 1346static void 1347mac_test_cleanup_sysv_shm(struct label *shmlabel) 1348{ --- 1067 unchanged lines hidden (view full) --- 2416 .mpo_init = mac_test_init, 2417 .mpo_syscall = mac_test_syscall, 2418 .mpo_init_bpfdesc_label = mac_test_init_bpfdesc_label, 2419 .mpo_init_cred_label = mac_test_init_cred_label, 2420 .mpo_init_devfsdirent_label = mac_test_init_devfsdirent_label, 2421 .mpo_init_ifnet_label = mac_test_init_ifnet_label, 2422 .mpo_init_sysv_msgmsg_label = mac_test_init_sysv_msgmsg_label, 2423 .mpo_init_sysv_msgqueue_label = mac_test_init_sysv_msgqueue_label, |
2424 .mpo_init_sysv_sema_label = mac_test_init_sysv_sema_label, | 2424 .mpo_init_sysv_sem_label = mac_test_init_sysv_sem_label, |
2425 .mpo_init_sysv_shm_label = mac_test_init_sysv_shm_label, 2426 .mpo_init_inpcb_label = mac_test_init_inpcb_label, 2427 .mpo_init_ipq_label = mac_test_init_ipq_label, 2428 .mpo_init_mbuf_label = mac_test_init_mbuf_label, 2429 .mpo_init_mount_label = mac_test_init_mount_label, 2430 .mpo_init_mount_fs_label = mac_test_init_mount_fs_label, 2431 .mpo_init_pipe_label = mac_test_init_pipe_label, 2432 .mpo_init_posix_sem_label = mac_test_init_posix_sem_label, 2433 .mpo_init_proc_label = mac_test_init_proc_label, 2434 .mpo_init_socket_label = mac_test_init_socket_label, 2435 .mpo_init_socket_peer_label = mac_test_init_socket_peer_label, 2436 .mpo_init_vnode_label = mac_test_init_vnode_label, 2437 .mpo_destroy_bpfdesc_label = mac_test_destroy_bpfdesc_label, 2438 .mpo_destroy_cred_label = mac_test_destroy_cred_label, 2439 .mpo_destroy_devfsdirent_label = mac_test_destroy_devfsdirent_label, 2440 .mpo_destroy_ifnet_label = mac_test_destroy_ifnet_label, 2441 .mpo_destroy_sysv_msgmsg_label = mac_test_destroy_sysv_msgmsg_label, 2442 .mpo_destroy_sysv_msgqueue_label = 2443 mac_test_destroy_sysv_msgqueue_label, | 2425 .mpo_init_sysv_shm_label = mac_test_init_sysv_shm_label, 2426 .mpo_init_inpcb_label = mac_test_init_inpcb_label, 2427 .mpo_init_ipq_label = mac_test_init_ipq_label, 2428 .mpo_init_mbuf_label = mac_test_init_mbuf_label, 2429 .mpo_init_mount_label = mac_test_init_mount_label, 2430 .mpo_init_mount_fs_label = mac_test_init_mount_fs_label, 2431 .mpo_init_pipe_label = mac_test_init_pipe_label, 2432 .mpo_init_posix_sem_label = mac_test_init_posix_sem_label, 2433 .mpo_init_proc_label = mac_test_init_proc_label, 2434 .mpo_init_socket_label = mac_test_init_socket_label, 2435 .mpo_init_socket_peer_label = mac_test_init_socket_peer_label, 2436 .mpo_init_vnode_label = mac_test_init_vnode_label, 2437 .mpo_destroy_bpfdesc_label = mac_test_destroy_bpfdesc_label, 2438 .mpo_destroy_cred_label = mac_test_destroy_cred_label, 2439 .mpo_destroy_devfsdirent_label = mac_test_destroy_devfsdirent_label, 2440 .mpo_destroy_ifnet_label = mac_test_destroy_ifnet_label, 2441 .mpo_destroy_sysv_msgmsg_label = mac_test_destroy_sysv_msgmsg_label, 2442 .mpo_destroy_sysv_msgqueue_label = 2443 mac_test_destroy_sysv_msgqueue_label, |
2444 .mpo_destroy_sysv_sema_label = mac_test_destroy_sysv_sema_label, | 2444 .mpo_destroy_sysv_sem_label = mac_test_destroy_sysv_sem_label, |
2445 .mpo_destroy_sysv_shm_label = mac_test_destroy_sysv_shm_label, 2446 .mpo_destroy_inpcb_label = mac_test_destroy_inpcb_label, 2447 .mpo_destroy_ipq_label = mac_test_destroy_ipq_label, 2448 .mpo_destroy_mbuf_label = mac_test_destroy_mbuf_label, 2449 .mpo_destroy_mount_label = mac_test_destroy_mount_label, 2450 .mpo_destroy_mount_fs_label = mac_test_destroy_mount_fs_label, 2451 .mpo_destroy_pipe_label = mac_test_destroy_pipe_label, 2452 .mpo_destroy_posix_sem_label = mac_test_destroy_posix_sem_label, --- 39 unchanged lines hidden (view full) --- 2492 .mpo_relabel_socket = mac_test_relabel_socket, 2493 .mpo_set_socket_peer_from_mbuf = mac_test_set_socket_peer_from_mbuf, 2494 .mpo_set_socket_peer_from_socket = mac_test_set_socket_peer_from_socket, 2495 .mpo_create_bpfdesc = mac_test_create_bpfdesc, 2496 .mpo_create_ifnet = mac_test_create_ifnet, 2497 .mpo_create_inpcb_from_socket = mac_test_create_inpcb_from_socket, 2498 .mpo_create_sysv_msgmsg = mac_test_create_sysv_msgmsg, 2499 .mpo_create_sysv_msgqueue = mac_test_create_sysv_msgqueue, | 2445 .mpo_destroy_sysv_shm_label = mac_test_destroy_sysv_shm_label, 2446 .mpo_destroy_inpcb_label = mac_test_destroy_inpcb_label, 2447 .mpo_destroy_ipq_label = mac_test_destroy_ipq_label, 2448 .mpo_destroy_mbuf_label = mac_test_destroy_mbuf_label, 2449 .mpo_destroy_mount_label = mac_test_destroy_mount_label, 2450 .mpo_destroy_mount_fs_label = mac_test_destroy_mount_fs_label, 2451 .mpo_destroy_pipe_label = mac_test_destroy_pipe_label, 2452 .mpo_destroy_posix_sem_label = mac_test_destroy_posix_sem_label, --- 39 unchanged lines hidden (view full) --- 2492 .mpo_relabel_socket = mac_test_relabel_socket, 2493 .mpo_set_socket_peer_from_mbuf = mac_test_set_socket_peer_from_mbuf, 2494 .mpo_set_socket_peer_from_socket = mac_test_set_socket_peer_from_socket, 2495 .mpo_create_bpfdesc = mac_test_create_bpfdesc, 2496 .mpo_create_ifnet = mac_test_create_ifnet, 2497 .mpo_create_inpcb_from_socket = mac_test_create_inpcb_from_socket, 2498 .mpo_create_sysv_msgmsg = mac_test_create_sysv_msgmsg, 2499 .mpo_create_sysv_msgqueue = mac_test_create_sysv_msgqueue, |
2500 .mpo_create_sysv_sema = mac_test_create_sysv_sema, | 2500 .mpo_create_sysv_sem = mac_test_create_sysv_sem, |
2501 .mpo_create_sysv_shm = mac_test_create_sysv_shm, 2502 .mpo_create_datagram_from_ipq = mac_test_create_datagram_from_ipq, 2503 .mpo_create_fragment = mac_test_create_fragment, 2504 .mpo_create_ipq = mac_test_create_ipq, 2505 .mpo_create_mbuf_from_inpcb = mac_test_create_mbuf_from_inpcb, 2506 .mpo_create_mbuf_from_mbuf = mac_test_create_mbuf_from_mbuf, 2507 .mpo_create_mbuf_linklayer = mac_test_create_mbuf_linklayer, 2508 .mpo_create_mbuf_from_bpfdesc = mac_test_create_mbuf_from_bpfdesc, --- 9 unchanged lines hidden (view full) --- 2518 .mpo_execve_transition = mac_test_execve_transition, 2519 .mpo_execve_will_transition = mac_test_execve_will_transition, 2520 .mpo_create_proc0 = mac_test_create_proc0, 2521 .mpo_create_proc1 = mac_test_create_proc1, 2522 .mpo_relabel_cred = mac_test_relabel_cred, 2523 .mpo_thread_userret = mac_test_thread_userret, 2524 .mpo_cleanup_sysv_msgmsg = mac_test_cleanup_sysv_msgmsg, 2525 .mpo_cleanup_sysv_msgqueue = mac_test_cleanup_sysv_msgqueue, | 2501 .mpo_create_sysv_shm = mac_test_create_sysv_shm, 2502 .mpo_create_datagram_from_ipq = mac_test_create_datagram_from_ipq, 2503 .mpo_create_fragment = mac_test_create_fragment, 2504 .mpo_create_ipq = mac_test_create_ipq, 2505 .mpo_create_mbuf_from_inpcb = mac_test_create_mbuf_from_inpcb, 2506 .mpo_create_mbuf_from_mbuf = mac_test_create_mbuf_from_mbuf, 2507 .mpo_create_mbuf_linklayer = mac_test_create_mbuf_linklayer, 2508 .mpo_create_mbuf_from_bpfdesc = mac_test_create_mbuf_from_bpfdesc, --- 9 unchanged lines hidden (view full) --- 2518 .mpo_execve_transition = mac_test_execve_transition, 2519 .mpo_execve_will_transition = mac_test_execve_will_transition, 2520 .mpo_create_proc0 = mac_test_create_proc0, 2521 .mpo_create_proc1 = mac_test_create_proc1, 2522 .mpo_relabel_cred = mac_test_relabel_cred, 2523 .mpo_thread_userret = mac_test_thread_userret, 2524 .mpo_cleanup_sysv_msgmsg = mac_test_cleanup_sysv_msgmsg, 2525 .mpo_cleanup_sysv_msgqueue = mac_test_cleanup_sysv_msgqueue, |
2526 .mpo_cleanup_sysv_sema = mac_test_cleanup_sysv_sema, | 2526 .mpo_cleanup_sysv_sem = mac_test_cleanup_sysv_sem, |
2527 .mpo_cleanup_sysv_shm = mac_test_cleanup_sysv_shm, 2528 .mpo_check_bpfdesc_receive = mac_test_check_bpfdesc_receive, 2529 .mpo_check_cred_relabel = mac_test_check_cred_relabel, 2530 .mpo_check_cred_visible = mac_test_check_cred_visible, 2531 .mpo_check_ifnet_relabel = mac_test_check_ifnet_relabel, 2532 .mpo_check_ifnet_transmit = mac_test_check_ifnet_transmit, 2533 .mpo_check_inpcb_deliver = mac_test_check_inpcb_deliver, 2534 .mpo_check_sysv_msgmsq = mac_test_check_sysv_msgmsq, --- 99 unchanged lines hidden --- | 2527 .mpo_cleanup_sysv_shm = mac_test_cleanup_sysv_shm, 2528 .mpo_check_bpfdesc_receive = mac_test_check_bpfdesc_receive, 2529 .mpo_check_cred_relabel = mac_test_check_cred_relabel, 2530 .mpo_check_cred_visible = mac_test_check_cred_visible, 2531 .mpo_check_ifnet_relabel = mac_test_check_ifnet_relabel, 2532 .mpo_check_ifnet_transmit = mac_test_check_ifnet_transmit, 2533 .mpo_check_inpcb_deliver = mac_test_check_inpcb_deliver, 2534 .mpo_check_sysv_msgmsq = mac_test_check_sysv_msgmsq, --- 99 unchanged lines hidden --- |