Home
last modified time | relevance | path

Searched refs:MAC_POLICY_CHECK_NOSLEEP (Results 1 – 18 of 18) sorted by relevance

/freebsd/sys/security/mac/
H A Dmac_cred.c206 MAC_POLICY_CHECK_NOSLEEP(cred_check_relabel, cred, newlabel); in mac_cred_check_relabel()
219 MAC_POLICY_CHECK_NOSLEEP(cred_check_setuid, cred, uid); in mac_cred_check_setuid()
232 MAC_POLICY_CHECK_NOSLEEP(cred_check_seteuid, cred, euid); in mac_cred_check_seteuid()
245 MAC_POLICY_CHECK_NOSLEEP(cred_check_setgid, cred, gid); in mac_cred_check_setgid()
258 MAC_POLICY_CHECK_NOSLEEP(cred_check_setegid, cred, egid); in mac_cred_check_setegid()
272 MAC_POLICY_CHECK_NOSLEEP(cred_check_setgroups, cred, ngroups, gidset); in mac_cred_check_setgroups()
286 MAC_POLICY_CHECK_NOSLEEP(cred_check_setreuid, cred, ruid, euid); in mac_cred_check_setreuid()
300 MAC_POLICY_CHECK_NOSLEEP(cred_check_setregid, cred, rgid, egid); in mac_cred_check_setregid()
315 MAC_POLICY_CHECK_NOSLEEP(cred_check_setresuid, cred, ruid, euid, suid); in mac_cred_check_setresuid()
331 MAC_POLICY_CHECK_NOSLEEP(cred_check_setresgid, cred, rgid, egid, sgid); in mac_cred_check_setresgid()
[all …]
H A Dmac_posix_shm.c109 MAC_POLICY_CHECK_NOSLEEP(posixshm_check_create, cred, path); in mac_posixshm_check_create()
124 MAC_POLICY_CHECK_NOSLEEP(posixshm_check_mmap, cred, shmfd, in mac_posixshm_check_mmap()
141 MAC_POLICY_CHECK_NOSLEEP(posixshm_check_open, cred, shmfd, in mac_posixshm_check_open()
157 MAC_POLICY_CHECK_NOSLEEP(posixshm_check_stat, active_cred, file_cred, in mac_posixshm_check_stat()
174 MAC_POLICY_CHECK_NOSLEEP(posixshm_check_truncate, active_cred, in mac_posixshm_check_truncate()
190 MAC_POLICY_CHECK_NOSLEEP(posixshm_check_unlink, cred, shmfd, in mac_posixshm_check_unlink()
205 MAC_POLICY_CHECK_NOSLEEP(posixshm_check_setmode, cred, shmfd, in mac_posixshm_check_setmode()
221 MAC_POLICY_CHECK_NOSLEEP(posixshm_check_setowner, cred, shmfd, in mac_posixshm_check_setowner()
238 MAC_POLICY_CHECK_NOSLEEP(posixshm_check_read, active_cred, in mac_posixshm_check_read()
255 MAC_POLICY_CHECK_NOSLEEP(posixshm_check_write, active_cred, in mac_posixshm_check_write()
H A Dmac_posix_sem.c109 MAC_POLICY_CHECK_NOSLEEP(posixsem_check_open, cred, ks, in mac_posixsem_check_open()
125 MAC_POLICY_CHECK_NOSLEEP(posixsem_check_getvalue, active_cred, in mac_posixsem_check_getvalue()
142 MAC_POLICY_CHECK_NOSLEEP(posixsem_check_post, active_cred, file_cred, in mac_posixsem_check_post()
159 MAC_POLICY_CHECK_NOSLEEP(posixsem_check_stat, active_cred, file_cred, in mac_posixsem_check_stat()
175 MAC_POLICY_CHECK_NOSLEEP(posixsem_check_unlink, cred, ks, in mac_posixsem_check_unlink()
191 MAC_POLICY_CHECK_NOSLEEP(posixsem_check_wait, active_cred, file_cred, in mac_posixsem_check_wait()
207 MAC_POLICY_CHECK_NOSLEEP(posixsem_check_setmode, cred, ks, in mac_posixsem_check_setmode()
223 MAC_POLICY_CHECK_NOSLEEP(posixsem_check_setowner, cred, ks, in mac_posixsem_check_setowner()
H A Dmac_system.c78 MAC_POLICY_CHECK_NOSLEEP(kenv_check_dump, cred); in mac_kenv_check_dump()
91 MAC_POLICY_CHECK_NOSLEEP(kenv_check_get, cred, name); in mac_kenv_check_get()
105 MAC_POLICY_CHECK_NOSLEEP(kenv_check_set, cred, name, value); in mac_kenv_check_set()
118 MAC_POLICY_CHECK_NOSLEEP(kenv_check_unset, cred, name); in mac_kenv_check_unset()
146 MAC_POLICY_CHECK_NOSLEEP(kld_check_stat, cred); in mac_kld_check_stat()
178 MAC_POLICY_CHECK_NOSLEEP(system_check_reboot, cred, howto); in mac_system_check_reboot()
229 MAC_POLICY_CHECK_NOSLEEP(system_check_sysctl, cred, oidp, arg1, arg2, in mac_system_check_sysctl()
H A Dmac_sysv_msg.c179 MAC_POLICY_CHECK_NOSLEEP(sysvmsq_check_msgmsq, cred, msgptr, in mac_sysvmsq_check_msgmsq()
194 MAC_POLICY_CHECK_NOSLEEP(sysvmsq_check_msgrcv, cred, msgptr, in mac_sysvmsq_check_msgrcv()
209 MAC_POLICY_CHECK_NOSLEEP(sysvmsq_check_msgrmid, cred, msgptr, in mac_sysvmsq_check_msgrmid()
224 MAC_POLICY_CHECK_NOSLEEP(sysvmsq_check_msqget, cred, msqkptr, in mac_sysvmsq_check_msqget()
239 MAC_POLICY_CHECK_NOSLEEP(sysvmsq_check_msqsnd, cred, msqkptr, in mac_sysvmsq_check_msqsnd()
254 MAC_POLICY_CHECK_NOSLEEP(sysvmsq_check_msqrcv, cred, msqkptr, in mac_sysvmsq_check_msqrcv()
270 MAC_POLICY_CHECK_NOSLEEP(sysvmsq_check_msqctl, cred, msqkptr, in mac_sysvmsq_check_msqctl()
H A Dmac_audit.c64 MAC_POLICY_CHECK_NOSLEEP(cred_check_setaudit, cred, ai); in mac_cred_check_setaudit()
78 MAC_POLICY_CHECK_NOSLEEP(cred_check_setaudit_addr, cred, aia); in mac_cred_check_setaudit_addr()
91 MAC_POLICY_CHECK_NOSLEEP(cred_check_setauid, cred, auid); in mac_cred_check_setauid()
105 MAC_POLICY_CHECK_NOSLEEP(system_check_audit, cred, record, length); in mac_system_check_audit()
136 MAC_POLICY_CHECK_NOSLEEP(system_check_auditon, cred, cmd); in mac_system_check_auditon()
H A Dmac_socket.c113 MAC_POLICY_CHECK_NOSLEEP(socket_init_label, label, flag); in mac_socket_label_alloc()
135 MAC_POLICY_CHECK_NOSLEEP(socketpeer_init_label, label, flag); in mac_socketpeer_label_alloc()
308 MAC_POLICY_CHECK_NOSLEEP(socket_check_accept, cred, so, in mac_socket_check_accept()
324 MAC_POLICY_CHECK_NOSLEEP(socket_check_bind, cred, so, so->so_label, in mac_socket_check_bind()
340 MAC_POLICY_CHECK_NOSLEEP(socket_check_connect, cred, so, in mac_socket_check_connect()
355 MAC_POLICY_CHECK_NOSLEEP(socket_check_create, cred, domain, type, in mac_socket_check_create()
377 MAC_POLICY_CHECK_NOSLEEP(socket_check_deliver, so, so->so_label, m, in mac_socket_check_deliver()
392 MAC_POLICY_CHECK_NOSLEEP(socket_check_listen, cred, so, in mac_socket_check_listen()
407 MAC_POLICY_CHECK_NOSLEEP(socket_check_poll, cred, so, so->so_label); in mac_socket_check_poll()
421 MAC_POLICY_CHECK_NOSLEEP(socket_check_receive, cred, so, in mac_socket_check_receive()
[all …]
H A Dmac_pipe.c153 MAC_POLICY_CHECK_NOSLEEP(pipe_check_ioctl, cred, pp, pp->pp_label, in mac_pipe_check_ioctl()
170 MAC_POLICY_CHECK_NOSLEEP(pipe_check_poll, cred, pp, pp->pp_label); in mac_pipe_check_poll_impl()
186 MAC_POLICY_CHECK_NOSLEEP(pipe_check_read, cred, pp, pp->pp_label); in mac_pipe_check_read_impl()
203 MAC_POLICY_CHECK_NOSLEEP(pipe_check_relabel, cred, pp, pp->pp_label, in mac_pipe_check_relabel()
220 MAC_POLICY_CHECK_NOSLEEP(pipe_check_stat, cred, pp, pp->pp_label); in mac_pipe_check_stat()
236 MAC_POLICY_CHECK_NOSLEEP(pipe_check_write, cred, pp, pp->pp_label); in mac_pipe_check_write()
H A Dmac_kdb.c56 MAC_POLICY_CHECK_NOSLEEP(kdb_check_backend, be); in mac_kdb_check_backend()
65 MAC_POLICY_CHECK_NOSLEEP(ddb_command_register, table, cmd); in mac_ddb_command_register()
75 MAC_POLICY_CHECK_NOSLEEP(ddb_command_exec, cmd, addr, have_addr, in mac_ddb_command_exec()
H A Dmac_sysv_shm.c124 MAC_POLICY_CHECK_NOSLEEP(sysvshm_check_shmat, cred, shmsegptr, in mac_sysvshm_check_shmat()
141 MAC_POLICY_CHECK_NOSLEEP(sysvshm_check_shmctl, cred, shmsegptr, in mac_sysvshm_check_shmctl()
156 MAC_POLICY_CHECK_NOSLEEP(sysvshm_check_shmdt, cred, shmsegptr, in mac_sysvshm_check_shmdt()
172 MAC_POLICY_CHECK_NOSLEEP(sysvshm_check_shmget, cred, shmsegptr, in mac_sysvshm_check_shmget()
H A Dmac_sysv_sem.c124 MAC_POLICY_CHECK_NOSLEEP(sysvsem_check_semctl, cred, semakptr, in mac_sysvsem_check_semctl()
139 MAC_POLICY_CHECK_NOSLEEP(sysvsem_check_semget, cred, semakptr, in mac_sysvsem_check_semget()
154 MAC_POLICY_CHECK_NOSLEEP(sysvsem_check_semop, cred, semakptr, in mac_sysvsem_check_semop()
H A Dmac_inet.c87 MAC_POLICY_CHECK_NOSLEEP(inpcb_init_label, label, flag); in mac_inpcb_label_alloc()
133 MAC_POLICY_CHECK_NOSLEEP(ipq_init_label, label, flag); in mac_ipq_label_alloc()
378 MAC_POLICY_CHECK_NOSLEEP(inpcb_check_deliver, inp, inp->inp_label, m, in mac_inpcb_check_deliver()
395 MAC_POLICY_CHECK_NOSLEEP(inpcb_check_visible, cred, inp, in mac_inpcb_check_visible()
482 MAC_POLICY_CHECK_NOSLEEP(syncache_init_label, *label, in mac_syncache_init()
H A Dmac_process.c381 MAC_POLICY_CHECK_NOSLEEP(proc_check_debug, cred, p); in mac_proc_check_debug()
396 MAC_POLICY_CHECK_NOSLEEP(proc_check_sched, cred, p); in mac_proc_check_sched()
412 MAC_POLICY_CHECK_NOSLEEP(proc_check_signal, cred, p, signum); in mac_proc_check_signal()
427 MAC_POLICY_CHECK_NOSLEEP(proc_check_wait, cred, p); in mac_proc_check_wait()
H A Dmac_net.c161 MAC_POLICY_CHECK_NOSLEEP(mbuf_init_label, label, flag); in mac_mbuf_tag_init()
366 MAC_POLICY_CHECK_NOSLEEP(bpfdesc_check_receive, d, d->bd_label, ifp, in mac_bpfdesc_check_receive()
388 MAC_POLICY_CHECK_NOSLEEP(ifnet_check_transmit, ifp, if_getmaclabel(ifp), m, in mac_ifnet_check_transmit_impl()
486 MAC_POLICY_CHECK_NOSLEEP(ifnet_check_relabel, cred, ifp, in mac_ifnet_ioctl_set()
H A Dmac_priv.c72 MAC_POLICY_CHECK_NOSLEEP(priv_check, cred, priv); in mac_priv_check_impl()
H A Dmac_inet6.c74 MAC_POLICY_CHECK_NOSLEEP(ip6q_init_label, label, flag); in mac_ip6q_label_alloc()
H A Dmac_internal.h308 #define MAC_POLICY_CHECK_NOSLEEP(check, args...) do { \ macro
H A Dmac_vfs.c968 MAC_POLICY_CHECK_NOSLEEP(mount_check_stat, cred, mount, mount->mnt_label); in mac_mount_check_stat()