/linux-3.4.99/security/apparmor/include/ |
D | policy.h | 71 struct aa_profile; 128 struct aa_profile *unconfined; 177 struct aa_profile { struct 179 struct aa_profile *parent; argument 182 struct aa_profile *replacedby; argument 203 void aa_add_profile(struct aa_policy *common, struct aa_profile *profile); argument 249 struct aa_profile *aa_alloc_profile(const char *name); 250 struct aa_profile *aa_new_null_profile(struct aa_profile *parent, int hat); 252 struct aa_profile *aa_find_child(struct aa_profile *parent, const char *name); 253 struct aa_profile *aa_lookup_profile(struct aa_namespace *ns, const char *name); [all …]
|
D | context.h | 69 struct aa_profile *profile; 70 struct aa_profile *onexec; 71 struct aa_profile *previous; 79 int aa_replace_current_profile(struct aa_profile *profile); 80 int aa_set_current_onexec(struct aa_profile *profile); 81 int aa_set_current_hat(struct aa_profile *profile, u64 token); 109 static inline struct aa_profile *aa_cred_profile(const struct cred *cred) in aa_cred_profile() 124 static inline struct aa_profile *__aa_current_profile(void) in __aa_current_profile() 137 static inline struct aa_profile *aa_current_profile(void) in aa_current_profile() 140 struct aa_profile *profile; in aa_current_profile()
|
D | resource.h | 23 struct aa_profile; 40 int aa_task_setrlimit(struct aa_profile *profile, struct task_struct *, 43 void __aa_transition_rlimits(struct aa_profile *old, struct aa_profile *new);
|
D | ipc.h | 20 struct aa_profile; 22 int aa_may_ptrace(struct task_struct *tracer_task, struct aa_profile *tracer, 23 struct aa_profile *tracee, unsigned int mode);
|
D | file.h | 21 struct aa_profile; 147 int aa_audit_file(struct aa_profile *profile, struct file_perms *perms, 174 int aa_path_perm(int op, struct aa_profile *profile, struct path *path, 177 int aa_path_link(struct aa_profile *profile, struct dentry *old_dentry, 180 int aa_file_perm(int op, struct aa_profile *profile, struct file *file,
|
D | capability.h | 20 struct aa_profile; 37 int aa_capable(struct task_struct *task, struct aa_profile *profile, int cap,
|
D | audit.h | 26 struct aa_profile; 137 int aa_audit(int type, struct aa_profile *profile, gfp_t gfp,
|
D | sid.h | 19 struct aa_profile;
|
D | policy_unpack.h | 18 struct aa_profile *aa_unpack(void *udata, size_t size, const char **ns);
|
D | procattr.h | 21 int aa_getprocattr(struct aa_profile *profile, char **string);
|
/linux-3.4.99/security/apparmor/ |
D | policy.c | 448 struct aa_profile *profile) in __list_add_profile() 467 static void __list_remove_profile(struct aa_profile *profile) in __list_remove_profile() 487 static void __replace_profile(struct aa_profile *old, struct aa_profile *new) in __replace_profile() 490 struct aa_profile *child, *tmp; in __replace_profile() 523 static void __remove_profile(struct aa_profile *profile) in __remove_profile() 540 struct aa_profile *profile, *tmp; in __profile_list_release() 574 struct aa_profile *unconfined = ns->unconfined; in __remove_namespace() 644 struct aa_profile *aa_alloc_profile(const char *hname) in aa_alloc_profile() 646 struct aa_profile *profile; in aa_alloc_profile() 676 struct aa_profile *aa_new_null_profile(struct aa_profile *parent, int hat) in aa_new_null_profile() [all …]
|
D | ipc.c | 40 static int aa_audit_ptrace(struct aa_profile *profile, in aa_audit_ptrace() 41 struct aa_profile *target, int error) in aa_audit_ptrace() 64 int aa_may_ptrace(struct task_struct *tracer_task, struct aa_profile *tracer, in aa_may_ptrace() 65 struct aa_profile *tracee, unsigned int mode) in aa_may_ptrace() 98 struct aa_profile *tracer_p; in aa_ptrace() 107 struct aa_profile *tracee_p = aa_cred_profile(lcred); in aa_ptrace()
|
D | domain.c | 62 struct aa_profile *to_profile) in may_change_ptraced_domain() 66 struct aa_profile *tracerp = NULL; in may_change_ptraced_domain() 101 static struct file_perms change_profile_perms(struct aa_profile *profile, in change_profile_perms() 145 static struct aa_profile *__attach_match(const char *name, in __attach_match() 149 struct aa_profile *profile, *candidate = NULL; in __attach_match() 179 static struct aa_profile *find_attach(struct aa_namespace *ns, in find_attach() 182 struct aa_profile *profile; in find_attach() 245 static struct aa_profile *x_table_lookup(struct aa_profile *profile, u32 xindex) in x_table_lookup() 247 struct aa_profile *new_profile = NULL; in x_table_lookup() 306 static struct aa_profile *x_to_profile(struct aa_profile *profile, in x_to_profile() [all …]
|
D | capability.c | 31 struct aa_profile *profile; 61 static int audit_caps(struct aa_profile *profile, struct task_struct *task, in audit_caps() 115 static int profile_capable(struct aa_profile *profile, int cap) in profile_capable() 131 int aa_capable(struct task_struct *task, struct aa_profile *profile, int cap, in aa_capable()
|
D | resource.c | 49 static int audit_resource(struct aa_profile *profile, unsigned int resource, in audit_resource() 90 int aa_task_setrlimit(struct aa_profile *profile, struct task_struct *task, in aa_task_setrlimit() 112 void __aa_transition_rlimits(struct aa_profile *old, struct aa_profile *new) in __aa_transition_rlimits()
|
D | policy_unpack.c | 74 struct aa_profile *name = sa->aad->iface.target; in audit_cb() 92 static int audit_iface(struct aa_profile *new, const char *name, in audit_iface() 95 struct aa_profile *profile = __aa_current_profile(); in audit_iface() 367 static bool unpack_trans_table(struct aa_ext *e, struct aa_profile *profile) in unpack_trans_table() 430 static bool unpack_rlimits(struct aa_ext *e, struct aa_profile *profile) in unpack_rlimits() 470 static struct aa_profile *unpack_profile(struct aa_ext *e) in unpack_profile() 472 struct aa_profile *profile = NULL; in unpack_profile() 679 static int verify_profile(struct aa_profile *profile) in verify_profile() 704 struct aa_profile *aa_unpack(void *udata, size_t size, const char **ns) in aa_unpack() 706 struct aa_profile *profile = NULL; in aa_unpack()
|
D | context.c | 77 int aa_replace_current_profile(struct aa_profile *profile) in aa_replace_current_profile() 119 int aa_set_current_onexec(struct aa_profile *profile) in aa_set_current_onexec() 145 int aa_set_current_hat(struct aa_profile *profile, u64 token) in aa_set_current_hat()
|
D | lsm.c | 119 struct aa_profile *profile; in apparmor_capget() 142 struct aa_profile *profile; in apparmor_capable() 165 struct aa_profile *profile; in common_perm() 305 struct aa_profile *profile; in apparmor_path_link() 320 struct aa_profile *profile; in apparmor_path_rename() 379 struct aa_profile *profile; in apparmor_dentry_open() 429 struct aa_profile *profile, *fprofile = aa_cred_profile(file->f_cred); in common_file_perm() 518 struct aa_profile *profile; in apparmor_getprocattr() 616 struct aa_profile *profile = __aa_current_profile(); in apparmor_task_setrlimit()
|
D | audit.c | 134 struct aa_profile *profile = sa->aad->profile; in audit_pre() 178 int aa_audit(int type, struct aa_profile *profile, gfp_t gfp, in aa_audit()
|
D | file.c | 104 int aa_audit_file(struct aa_profile *profile, struct file_perms *perms, in aa_audit_file() 276 int aa_path_perm(int op, struct aa_profile *profile, struct path *path, in aa_path_perm() 346 int aa_path_link(struct aa_profile *profile, struct dentry *old_dentry, in aa_path_link() 446 int aa_file_perm(int op, struct aa_profile *profile, struct file *file, in aa_file_perm()
|
D | procattr.c | 36 int aa_getprocattr(struct aa_profile *profile, char **string) in aa_getprocattr()
|