Home
last modified time | relevance | path

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

/freebsd-12-stable/sys/security/mac_partition/
Dmac_partition.c77 #define SLOT_SET(l, v) mac_label_set((l), partition_slot, (v)) macro
152 SLOT_SET(dest, SLOT(src)); in partition_cred_copy_label()
154 SLOT_SET(dest, 0); in partition_cred_copy_label()
161 SLOT_SET(cred->cr_label, 0); in partition_cred_create_init()
168 SLOT_SET(cred->cr_label, 0); in partition_cred_create_swapper()
175 SLOT_SET(label, 0); in partition_cred_destroy_label()
202 SLOT_SET(label, 0); in partition_cred_init_label()
214 SLOT_SET(label, strtol(element_data, NULL, 10)); in partition_cred_internalize_label()
223 SLOT_SET(cred->cr_label, SLOT(newlabel)); in partition_cred_relabel()
/freebsd-12-stable/sys/security/mac_veriexec/
Dmac_veriexec.c61 #define SLOT_SET(l, v) \ macro
194 SLOT_SET(mp->mnt_label, va.va_fsid); in mac_veriexec_vfs_mounted()
238 SLOT_SET(label, 0); in mac_veriexec_mount_init_label()
255 SLOT_SET(label, 0); in mac_veriexec_mount_destroy_label()
271 SLOT_SET(label, FINGERPRINT_INVALID); in mac_veriexec_vnode_init_label()
287 SLOT_SET(label, FINGERPRINT_INVALID); in mac_veriexec_vnode_destroy_label()
299 SLOT_SET(dest, SLOT(src)); in mac_veriexec_copy_label()
798 SLOT_SET(vp->v_label, fp_status); in mac_veriexec_set_fingerprint_status()
/freebsd-12-stable/sys/security/mac_lomac/
Dmac_lomac.c129 #define SLOT_SET(l, val) mac_label_set((l), lomac_slot, (uintptr_t)(val)) macro
612 SLOT_SET(label, lomac_alloc(M_WAITOK)); in lomac_init_label()
619 SLOT_SET(label, lomac_alloc(flag)); in lomac_init_label_waitcheck()
631 SLOT_SET(label, NULL); in lomac_destroy_label()
/freebsd-12-stable/sys/security/mac_biba/
Dmac_biba.c136 #define SLOT_SET(l, val) mac_label_set((l), biba_slot, (uintptr_t)(val)) macro
511 SLOT_SET(label, biba_alloc(M_WAITOK)); in biba_init_label()
518 SLOT_SET(label, biba_alloc(flag)); in biba_init_label_waitcheck()
530 SLOT_SET(label, NULL); in biba_destroy_label()
/freebsd-12-stable/sys/security/mac_mls/
Dmac_mls.c125 #define SLOT_SET(l, val) mac_label_set((l), mls_slot, (uintptr_t)(val)) macro
476 SLOT_SET(label, mls_alloc(M_WAITOK)); in mls_init_label()
483 SLOT_SET(label, mls_alloc(flag)); in mls_init_label_waitcheck()
495 SLOT_SET(label, NULL); in mls_destroy_label()
/freebsd-12-stable/sys/security/mac_test/
Dmac_test.c109 #define SLOT_SET(x, v) mac_label_set((x), test_slot, (v)) macro
140 SLOT_SET(label, MAGIC_FREE); \
149 SLOT_SET(label, magic); \