/linux-4.1.27/net/netfilter/ |
H A D | xt_owner.c | 54 if ((uid_gte(filp->f_cred->fsuid, uid_min) && owner_mt() 55 uid_lte(filp->f_cred->fsuid, uid_max)) ^ owner_mt() 63 if ((gid_gte(filp->f_cred->fsgid, gid_min) && owner_mt() 64 gid_lte(filp->f_cred->fsgid, gid_max)) ^ owner_mt()
|
H A D | nft_meta.c | 100 skb->sk->sk_socket->file->f_cred->fsuid); nft_meta_get_eval() 114 skb->sk->sk_socket->file->f_cred->fsgid); nft_meta_get_eval()
|
H A D | nf_log_common.c | 142 const struct cred *cred = sk->sk_socket->file->f_cred; nf_log_dump_sk_uid_gid()
|
H A D | nfnetlink_log.c | 555 const struct cred *cred = file->f_cred; __build_packet_message()
|
H A D | nfnetlink_queue_core.c | 265 cred = sk->sk_socket->file->f_cred; nfqnl_put_sk_uidgid()
|
/linux-4.1.27/drivers/isdn/hysdn/ |
H A D | hysdn_procconf.c | 240 filep->f_cred->fsuid, filep->f_cred->fsgid, hysdn_conf_open() 314 filep->f_cred->fsuid, filep->f_cred->fsgid, hysdn_conf_close()
|
/linux-4.1.27/include/rdma/ |
H A D | ib.h | 102 return filp->f_cred == current_cred() && segment_eq(get_fs(), USER_DS); ib_safe_file_access()
|
/linux-4.1.27/fs/ |
H A D | file_table.c | 48 put_cred(f->f_cred); file_free_rcu() 127 f->f_cred = get_cred(cred); get_empty_filp()
|
H A D | seq_file.c | 66 p->user_ns = file->f_cred->user_ns; seq_open()
|
/linux-4.1.27/fs/coda/ |
H A D | file.c | 169 coda_flags, coda_file->f_cred->fsuid); coda_release()
|
/linux-4.1.27/security/apparmor/include/ |
H A D | context.h | 31 * as the profile reference is now stored in the f_cred. However the
|
/linux-4.1.27/kernel/ |
H A D | acct.c | 481 orig_cred = override_creds(file->f_cred); do_acct_process() 492 ac.ac_uid = from_kuid_munged(file->f_cred->user_ns, orig_cred->uid); do_acct_process() 493 ac.ac_gid = from_kgid_munged(file->f_cred->user_ns, orig_cred->gid); do_acct_process()
|
H A D | capability.c | 426 if (security_capable(file->f_cred, ns, cap) == 0) file_ns_capable()
|
H A D | user_namespace.c | 819 const struct cred *cred = file->f_cred; new_idmap_permitted()
|
/linux-4.1.27/net/sched/ |
H A D | cls_flow.c | 195 kuid_t skuid = skb->sk->sk_socket->file->f_cred->fsuid; flow_get_skuid() 204 kgid_t skgid = skb->sk->sk_socket->file->f_cred->fsgid; flow_get_skgid()
|
/linux-4.1.27/fs/hppfs/ |
H A D | hppfs.c | 422 const struct cred *cred = file->f_cred; hppfs_open() 483 const struct cred *cred = file->f_cred; hppfs_dir_open()
|
/linux-4.1.27/fs/autofs4/ |
H A D | waitq.c | 149 struct user_namespace *user_ns = sbi->pipe->f_cred->user_ns; autofs4_notify_daemon()
|
/linux-4.1.27/fs/ecryptfs/ |
H A D | messaging.c | 122 if (uid_eq((*daemon)->file->f_cred->euid, current_euid())) { ecryptfs_find_daemon_by_euid()
|
/linux-4.1.27/security/apparmor/ |
H A D | lsm.c | 429 struct aa_profile *profile, *fprofile = aa_cred_profile(file->f_cred); common_file_perm()
|
/linux-4.1.27/fs/fuse/ |
H A D | inode.c | 1020 (file->f_cred->user_ns != &init_user_ns)) fuse_fill_super()
|
/linux-4.1.27/fs/proc/ |
H A D | base.c | 1026 from_kuid(file->f_cred->user_ns, proc_loginuid_read() 1074 kloginuid = make_kuid(file->f_cred->user_ns, loginuid); proc_loginuid_write()
|
/linux-4.1.27/drivers/pci/ |
H A D | pci-sysfs.c | 637 if (security_capable(filp->f_cred, &init_user_ns, CAP_SYS_ADMIN) == 0) pci_read_config()
|
/linux-4.1.27/include/net/ |
H A D | sock.h | 692 return sk->sk_socket->file->f_cred->user_ns; sk_user_ns()
|
/linux-4.1.27/include/linux/ |
H A D | fs.h | 849 const struct cred *f_cred; member in struct:file
|