]>
git.saurik.com Git - apple/xnu.git/blob - security/mac_stub.c
2 * Copyright (c) 2006-2007 Apple Inc. All rights reserved.
4 * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
6 * This file contains Original Code and/or Modifications of Original Code
7 * as defined in and that are subject to the Apple Public Source License
8 * Version 2.0 (the 'License'). You may not use this file except in
9 * compliance with the License. The rights granted to you under the License
10 * may not be used to create, or enable the creation or redistribution of,
11 * unlawful or unlicensed copies of an Apple operating system, or to
12 * circumvent, violate, or enable the circumvention or violation of, any
13 * terms of an Apple operating system software license agreement.
15 * Please obtain a copy of the License at
16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
18 * The Original Code and all software distributed under the License are
19 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
20 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
21 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
22 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
23 * Please see the License for the specific language governing rights and
24 * limitations under the License.
26 * @APPLE_OSREFERENCE_LICENSE_HEADER_END@
33 * XXX stubs until we fix <rdar://problem/4607887>
35 int mac_check_ipc_method(void)
39 int mac_check_port_copy_send(void)
43 int mac_check_port_hold_receive(void)
47 int mac_check_port_hold_send(void)
51 int mac_check_port_make_send(void)
55 int mac_check_port_move_receive(void)
59 int mac_check_port_relabel(void)
63 int mac_check_port_send(void)
67 int mac_check_service_access(void)
71 int mac_copy_cred_to_task(void)
75 int mac_copy_port_label(void)
79 int mac_create_kernel_port(void)
83 int mac_create_kernel_task(void)
87 int mac_create_port(void)
91 int mac_create_task(void)
95 int mac_destroy_port_label(void)
99 int mac_destroy_task_label(void)
103 int mac_externalize_port_label(void)
107 int mac_externalize_task_label(void)
115 int mac_init_mach(void)
119 int mac_init_port_label(void)
123 int mac_init_task_label(void)
127 int mac_internalize_port_label(void)
131 int mac_request_object_label(void)
135 int mac_update_port_from_cred_label(void)
139 int mac_update_port_kobject(void)
143 int mac_associate_vnode_devfs(void)
147 int mac_associate_vnode_extattr(void)
151 int mac_associate_vnode_singlelabel(void)
155 int mac_check_mount_getattr(void)
159 int mac_check_mount_setattr(void)
163 int mac_check_pipe_ioctl(void)
167 int mac_check_pipe_kqfilter(void)
171 int mac_check_pipe_read(void)
175 int mac_check_pipe_select(void)
179 int mac_check_pipe_stat(void)
183 int mac_check_pipe_write(void)
187 int mac_check_posix_sem_create(void)
191 int mac_check_posix_sem_open(void)
195 int mac_check_posix_sem_post(void)
199 int mac_check_posix_sem_unlink(void)
203 int mac_check_posix_sem_wait(void)
207 int mac_check_posix_shm_create(void)
211 int mac_check_posix_shm_mmap(void)
215 int mac_check_posix_shm_open(void)
219 int mac_check_posix_shm_stat(void)
223 int mac_check_posix_shm_truncate(void)
227 int mac_check_posix_shm_unlink(void)
231 int mac_check_proc_getlcid(void)
235 int mac_check_proc_fork(void)
239 int mac_check_proc_sched(void)
243 int mac_check_proc_setlcid(void)
247 int mac_check_proc_signal(void)
251 int mac_check_socket_received(void)
255 int mac_check_proc_wait(void)
259 int mac_check_system_acct(void)
263 int mac_check_system_nfsd(void)
267 int mac_check_system_reboot(void)
271 int mac_check_system_settime(void)
275 int mac_check_system_swapoff(void)
279 int mac_check_system_swapon(void)
283 int mac_check_system_sysctl(void)
287 int mac_check_vnode_access(void)
291 int mac_check_vnode_chdir(void)
295 int mac_check_vnode_chroot(void)
299 int mac_check_vnode_create(void)
303 int mac_check_vnode_delete(void)
307 int mac_check_vnode_deleteextattr(void)
311 int mac_check_vnode_exchangedata(void)
315 int mac_check_vnode_exec(void)
319 int mac_check_vnode_getattrlist(void)
323 int mac_check_vnode_getextattr(void)
327 int mac_check_vnode_kqfilter(void)
331 int mac_check_vnode_link(void)
335 int mac_check_vnode_listextattr(void)
339 int mac_check_vnode_lookup(void)
343 int mac_check_vnode_mmap(void)
347 int mac_check_vnode_open(void)
351 int mac_check_vnode_read(void)
355 int mac_check_vnode_readdir(void)
359 int mac_check_vnode_readlink(void)
363 int mac_check_vnode_rename_from(void)
367 int mac_check_vnode_rename_to(void)
371 int mac_check_vnode_revoke(void)
375 int mac_check_vnode_select(void)
379 int mac_check_vnode_setattrlist(void)
383 int mac_check_vnode_setextattr(void)
387 int mac_check_vnode_setflags(void)
391 int mac_check_vnode_setmode(void)
395 int mac_check_vnode_setowner(void)
399 int mac_check_vnode_setutimes(void)
403 int mac_check_vnode_stat(void)
407 int mac_check_vnode_write(void)
411 int mac_cleanup_vnode(void)
415 int mac_copy_devfs_label(void)
419 int mac_copy_vnode_label(void)
423 int mac_create_cred(void)
427 int mac_create_devfs_device(void)
431 int mac_create_devfs_directory(void)
435 int mac_create_mount(void)
439 int mac_create_pipe(void)
443 int mac_create_posix_sem(void)
447 int mac_create_posix_shm(void)
451 int mac_create_proc0(void)
455 int mac_create_proc1(void)
459 int mac_create_vnode_extattr(void)
463 int mac_cred_label_alloc(void)
467 int mac_cred_label_free(void)
471 int mac_destroy_cred(void)
475 int mac_destroy_devfsdirent(void)
479 int mac_destroy_mount(void)
483 int mac_destroy_pipe(void)
487 int mac_destroy_posix_sem(void)
491 int mac_destroy_posix_shm(void)
495 int mac_destroy_proc(void)
499 int mac_execve_enter(void)
503 int mac_execve_transition(void)
507 int mac_execve_will_transition(void)
511 int mac_init_bsd(void)
515 int mac_init_cred(void)
519 int mac_init_devfsdirent(void)
523 int mac_init_mount(void)
527 int mac_init_pipe(void)
531 int mac_init_posix_sem(void)
535 int mac_init_posix_shm(void)
539 int mac_init_proc(void)
543 int mac_init_vnode(void)
547 int mac_lctx_label_alloc(void)
551 int mac_lctx_label_free(void)
555 int mac_proc_create_lctx(void)
559 int mac_proc_join_lctx(void)
563 int mac_proc_leave_lctx(void)
567 int mac_relabel_cred(void)
571 int mac_relabel_vnode(void)
575 int mac_update_devfsdirent(void)
579 int mac_update_vnode_extattr(void)
583 int mac_vnode_label_alloc(void)
587 int mac_vnode_label_free(void)
591 int vop_stdsetlabel_ea(void)
595 int kau_will_audit(void)
603 int mac_kalloc_noblock(void)
611 int mac_mbuf_alloc(void)
615 int mac_mbuf_free(void)
627 int sysctl__security_mac_children(void)
631 int mac_check_socket_accept(void)
635 int mac_check_socket_accepted(void)
639 int mac_check_socket_bind(void)
643 int mac_check_socket_connect(void)
647 int mac_check_socket_create(void)
651 int mac_check_socket_getsockopt(void)
655 int mac_check_socket_listen(void)
659 int mac_check_socket_receive(void)
663 int mac_check_socket_send(void)
667 int mac_check_socket_setsockopt(void)
671 int mac_fork_proc(void)
675 int mac_set_enforce_proc(void)
679 #endif /* CONFIG_MACF */