Home
last modified time | relevance | path

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

/Linux-v4.19/security/apparmor/include/
Dfile.h35 #define file_ctx(X) ((struct aa_file_ctx *)(X)->f_security)
42 struct aa_file_ctx { struct
55 static inline struct aa_file_ctx *aa_alloc_file_ctx(struct aa_label *label, in aa_alloc_file_ctx() argument
58 struct aa_file_ctx *ctx; in aa_alloc_file_ctx()
60 ctx = kzalloc(sizeof(struct aa_file_ctx), gfp); in aa_alloc_file_ctx()
72 static inline void aa_free_file_ctx(struct aa_file_ctx *ctx) in aa_free_file_ctx()
80 static inline struct aa_label *aa_get_file_label(struct aa_file_ctx *ctx) in aa_get_file_label()
/Linux-v4.19/security/apparmor/
Dfile.c491 static void update_file_ctx(struct aa_file_ctx *fctx, struct aa_label *label, in update_file_ctx()
603 struct aa_file_ctx *fctx; in aa_file_perm()
Dlsm.c400 struct aa_file_ctx *fctx = file_ctx(file); in apparmor_file_open()