Home
last modified time | relevance | path

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

12

/xnu-8019.80.24/security/
H A Dmac_label.c78 struct label *label; in mac_labelzone_alloc() local
93 struct label *label; member
117 struct label *label; variable
129 mac_labelzone_free(struct label *label) in mac_labelzone_free()
142 struct label *label; variable
166 struct label *label = *labelp; in mac_label_verify() local
195 mac_label_get(struct label *label, int slot) in mac_label_get()
211 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.c330 mac_exc_set_label(struct exception_action *action, struct label *label) in mac_exc_set_label()
348 mac_exc_free_label(struct label *label) in mac_exc_free_label()
357 mac_exc_associate_action_label(struct exception_action *action, struct label *label) in mac_exc_associate_action_label()
391 mac_exc_update_task_crash_label(struct task *task, struct label *label) in mac_exc_update_task_crash_label()
409 struct label *label = mac_exc_create_label(NULL); in mac_exc_create_label_for_proc() local
429 struct label *label = NULL; in mac_exc_action_check_exception_send() local
H A Dmac_internal.h276 #define MAC_INTERNALIZE(obj, label, instring) \ argument
279 #define MAC_EXTERNALIZE(obj, label, elementlist, outbuf, outbuflen) \ argument
282 #define MAC_EXTERNALIZE_AUDIT(obj, label, outbuf, outbuflen) \ argument
H A Dmac_process.c88 struct label *label; in mac_cred_label_alloc() local
105 mac_cred_label_free(struct label *label) in mac_cred_label_free()
147 struct label *label = mac_cred_label(cred); in mac_cred_label_destroy() local
153 mac_cred_label_externalize(struct label *label, char *elements, in mac_cred_label_externalize()
164 mac_cred_label_internalize(struct label *label, char *string) in mac_cred_label_internalize()
H A Dmac_base.c917 mac_label_externalize(size_t mpo_externalize_off, struct label *label, in mac_label_externalize()
1016 mac_externalize(size_t mpo_externalize_off, struct label *label, in mac_externalize()
1080 mac_label_internalize(size_t mpo_internalize_off, struct label *label, in mac_label_internalize()
1136 mac_internalize(size_t mpo_internalize_off, struct label *label, in mac_internalize()
1800 struct label *label; in mac_mount_label_get() local
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-8019.80.24/osfmk/arm/
H A Dasm.h234 #define GLUE_LABEL_GUTS(label, tag) L_##label##_##tag##_glue argument
235 #define GLUE_LABEL(label, tag) GLUE_LABEL_GUTS(label, tag) argument
237 #define LOAD_ADDR(reg, label) \ argument
253 #define LOAD_ADDR_PC(label) \ argument
265 #define LOAD_ADDR_GEN_DEF(label) \ argument
305 #define COND_EXTERN_BEQ(label) \ argument
310 #define COND_EXTERN_BLNE(label) \ argument
315 #define COND_EXTERN_BLGT(label) \ argument
H A Dstart.s108 #define LOAD_PHYS_ADDR(reg, label) \ argument
/xnu-8019.80.24/bsd/kern/
H A Dkern_guarded.c963 vng_lbl_get(struct label *label) in vng_lbl_get()
976 vng_lbl_get_withattr(struct label *label, unsigned attrmask) in vng_lbl_get_withattr()
987 vng_lbl_set(struct label *label, void *data) in vng_lbl_set()
1422 struct vnode *vp, struct label *label, in vng_vnode_check_rename()
1451 struct vnode *vp, struct label *label, struct componentname *__unused cnp) in vng_vnode_check_link()
1469 struct vnode *vp, struct label *label, struct componentname *__unused cnp) in vng_vnode_check_unlink()
1489 kauth_cred_t __unused file_cred, struct vnode *vp, struct label *label) in vng_vnode_check_write()
1518 struct label *label) in vng_vnode_check_truncate()
1570 struct vnode *vp, struct label *label, int acc_mode) in vng_vnode_check_open()
H A Dkern_credential.c4457 kauth_cred_label_update(kauth_cred_t cred, struct label *label) in kauth_cred_label_update()
4540 kauth_proc_label_update(struct proc *p, struct label *label) in kauth_proc_label_update()
4592 kauth_cred_setlabel(kauth_cred_t cred, struct label *label) in kauth_cred_setlabel()
4599 kauth_proc_setlabel(struct proc *p, struct label *label) in kauth_proc_setlabel()
4612 kauth_cred_label_update(__unused kauth_cred_t cred, __unused void *label) in kauth_cred_label_update()
4618 kauth_proc_label_update(__unused struct proc *p, __unused void *label) in kauth_proc_label_update()
4629 kauth_cred_setlabel(__unused kauth_cred_t cred, __unused void *label) in kauth_cred_setlabel()
4636 kauth_proc_setlabel(__unused struct proc *p, __unused void *label) in kauth_proc_setlabel()
/xnu-8019.80.24/osfmk/ipc/
H A Dipc_space.c289 ipc_label_t label, in ipc_space_create()
336 ipc_label_t label) in ipc_space_label()
368 ipc_label_t label) in ipc_space_add_label()
/xnu-8019.80.24/osfmk/kern/
H A Dexception.h50 struct label *label; /* MAC label associated with action */ member
H A Dipc_kobject.c880 ipc_label_t label, in ipc_kobject_alloc_labeled_port()
1052 ipc_label_t label) in ipc_kobject_make_send_lazy_alloc_labeled_port()
1691 ipc_label_t label; in ipc_kobject_label_check() local
/xnu-8019.80.24/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-8019.80.24/osfmk/i386/
H A Di386_lock.s60 #define LOAD_STRING_ARG0(label) leaq label(%rip), %rdi ; argument
/xnu-8019.80.24/EXTERNAL_HEADERS/corecrypto/
H A Dcc_macros.h42 #define __CC_DEBUG_REQUIRE_MESSAGE(name, assertion, label, message, file, line, value) \ argument
/xnu-8019.80.24/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-8019.80.24/osfmk/corecrypto/
H A Dccdrbg_nisthmac.c71 dump_state(const char *label, struct ccdrbg_nisthmac_state *drbg_ctx) in dump_state()
/xnu-8019.80.24/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-8019.80.24/osfmk/corpses/
H A Dcorpse.c563 struct label *label = NULL; in task_generate_corpse_internal() local

12