Home
last modified time | relevance | path

Searched defs:label (Results 1 – 25 of 41) sorted by relevance

12

/xnu-8792.41.9/security/ !
H A Dmac_label.c77 struct label *label; in mac_labelzone_alloc() local
91 struct label *label; member
115 struct label *label; variable
127 mac_labelzone_free(struct label *label) in mac_labelzone_free()
140 struct label *label; variable
164 struct label *label = *labelp; in mac_label_verify() local
193 mac_label_get(struct label *label, int slot) in mac_label_get()
209 mac_label_set(struct label *label, int slot, intptr_t v) in mac_label_set()
H A D_label.h81 struct label { struct
82 struct label **l_owner; argument
83 void *l_perpolicy[MAC_MAX_SLOTS];
H A Dmac_pipe.c78 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 Dmac_pty.c37 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 Dmac_mach.c322 mac_exc_set_label(struct exception_action *action, struct label *label) in mac_exc_set_label()
340 mac_exc_free_label(struct label *label) in mac_exc_free_label()
349 mac_exc_associate_action_label(struct exception_action *action, struct label *label) in mac_exc_associate_action_label()
383 mac_exc_update_task_crash_label(struct task *task, struct label *label) in mac_exc_update_task_crash_label()
401 struct label *label = mac_exc_create_label(NULL); in mac_exc_create_label_for_proc() local
421 struct label *label = NULL; in mac_exc_action_check_exception_send() local
H A Dmac_internal.h294 #define MAC_INTERNALIZE(obj, label, instring) \ argument
297 #define MAC_EXTERNALIZE(obj, label, elementlist, outbuf, outbuflen) \ argument
300 #define MAC_EXTERNALIZE_AUDIT(obj, label, outbuf, outbuflen) \ argument
H A Dmac_process.c96 struct label *label; in mac_cred_label_alloc() local
113 mac_cred_label_free(struct label *label) in mac_cred_label_free()
155 struct label *label = mac_cred_label(cred); in mac_cred_label_destroy() local
161 mac_cred_label_externalize(struct label *label, char *elements, in mac_cred_label_externalize()
172 mac_cred_label_internalize(struct label *label, char *string) in mac_cred_label_internalize()
H A Dmac_base.c909 mac_label_externalize(size_t mpo_externalize_off, struct label *label, in mac_label_externalize()
1008 mac_externalize(size_t mpo_externalize_off, struct label *label, in mac_externalize()
1072 mac_label_internalize(size_t mpo_internalize_off, struct label *label, in mac_label_internalize()
1128 mac_internalize(size_t mpo_internalize_off, struct label *label, in mac_internalize()
H A Dmac_vfs.c187 struct label *label; in mac_vnode_label_init() local
200 mac_vnode_label_cleanup(struct label *label) in mac_vnode_label_cleanup()
209 mac_vnode_label_free(struct label *label) in mac_vnode_label_free()
289 mac_vnode_label_externalize(struct label *label, char *elements, in mac_vnode_label_externalize()
300 mac_vnode_label_internalize(struct label *label, char *string) in mac_vnode_label_internalize()
310 mac_mount_label_internalize(struct label *label, char *string) in mac_mount_label_internalize()
320 mac_mount_label_externalize(struct label *label, char *elements, in mac_mount_label_externalize()
/xnu-8792.41.9/osfmk/arm/ !
H A Dasm.h233 #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-8792.41.9/osfmk/ipc/ !
H A Dipc_space.c277 ipc_label_t label, in ipc_space_create()
320 ipc_label_t label) in ipc_space_label()
352 ipc_label_t label) in ipc_space_add_label()
/xnu-8792.41.9/bsd/kern/ !
H A Dkern_guarded.c875 vng_lbl_get(struct label *label) in vng_lbl_get()
888 vng_lbl_get_withattr(struct label *label, unsigned attrmask) in vng_lbl_get_withattr()
899 vng_lbl_set(struct label *label, void *data) in vng_lbl_set()
1334 struct vnode *vp, struct label *label, in vng_vnode_check_rename()
1363 struct vnode *vp, struct label *label, struct componentname *__unused cnp) in vng_vnode_check_link()
1381 struct vnode *vp, struct label *label, struct componentname *__unused cnp) in vng_vnode_check_unlink()
1401 kauth_cred_t __unused file_cred, struct vnode *vp, struct label *label) in vng_vnode_check_write()
1430 struct label *label) in vng_vnode_check_truncate()
1482 struct vnode *vp, struct label *label, int acc_mode) in vng_vnode_check_open()
H A Dkern_credential.c4449 kauth_cred_label_update(kauth_cred_t cred, struct label *label) in kauth_cred_label_update()
4532 kauth_proc_label_update(struct proc *p, struct label *label) in kauth_proc_label_update()
4584 kauth_cred_setlabel(kauth_cred_t cred, struct label *label) in kauth_cred_setlabel()
4591 kauth_proc_setlabel(struct proc *p, struct label *label) in kauth_proc_setlabel()
4604 kauth_cred_label_update(__unused kauth_cred_t cred, __unused void *label) in kauth_cred_label_update()
4610 kauth_proc_label_update(__unused struct proc *p, __unused void *label) in kauth_proc_label_update()
4621 kauth_cred_setlabel(__unused kauth_cred_t cred, __unused void *label) in kauth_cred_setlabel()
4628 kauth_proc_setlabel(__unused struct proc *p, __unused void *label) in kauth_proc_setlabel()
/xnu-8792.41.9/osfmk/kern/ !
H A Dexception.h50 struct label *label; /* MAC label associated with action */ member
H A Dipc_kobject.c893 ipc_label_t label, in ipc_kobject_alloc_labeled_port()
1044 ipc_label_t label) in ipc_kobject_make_send_lazy_alloc_labeled_port()
1708 ipc_label_t label; in ipc_kobject_label_check() local
/xnu-8792.41.9/tools/tests/jitter/ !
H A Dtimer_jitter.c62 #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-8792.41.9/osfmk/i386/ !
H A Di386_lock.s60 #define LOAD_STRING_ARG0(label) leaq label(%rip), %rdi ; argument
/xnu-8792.41.9/osfmk/corecrypto/ !
H A Dcc_macros.h70 #define __CC_DEBUG_REQUIRE_MESSAGE(name, assertion, label, message, file, line, value) \ argument
H A Dccdrbg_nisthmac.c73 dump_state(const char *label, struct ccdrbg_nisthmac_state *drbg_ctx) in dump_state()
/xnu-8792.41.9/EXTERNAL_HEADERS/corecrypto/ !
H A Dcc_macros.h42 #define __CC_DEBUG_REQUIRE_MESSAGE(name, assertion, label, message, file, line, value) \ argument
/xnu-8792.41.9/bsd/sys/ !
H A Dshm_internal.h133 struct label *label; /* MAC label */ member
H A Dmsg.h249 struct label *label; /* MAC framework label */ member
267 struct label *label; /* MAC label */ member
H A Dsem_internal.h190 struct label *label; /* MAC framework label */ member
/xnu-8792.41.9/tests/ !
H A Dsioc-if-addr-bounds.c402 print_rt_iflist2(const char *label) in print_rt_iflist2()
443 check_rt_if_list_for_pattern(const char *label, unsigned char pattern, size_t pattern_size) in check_rt_if_list_for_pattern()
/xnu-8792.41.9/osfmk/device/ !
H A Diokit_rpc.c315 ipc_label_t label = IPC_LABEL_DEXT; in iokit_alloc_object_port() local

12