Go to the documentation of this file.
18 #include <linux/capability.h>
21 #include <linux/sched.h>
22 #include <linux/slab.h>
23 #include <linux/socket.h>
33 #define APPARMOR_NAMES_MAX_INDEX 3
35 #define COMPLAIN_MODE(_profile) \
36 ((aa_g_profile_mode == APPARMOR_COMPLAIN) || \
37 ((_profile)->mode == APPARMOR_COMPLAIN))
39 #define KILL_MODE(_profile) \
40 ((aa_g_profile_mode == APPARMOR_KILL) || \
41 ((_profile)->mode == APPARMOR_KILL))
43 #define PROFILE_IS_HAT(_profile) ((_profile)->flags & PFLAG_HAT)
232 kref_get(&(ns->
base.count));
243 static inline void aa_put_namespace(
struct aa_namespace *ns)
260 #define PROF_REPLACE 0
262 #define unconfined(X) ((X)->flags & PFLAG_UNCONFINED)
293 kref_get(&(p->
base.count));
302 static inline void aa_put_profile(
struct aa_profile *p)
313 return profile->
audit;