Home
last modified time | relevance | path

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

/freebsd-14.2/sys/security/mac_partition/
H A Dmac_partition.c76 #define SLOT_SET(l, v) mac_label_set((l), partition_slot, (v)) macro
151 SLOT_SET(dest, SLOT(src)); in partition_cred_copy_label()
153 SLOT_SET(dest, 0); in partition_cred_copy_label()
160 SLOT_SET(cred->cr_label, 0); in partition_cred_create_init()
167 SLOT_SET(cred->cr_label, 0); in partition_cred_create_swapper()
174 SLOT_SET(label, 0); in partition_cred_destroy_label()
201 SLOT_SET(label, 0); in partition_cred_init_label()
213 SLOT_SET(label, strtol(element_data, NULL, 10)); in partition_cred_internalize_label()
222 SLOT_SET(cred->cr_label, SLOT(newlabel)); in partition_cred_relabel()
/freebsd-14.2/sys/security/mac_veriexec/
H A Dmac_veriexec.c67 #define SLOT_SET(l, v) \ macro
208 SLOT_SET(mp->mnt_label, va.va_fsid); in mac_veriexec_vfs_mounted()
252 SLOT_SET(label, 0); in mac_veriexec_mount_init_label()
269 SLOT_SET(label, 0); in mac_veriexec_mount_destroy_label()
285 SLOT_SET(label, FINGERPRINT_INVALID); in mac_veriexec_vnode_init_label()
301 SLOT_SET(label, FINGERPRINT_INVALID); in mac_veriexec_vnode_destroy_label()
313 SLOT_SET(dest, SLOT(src)); in mac_veriexec_copy_label()
1139 SLOT_SET(vp->v_label, fp_status); in mac_veriexec_set_fingerprint_status()
/freebsd-14.2/sys/security/mac_lomac/
H A Dmac_lomac.c128 #define SLOT_SET(l, val) mac_label_set((l), lomac_slot, (uintptr_t)(val)) macro
621 SLOT_SET(label, lomac_alloc(M_WAITOK)); in lomac_init_label()
628 SLOT_SET(label, lomac_alloc(flag)); in lomac_init_label_waitcheck()
640 SLOT_SET(label, NULL); in lomac_destroy_label()
/freebsd-14.2/sys/security/mac_mls/
H A Dmac_mls.c124 #define SLOT_SET(l, val) mac_label_set((l), mls_slot, (uintptr_t)(val)) macro
475 SLOT_SET(label, mls_alloc(M_WAITOK)); in mls_init_label()
482 SLOT_SET(label, mls_alloc(flag)); in mls_init_label_waitcheck()
494 SLOT_SET(label, NULL); in mls_destroy_label()
/freebsd-14.2/sys/security/mac_biba/
H A Dmac_biba.c135 #define SLOT_SET(l, val) mac_label_set((l), biba_slot, (uintptr_t)(val)) macro
510 SLOT_SET(label, biba_alloc(M_WAITOK)); in biba_init_label()
517 SLOT_SET(label, biba_alloc(flag)); in biba_init_label_waitcheck()
529 SLOT_SET(label, NULL); in biba_destroy_label()
/freebsd-14.2/sys/security/mac_test/
H A Dmac_test.c110 #define SLOT_SET(x, v) mac_label_set((x), test_slot, (v)) macro
142 SLOT_SET(label, MAGIC_FREE); \
151 SLOT_SET(label, magic); \