Lines Matching +refs:debug +refs:get +refs:op
219 static int common_perm(const char *op, const struct path *path, u32 mask, in common_perm() argument
227 error = aa_path_perm(op, current_cred(), label, path, 0, mask, in common_perm()
242 static int common_perm_cond(const char *op, const struct path *path, u32 mask) in common_perm_cond() argument
254 return common_perm(op, path, mask, &cond); in common_perm_cond()
267 static int common_perm_dir_dentry(const char *op, const struct path *dir, in common_perm_dir_dentry() argument
273 return common_perm(op, &path, mask, cond); in common_perm_dir_dentry()
285 static int common_perm_rm(const char *op, const struct path *dir, in common_perm_rm() argument
299 return common_perm_dir_dentry(op, dir, dentry, mask, &cond); in common_perm_rm()
312 static int common_perm_create(const char *op, const struct path *dir, in common_perm_create() argument
320 return common_perm_dir_dentry(op, dir, dentry, mask, &cond); in common_perm_create()
522 static int common_file_perm(const char *op, struct file *file, u32 mask, in common_file_perm() argument
533 error = aa_file_perm(op, current_cred(), label, file, mask, in_atomic); in common_file_perm()
560 static int common_mmap(const char *op, struct file *file, unsigned long prot, in common_mmap() argument
579 return common_file_perm(op, file, mask, in_atomic); in common_mmap()
1199 static int aa_sock_msg_perm(const char *op, u32 request, struct socket *sock, in aa_sock_msg_perm() argument
1208 msg_perm(op, request, sock, msg, size), in aa_sock_msg_perm()
1209 aa_sk_perm(op, request, sock->sk)); in aa_sock_msg_perm()
1225 static int aa_sock_perm(const char *op, u32 request, struct socket *sock) in aa_sock_perm() argument
1232 sock_perm(op, request, sock), in aa_sock_perm()
1233 aa_sk_perm(op, request, sock->sk)); in aa_sock_perm()
1247 static int aa_sock_opt_perm(const char *op, u32 request, struct socket *sock, in aa_sock_opt_perm() argument
1255 opt_perm(op, request, sock, level, optname), in aa_sock_opt_perm()
1256 aa_sk_perm(op, request, sock->sk)); in aa_sock_opt_perm()
1544 .get = param_get_aabool
1552 .get = param_get_aauint
1562 .get = param_get_aacompressionlevel
1571 .get = param_get_aalockpolicy
1608 module_param_named(debug, aa_g_debug, aabool, S_IRUSR | S_IWUSR);
1651 .get = param_get_aaintbool