Lines Matching refs:path
34 struct aa_label *label, struct path *path) in unix_fs_perm() argument
37 AA_BUG(!path); in unix_fs_perm()
46 if (path->dentry) { in unix_fs_perm()
48 struct inode *inode = path->dentry->d_inode; in unix_fs_perm()
49 vfsuid_t vfsuid = i_uid_into_vfsuid(mnt_idmap(path->mnt), inode); in unix_fs_perm()
55 return aa_path_perm(op, subj_cred, label, path, in unix_fs_perm()
227 u32 request, struct sock *sk, struct path *path) in profile_sk_perm() argument
242 &unix_sk(sk)->path); in profile_sk_perm()
304 &unix_sk(sk)->path); in profile_listen_perm()
339 &unix_sk(sk)->path); in profile_accept_perm()
370 &unix_sk(sk)->path); in profile_opt_perm()
389 struct sock *sk, struct path *path, in profile_peer_perm() argument
391 int peer_addrlen, struct path *peer_path, in profile_peer_perm()
412 else if (path) in profile_peer_perm()
414 &profile->label, path); in profile_peer_perm()
448 struct path *path) in aa_unix_label_sk_perm() argument
456 path)); in aa_unix_label_sk_perm()
470 is_unix_fs(sock->sk) ? &unix_sk(sock->sk)->path : NULL); in aa_unix_sock_perm()
602 struct sock *sk, struct path *path, in unix_peer_perm() argument
604 struct path *peer_path, struct aa_label *peer_label) in unix_peer_perm()
613 profile_peer_perm(profile, request, sk, path, in unix_peer_perm()
639 is_unix_fs(sk) ? &u->path : NULL, in aa_unix_peer_perm()
641 is_unix_fs(peer_sk) ? &peeru->path : NULL, in aa_unix_peer_perm()
718 struct path path; in aa_unix_file_perm() local
738 path = unix_sk(sock->sk)->path; in aa_unix_file_perm()
746 is_sk_fs ? &path : NULL); in aa_unix_file_perm()
753 struct path peer_path; in aa_unix_file_perm()
755 peer_path = unix_sk(peer_sk)->path; in aa_unix_file_perm()
773 is_sk_fs ? &path : NULL, in aa_unix_file_perm()
783 is_sk_fs ? &path : NULL, in aa_unix_file_perm()