Searched refs:fctx (Results 1 – 2 of 2) sorted by relevance
457 static void update_file_ctx(struct aa_file_ctx *fctx, struct aa_label *label, in update_file_ctx() argument463 spin_lock(&fctx->lock); in update_file_ctx()464 old = rcu_dereference_protected(fctx->label, in update_file_ctx()465 lockdep_is_held(&fctx->lock)); in update_file_ctx()469 rcu_assign_pointer(fctx->label, l); in update_file_ctx()473 fctx->allow |= request; in update_file_ctx()475 spin_unlock(&fctx->lock); in update_file_ctx()608 struct aa_file_ctx *fctx; in aa_file_perm() local616 fctx = file_ctx(file); in aa_file_perm()619 flabel = rcu_dereference(fctx->label); in aa_file_perm()[all …]
461 struct aa_file_ctx *fctx = file_ctx(file); in apparmor_file_open() local477 fctx->allow = MAY_EXEC | MAY_READ | AA_EXEC_MMAP; in apparmor_file_open()496 fctx->allow = aa_map_file_to_perms(file); in apparmor_file_open()
Completed in 8 milliseconds