Home
last modified time | relevance | path

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

/f-stack/freebsd/security/mac_partition/
H A Dmac_partition.c78 #define SLOT_SET(l, v) mac_label_set((l), partition_slot, (v)) macro
153 SLOT_SET(dest, SLOT(src)); in partition_cred_copy_label()
155 SLOT_SET(dest, 0); in partition_cred_copy_label()
162 SLOT_SET(cred->cr_label, 0); in partition_cred_create_init()
169 SLOT_SET(cred->cr_label, 0); in partition_cred_create_swapper()
176 SLOT_SET(label, 0); in partition_cred_destroy_label()
203 SLOT_SET(label, 0); in partition_cred_init_label()
215 SLOT_SET(label, strtol(element_data, NULL, 10)); in partition_cred_internalize_label()
224 SLOT_SET(cred->cr_label, SLOT(newlabel)); in partition_cred_relabel()
/f-stack/freebsd/security/mac_veriexec/
H A Dmac_veriexec.c61 #define SLOT_SET(l, v) \ macro
196 SLOT_SET(mp->mnt_label, va.va_fsid); in mac_veriexec_vfs_mounted()
242 SLOT_SET(label, 0); in mac_veriexec_mount_init_label()
259 SLOT_SET(label, 0); in mac_veriexec_mount_destroy_label()
275 SLOT_SET(label, FINGERPRINT_INVALID); in mac_veriexec_vnode_init_label()
291 SLOT_SET(label, FINGERPRINT_INVALID); in mac_veriexec_vnode_destroy_label()
303 SLOT_SET(dest, SLOT(src)); in mac_veriexec_copy_label()
835 SLOT_SET(vp->v_label, fp_status); in mac_veriexec_set_fingerprint_status()
/f-stack/freebsd/security/mac_lomac/
H A Dmac_lomac.c130 #define SLOT_SET(l, val) mac_label_set((l), lomac_slot, (uintptr_t)(val)) macro
613 SLOT_SET(label, lomac_alloc(M_WAITOK)); in lomac_init_label()
620 SLOT_SET(label, lomac_alloc(flag)); in lomac_init_label_waitcheck()
632 SLOT_SET(label, NULL); in lomac_destroy_label()
/f-stack/freebsd/security/mac_biba/
H A Dmac_biba.c137 #define SLOT_SET(l, val) mac_label_set((l), biba_slot, (uintptr_t)(val)) macro
512 SLOT_SET(label, biba_alloc(M_WAITOK)); in biba_init_label()
519 SLOT_SET(label, biba_alloc(flag)); in biba_init_label_waitcheck()
531 SLOT_SET(label, NULL); in biba_destroy_label()
/f-stack/freebsd/security/mac_mls/
H A Dmac_mls.c126 #define SLOT_SET(l, val) mac_label_set((l), mls_slot, (uintptr_t)(val)) macro
477 SLOT_SET(label, mls_alloc(M_WAITOK)); in mls_init_label()
484 SLOT_SET(label, mls_alloc(flag)); in mls_init_label_waitcheck()
496 SLOT_SET(label, NULL); in mls_destroy_label()
/f-stack/freebsd/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); \