Home
last modified time | relevance | path

Searched refs:SLOT_SET (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/security/mac_partition/
H A Dmac_partition.c74 #define SLOT_SET(l, v) mac_label_set((l), partition_slot, (v)) macro
149 SLOT_SET(dest, SLOT(src)); in partition_cred_copy_label()
151 SLOT_SET(dest, 0); in partition_cred_copy_label()
158 SLOT_SET(cred->cr_label, 0); in partition_cred_create_init()
165 SLOT_SET(cred->cr_label, 0); in partition_cred_create_swapper()
172 SLOT_SET(label, 0); in partition_cred_destroy_label()
199 SLOT_SET(label, 0); in partition_cred_init_label()
211 SLOT_SET(label, strtol(element_data, NULL, 10)); in partition_cred_internalize_label()
220 SLOT_SET(cred->cr_label, SLOT(newlabel)); in partition_cred_relabel()
/freebsd/sys/security/mac_grantbylabel/
H A Dmac_grantbylabel.c80 #define SLOT_SET(l, v) \ macro
316 SLOT_SET(curproc->p_label, GBL_VERIEXEC); in mac_grantbylabel_priv_grant()
353 SLOT_SET(proc->p_textvp->v_label, gbl); in mac_grantbylabel_proc_check_resource()
431 SLOT_SET(label, 0); /* not yet set! */ in mac_grantbylabel_proc_init_label()
438 SLOT_SET(label, 0); /* not yet set! */ in mac_grantbylabel_vnode_init_label()
457 SLOT_SET(vp->v_label, gbl); in mac_grantbylabel_vnode_check_exec()
465 SLOT_SET(dest, SLOT(src)); in mac_grantbylabel_copy_label()
482 SLOT_SET(imgp->proc->p_label, gbl); in mac_grantbylabel_vnode_execve_will_transition()
/freebsd/sys/security/mac_veriexec/
H A Dmac_veriexec.c67 #define SLOT_SET(l, v) \ macro
206 SLOT_SET(mp->mnt_label, va.va_fsid); in mac_veriexec_vfs_mounted()
250 SLOT_SET(label, 0); in mac_veriexec_mount_init_label()
267 SLOT_SET(label, 0); in mac_veriexec_mount_destroy_label()
283 SLOT_SET(label, FINGERPRINT_INVALID); in mac_veriexec_vnode_init_label()
299 SLOT_SET(label, FINGERPRINT_INVALID); in mac_veriexec_vnode_destroy_label()
311 SLOT_SET(dest, SLOT(src)); in mac_veriexec_copy_label()
1138 SLOT_SET(vp->v_label, fp_status); in mac_veriexec_set_fingerprint_status()
/freebsd/sys/security/mac_lomac/
H A Dmac_lomac.c127 #define SLOT_SET(l, val) mac_label_set((l), lomac_slot, (uintptr_t)(val)) macro
620 SLOT_SET(label, lomac_alloc(M_WAITOK)); in lomac_init_label()
627 SLOT_SET(label, lomac_alloc(flag)); in lomac_init_label_waitcheck()
639 SLOT_SET(label, NULL); in lomac_destroy_label()
/freebsd/sys/security/mac_mls/
H A Dmac_mls.c122 #define SLOT_SET(l, val) mac_label_set((l), mls_slot, (uintptr_t)(val)) macro
473 SLOT_SET(label, mls_alloc(M_WAITOK)); in mls_init_label()
480 SLOT_SET(label, mls_alloc(flag)); in mls_init_label_waitcheck()
492 SLOT_SET(label, NULL); in mls_destroy_label()
/freebsd/sys/security/mac_biba/
H A Dmac_biba.c134 #define SLOT_SET(l, val) mac_label_set((l), biba_slot, (uintptr_t)(val)) macro
509 SLOT_SET(label, biba_alloc(M_WAITOK)); in biba_init_label()
516 SLOT_SET(label, biba_alloc(flag)); in biba_init_label_waitcheck()
528 SLOT_SET(label, NULL); in biba_destroy_label()
/freebsd/sys/security/mac_test/
H A Dmac_test.c108 #define SLOT_SET(x, v) mac_label_set((x), test_slot, (v)) macro
140 SLOT_SET(label, MAGIC_FREE); \
149 SLOT_SET(label, magic); \