Searched refs:f_cred (Results 26 - 48 of 48) sorted by relevance
12
/linux-master/fs/ |
H A D | binfmt_misc.c | 832 old_cred = override_creds(file->f_cred);
|
/linux-master/drivers/hid/ |
H A D | uhid.c | 749 if (file->f_cred != current_cred()) {
|
/linux-master/kernel/cgroup/ |
H A D | cgroup-v1.c | 512 cred = of->file->f_cred;
|
H A D | cgroup.c | 5167 saved_cred = override_creds(of->file->f_cred);
|
/linux-master/net/netfilter/ |
H A D | nfnetlink_log.c | 617 const struct cred *cred = file->f_cred;
|
H A D | nf_log_syslog.c | 173 const struct cred *cred = sk->sk_socket->file->f_cred;
|
H A D | nfnetlink_queue.c | 442 cred = sk->sk_socket->file->f_cred;
|
/linux-master/security/smack/ |
H A D | smack_lsm.c | 2014 struct task_smack *tsp = smack_cred(file->f_cred); 2022 rc = smk_bu_credfile(file->f_cred, file, MAY_READ, rc); 4999 tsp = smack_cred(file->f_cred); 5005 rc = smk_bu_credfile(file->f_cred, file, MAY_READ, rc);
|
/linux-master/security/landlock/ |
H A D | fs.c | 1341 get_fs_domain(landlock_cred(file->f_cred)->domain);
|
/linux-master/net/sunrpc/auth_gss/ |
H A D | auth_gss.c | 426 gss_encode_v0_msg(gss_msg, file->f_cred); 515 file->f_cred);
|
/linux-master/include/linux/ |
H A D | fs.h | 1011 const struct cred *f_cred; member in struct:file 2685 return dentry_open(&file->f_path, file->f_flags, file->f_cred);
|
/linux-master/kernel/ |
H A D | kprobes.c | 2769 if (!kallsyms_show_value(pi->file->f_cred)) 2861 if (!kallsyms_show_value(m->file->f_cred))
|
/linux-master/kernel/sched/ |
H A D | psi.c | 1284 * Checking the privilege here on file->f_cred implies that a privileged user 1287 privileged = cap_raised(file->f_cred->cap_effective, CAP_SYS_RESOURCE);
|
/linux-master/fs/nfsd/ |
H A D | export.c | 1324 struct user_namespace *userns = m->file->f_cred->user_ns;
|
/linux-master/fs/fuse/ |
H A D | inode.c | 1784 (ctx->file->f_cred->user_ns != sb->s_user_ns))
|
/linux-master/fs/proc/ |
H A D | base.c | 1260 from_kuid(file->f_cred->user_ns, 1298 kloginuid = make_kuid(file->f_cred->user_ns, loginuid);
|
/linux-master/drivers/scsi/ |
H A D | sg.c | 226 if (filp->f_cred != current_real_cred()) {
|
/linux-master/include/net/ |
H A D | sock.h | 911 return sk->sk_socket->file->f_cred->user_ns;
|
/linux-master/fs/nfs/ |
H A D | inode.c | 1043 ctx->cred = get_cred(filp->f_cred);
|
H A D | dir.c | 588 .cred = desc->file->f_cred,
|
/linux-master/drivers/net/ppp/ |
H A D | ppp_generic.c | 393 if (!ns_capable(file->f_cred->user_ns, CAP_NET_ADMIN))
|
/linux-master/drivers/android/ |
H A D | binder.c | 5641 proc->cred = get_cred(filp->f_cred);
|
/linux-master/security/selinux/ |
H A D | hooks.c | 3986 return file_path_has_perm(file->f_cred, file, open_file_to_av(file));
|
Completed in 402 milliseconds
12