Lines Matching refs:op

212  * @op: operation being checked
219 static int common_perm(const char *op, const struct path *path, u32 mask,
227 error = aa_path_perm(op, current_cred(), label, path, 0, mask,
236 * @op: operation being checked
242 static int common_perm_cond(const char *op, const struct path *path, u32 mask)
254 return common_perm(op, path, mask, &cond);
259 * @op: operation being checked
267 static int common_perm_dir_dentry(const char *op, const struct path *dir,
273 return common_perm(op, &path, mask, cond);
278 * @op: operation being checked
285 static int common_perm_rm(const char *op, const struct path *dir,
299 return common_perm_dir_dentry(op, dir, dentry, mask, &cond);
304 * @op: operation being checked
312 static int common_perm_create(const char *op, const struct path *dir,
320 return common_perm_dir_dentry(op, dir, dentry, mask, &cond);
521 static int common_file_perm(const char *op, struct file *file, u32 mask,
532 error = aa_file_perm(op, current_cred(), label, file, mask, in_atomic);
559 static int common_mmap(const char *op, struct file *file, unsigned long prot,
578 return common_file_perm(op, file, mask, in_atomic);
1210 static int aa_sock_msg_perm(const char *op, u32 request, struct socket *sock,
1219 msg_perm(op, request, sock, msg, size),
1220 aa_sk_perm(op, request, sock->sk));
1236 static int aa_sock_perm(const char *op, u32 request, struct socket *sock)
1243 sock_perm(op, request, sock),
1244 aa_sk_perm(op, request, sock->sk));
1258 static int aa_sock_opt_perm(const char *op, u32 request, struct socket *sock,
1266 opt_perm(op, request, sock, level, optname),
1267 aa_sk_perm(op, request, sock->sk));