Searched refs:set_cred_label (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/security/apparmor/ |
D | task.c | 80 set_cred_label(new, label); in aa_replace_current_label() 137 set_cred_label(new, aa_get_newest_label(label)); in aa_set_current_hat() 171 set_cred_label(new, aa_get_newest_label(ctx->previous)); in aa_restore_previous_label()
|
D | lsm.c | 69 set_cred_label(cred, NULL); in apparmor_cred_free() 77 set_cred_label(cred, NULL); in apparmor_cred_alloc_blank() 87 set_cred_label(new, aa_get_newest_label(cred_label(old))); in apparmor_cred_prepare() 96 set_cred_label(new, aa_get_newest_label(cred_label(old))); in apparmor_cred_transfer() 1650 set_cred_label(cred, aa_get_label(ns_unconfined(root_ns))); in set_init_ctx()
|
D | domain.c | 958 set_cred_label(bprm->cred, new); in apparmor_bprm_creds_for_exec()
|
/kernel/linux/linux-5.10/security/apparmor/include/ |
D | cred.h | 30 static inline void set_cred_label(const struct cred *cred, in set_cred_label() function
|