Home
last modified time | relevance | path

Searched refs:aa_file_ctx (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/security/apparmor/include/
Dfile.h31 static inline struct aa_file_ctx *file_ctx(struct file *file) in file_ctx()
41 struct aa_file_ctx { struct
54 static inline struct aa_file_ctx *aa_alloc_file_ctx(struct aa_label *label, in aa_alloc_file_ctx() argument
57 struct aa_file_ctx *ctx; in aa_alloc_file_ctx()
59 ctx = kzalloc(sizeof(struct aa_file_ctx), gfp); in aa_alloc_file_ctx()
71 static inline void aa_free_file_ctx(struct aa_file_ctx *ctx) in aa_free_file_ctx()
79 static inline struct aa_label *aa_get_file_label(struct aa_file_ctx *ctx) in aa_get_file_label()
/kernel/linux/linux-5.10/security/apparmor/
Dfile.c484 static void update_file_ctx(struct aa_file_ctx *fctx, struct aa_label *label, in update_file_ctx()
599 struct aa_file_ctx *fctx; in aa_file_perm()
Dlsm.c404 struct aa_file_ctx *fctx = file_ctx(file); in apparmor_file_open()
438 struct aa_file_ctx *ctx = file_ctx(file); in apparmor_file_alloc_security()
449 struct aa_file_ctx *ctx = file_ctx(file); in apparmor_file_free_security()
1168 .lbs_file = sizeof(struct aa_file_ctx),