| /xnu-12377.61.12/security/ |
| H A D | mac_label.c | 60 struct label *label; in mac_labelzone_alloc() local 74 struct label *label; member 98 struct label *label; variable 110 mac_labelzone_free(struct label *label) in mac_labelzone_free() 123 struct label *label; variable 147 struct label *label = os_atomic_load(labelp, acquire); in mac_label_verify() local 184 mac_label_get(struct label *label, int slot) in mac_label_get() 200 mac_label_set(struct label *label, int slot, intptr_t v) in mac_label_set()
|
| H A D | _label.h | 86 struct label { struct 87 struct label **l_owner; argument 91 extern const struct label empty_label; argument
|
| H A D | mac_pipe.c | 78 struct label *label; in mac_pipe_label_alloc() local 95 mac_pipe_set_label(struct pipe *cpipe, struct label *label) in mac_pipe_set_label() 107 mac_pipe_label_free(struct label *label) in mac_pipe_label_free() 116 struct label *label = mac_pipe_label(cpipe); in mac_pipe_label_destroy() local
|
| H A D | mac_pty.c | 37 mac_pty_notify_grant(proc_t p, struct tty *tp, dev_t dev, struct label *label) in mac_pty_notify_grant() 43 mac_pty_notify_close(proc_t p, struct tty *tp, dev_t dev, struct label *label) in mac_pty_notify_close()
|
| H A D | mac_mach.c | 392 mac_exc_set_label(struct exception_action *action, struct label *label) in mac_exc_set_label() 410 mac_exc_free_label(struct label *label) in mac_exc_free_label() 419 mac_exc_associate_action_label(struct exception_action *action, struct label *label) in mac_exc_associate_action_label() 453 mac_exc_update_task_crash_label(struct task *task, struct label *label) in mac_exc_update_task_crash_label() 471 struct label *label = mac_exc_create_label(NULL); in mac_exc_create_label_for_proc() local 491 struct label *label = NULL; in mac_exc_action_check_exception_send() local
|
| H A D | mac_internal.h | 297 #define MAC_INTERNALIZE(obj, label, instring) \ argument 300 #define MAC_EXTERNALIZE(obj, label, elementlist, outbuf, outbuflen) \ argument 303 #define MAC_EXTERNALIZE_AUDIT(obj, label, outbuf, outbuflen) \ argument
|
| H A D | mac_process.c | 96 struct label *label; in mac_cred_label_alloc() local 125 mac_cred_label_free(struct label *label) in mac_cred_label_free() 176 struct label *label = mac_cred_label(cred); in mac_cred_label_destroy() local 182 mac_cred_label_externalize(struct label *label, char *elements, in mac_cred_label_externalize() 193 mac_cred_label_internalize(struct label *label, char *string) in mac_cred_label_internalize()
|
| /xnu-12377.61.12/osfmk/ipc/ |
| H A D | ipc_service_port.c | 84 ipc_object_label_t *label) in ipc_service_port_label_alloc() 119 ipc_connection_port_label_dealloc(ipc_object_label_t label) in ipc_connection_port_label_dealloc() 137 ipc_service_port_label_dealloc(ipc_object_label_t label) in ipc_service_port_label_dealloc() 171 ipc_object_label_t *label) in ipc_service_port_derive_sblabel()
|
| H A D | ipc_object.h | 382 __io_label_validate(ipc_object_t io, ipc_object_label_t label, bool lock) in __io_label_validate() 412 ipc_object_label_t label; in io_label_get() local 438 io_label_init(ipc_object_t io, ipc_object_label_t label) in io_label_init() 451 io_label_set_and_put(ipc_object_t io, ipc_object_label_t *label) in io_label_set_and_put() 462 io_label_put(ipc_object_t io, ipc_object_label_t *label) in io_label_put()
|
| H A D | ipc_space.c | 276 ipc_label_t label, in ipc_space_create() 318 ipc_label_t label) in ipc_space_label() 350 ipc_label_t label) in ipc_space_add_label()
|
| H A D | ipc_port.c | 666 ipc_object_label_t *label, in ipc_port_prepare_move() 699 ipc_object_label_t *label, in ipc_port_mark_in_space() 741 ipc_object_label_t *label, in ipc_port_mark_in_limbo() 759 ipc_object_label_t *label, in ipc_port_mark_in_limbo_pd() 779 ipc_object_label_t label = ip_label_get(port); in ipc_port_mark_in_transit() local 801 ipc_object_label_t *label, in ipc_port_mark_inactive() 836 ipc_object_label_t label, in ipc_port_init() 897 ipc_object_label_t label, in ipc_port_alloc() 954 ipc_object_label_t label, in ipc_port_alloc_name() 1143 ipc_object_label_t label = ip_label_get(port); in ipc_port_destroy() local [all …]
|
| H A D | ipc_policy.h | 390 ipc_policy(ipc_object_label_t label) in ipc_policy() 603 ipc_port_label_free(ipc_object_label_t label) in ipc_port_label_free()
|
| H A D | ipc_policy.c | 548 ipc_object_label_t label = ip_mq_lock_label_get(port); in ipc_stash_policy_violations_telemetry() local 1028 ipc_object_label_t label) in ipc_should_mark_immovable_send() 1089 ipc_object_label_t label = ipc_port_lock_label_get(port); in ip_is_currently_immovable_send() local 1120 ipc_object_label_t label = ip_label_get(port); in ipc_entry_init() local 1396 no_label_free(ipc_object_label_t label) in no_label_free()
|
| H A D | mach_port.c | 631 ipc_object_label_t label = IPC_OBJECT_LABEL(IOT_PORT); in mach_port_allocate_full() local 1567 ipc_object_label_t label; in mach_port_request_notification() local 1892 ipc_object_label_t label; in mach_port_get_attributes() local 2096 ipc_object_label_t label; in mach_port_set_attributes() local 2288 ipc_object_label_t label = ip_label_get(port); in mach_port_guard_locked() local 2434 ipc_object_label_t label = IPC_OBJECT_LABEL(IOT_PORT); in mach_port_construct() local 2928 ipc_object_label_t label; in mach_port_is_connection_for_service() local 3004 ipc_object_label_t label; in mach_port_get_service_port_info() local
|
| H A D | ipc_object.c | 600 ipc_object_label_t label; in ipc_object_copyin_from_kernel() local 862 ipc_object_label_t label; in ipc_object_copyout() local 987 ipc_object_label_t label; in ipc_object_copyout_name() local
|
| /xnu-12377.61.12/osfmk/arm/ |
| H A D | asm.h | 233 #define GLUE_LABEL_GUTS(label, tag) L_##label##_##tag##_glue argument 234 #define GLUE_LABEL(label, tag) GLUE_LABEL_GUTS(label, tag) argument 236 #define LOAD_ADDR(reg, label) \ argument 252 #define LOAD_ADDR_PC(label) \ argument 264 #define LOAD_ADDR_GEN_DEF(label) \ argument 282 #define COND_EXTERN_BEQ(label) \ argument 287 #define COND_EXTERN_BLNE(label) \ argument 292 #define COND_EXTERN_BLGT(label) \ argument
|
| /xnu-12377.61.12/osfmk/kern/ |
| H A D | mk_timer.c | 75 ipc_object_label_t label = IPC_OBJECT_LABEL(IOT_TIMER_PORT); in mk_timer_create_trap() local 121 ipc_object_label_t label) in mk_timer_port_label_dealloc() 249 ipc_object_label_t label; in mk_timer_arm_trap_internal() local 355 ipc_object_label_t label; in mk_timer_cancel_trap() local
|
| H A D | ipc_kobject.c | 906 ipc_kobject_label_free(ipc_object_label_t label) in ipc_kobject_label_free() 925 ipc_object_label_t label, in ipc_kobject_alloc_port() 1159 ipc_object_label_t label = ip_label_get(port, type); in ipc_kobject_dealloc_port_and_unlock() local 1258 ipc_object_label_t label; in ipc_kobject_disable_locked() local 1423 ipc_object_label_t *label, in ipc_kobject_label_check_or_substitute()
|
| H A D | exception.h | 51 struct label *label; /* MAC label associated with action */ member
|
| H A D | host_notify.c | 104 ipc_object_label_t label = ip_label_get(port); in host_request_notification() local
|
| /xnu-12377.61.12/osfmk/x86_64/ |
| H A D | static_if.h | 54 #define STATIC_IF_NOP(n, label) \ argument 59 #define STATIC_IF_BRANCH(n, label) \ argument
|
| /xnu-12377.61.12/osfmk/arm64/ |
| H A D | static_if.h | 53 #define STATIC_IF_NOP(n, label) \ argument 57 #define STATIC_IF_BRANCH(n, label) \ argument
|
| /xnu-12377.61.12/bsd/kern/ |
| H A D | kern_guarded.c | 886 vng_lbl_get(struct label *label) in vng_lbl_get() 899 vng_lbl_get_withattr(struct label *label, unsigned attrmask) in vng_lbl_get_withattr() 910 vng_lbl_set(struct label *label, void *data) in vng_lbl_set() 1405 struct vnode *vp, struct label *label, in vng_vnode_check_rename() 1434 struct vnode *vp, struct label *label, struct componentname *__unused cnp) in vng_vnode_check_link() 1452 struct vnode *vp, struct label *label, struct componentname *__unused cnp) in vng_vnode_check_unlink() 1472 kauth_cred_t __unused file_cred, struct vnode *vp, struct label *label) in vng_vnode_check_write() 1501 struct label *label) in vng_vnode_check_truncate() 1553 struct vnode *vp, struct label *label, int acc_mode) in vng_vnode_check_open()
|
| /xnu-12377.61.12/tools/tests/jitter/ |
| H A D | timer_jitter.c | 62 #define assert(truth, label) do { if(!(truth)) { printf("Thread %p: failure on line %d\n", pthread_… argument 193 print_stats_us(const char *label, double avg, double max, double min, double stddev) in print_stats_us() 203 print_stats_fract(const char *label, double avg, double max, double min, double stddev) in print_stats_fract()
|
| /xnu-12377.61.12/osfmk/i386/ |
| H A D | i386_lock.s | 60 #define LOAD_STRING_ARG0(label) leaq label(%rip), %rdi ; argument
|