/linux-master/security/apparmor/ |
H A D | policy.c | 74 #include <linux/cred.h> 80 #include "include/cred.h" 789 static int policy_ns_capable(const struct cred *subj_cred, 795 /* check for MAC_ADMIN cap in cred */ 805 * @subj_cred: cred of subject 814 bool aa_policy_view_capable(const struct cred *subj_cred, 834 bool aa_policy_admin_capable(const struct cred *subj_cred, 874 * @subj_cred: subjects cred 881 int aa_may_manage_policy(const struct cred *subj_cred, struct aa_label *label, 1052 * tasks will notice to update their own cred [all...] |
/linux-master/security/integrity/ima/ |
H A D | ima_main.c | 208 static int process_measurement(struct file *file, const struct cred *cred, argument 235 action = ima_get_action(file_mnt_idmap(file), inode, cred, secid, 552 security_cred_getsecid(bprm->cred, &secid); 553 return process_measurement(bprm->file, bprm->cred, secid, NULL, 0,
|
/linux-master/fs/nfsd/ |
H A D | filecache.c | 78 nfsd_match_cred(const struct cred *c1, const struct cred *c2) 919 nfsd_file_lookup_locked(const struct net *net, const struct cred *cred, argument 933 if (!nfsd_match_cred(nf->nf_cred, cred))
|
H A D | nfs4recover.c | 74 nfs4_save_creds(const struct cred **original_creds) 76 struct cred *new; 90 nfs4_reset_creds(const struct cred *original) 195 const struct cred *original_cred; 292 const struct cred *original_cred; 388 const struct cred *original_cred; 528 const struct cred *original_cred;
|
/linux-master/fs/ecryptfs/ |
H A D | main.c | 107 const struct cred *cred = current_cred(); local 112 cred);
|
/linux-master/include/trace/events/ |
H A D | rpcgss.h | 149 __field(const void *, cred) 155 __entry->cred = gc; 160 TP_printk("cred=%p service=%s principal='%s'", 161 __entry->cred, show_gss_service(__entry->service),
|
/linux-master/fs/nfs/ |
H A D | pagelist.c | 104 hdr->cred = nfs_req_openctx(hdr->req)->cred; 848 const struct cred *cred, const struct nfs_rpc_ops *rpc_ops, 855 .rpc_cred = cred, 1075 hdr->cred, 847 nfs_initiate_pgio(struct rpc_clnt *clnt, struct nfs_pgio_header *hdr, const struct cred *cred, const struct nfs_rpc_ops *rpc_ops, const struct rpc_call_ops *call_ops, int how, int flags) argument
|
H A D | mount_clnt.c | 168 .cred = current_cred(), 256 .cred = current_cred(),
|
H A D | nfs3proc.c | 225 const struct cred *cred) 236 .rpc_cred = cred, 684 .rpc_cred = nr_arg->cred, 224 nfs3_proc_access(struct inode *inode, struct nfs_access_entry *entry, const struct cred *cred) argument
|
/linux-master/kernel/ |
H A D | signal.c | 817 const struct cred *cred = current_cred(); local 818 const struct cred *tcred = __task_cred(t); 820 return uid_eq(cred->euid, tcred->suid) || 821 uid_eq(cred->euid, tcred->uid) || 822 uid_eq(cred->uid, tcred->suid) || 823 uid_eq(cred->uid, tcred->uid) || 1517 static inline bool kill_as_cred_perm(const struct cred *cred, argument 1520 const struct cred *pcre 1553 kill_pid_usb_asyncio(int sig, int errno, sigval_t addr, struct pid *pid, const struct cred *cred) argument [all...] |
H A D | tsacct.c | 24 const struct cred *tcred;
|
/linux-master/net/core/ |
H A D | sock.c | 1554 static const struct cred *sk_get_peer_cred(struct sock *sk) 1556 const struct cred *cred; local 1559 cred = get_cred(sk->sk_peer_cred); 1562 return cred; 1565 static void cred_to_ucred(struct pid *pid, const struct cred *cred, argument 1570 if (cred) { 1573 ucred->uid = from_kuid_munged(current_ns, cred->euid); 1574 ucred->gid = from_kgid_munged(current_ns, cred 1801 const struct cred *cred; local [all...] |
/linux-master/fs/cachefiles/ |
H A D | xattr.c | 175 const struct cred *saved_cred;
|
/linux-master/certs/ |
H A D | system_keyring.c | 11 #include <linux/cred.h>
|
/linux-master/drivers/usb/core/ |
H A D | devio.c | 73 const struct cred *cred; member in struct:usb_dev_state 98 const struct cred *cred; member in struct:async 418 if (as->cred) 419 put_cred(as->cred); 625 const struct cred *cred = NULL; local 638 cred = get_cred(as->cred); [all...] |
/linux-master/include/net/ |
H A D | af_vsock.h | 45 const struct cred *owner;
|
H A D | scm.h | 7 #include <linux/cred.h>
|
/linux-master/net/netfilter/ |
H A D | nfnetlink_log.c | 617 const struct cred *cred = file->f_cred; local 619 __be32 uid = htonl(from_kuid_munged(user_ns, cred->fsuid)); 620 __be32 gid = htonl(from_kgid_munged(user_ns, cred->fsgid));
|
H A D | nf_log_syslog.c | 173 const struct cred *cred = sk->sk_socket->file->f_cred; local 176 from_kuid_munged(&init_user_ns, cred->fsuid), 177 from_kgid_munged(&init_user_ns, cred->fsgid));
|
/linux-master/include/linux/ |
H A D | ptrace.h | 59 const struct cred *ptracer_cred);
|
/linux-master/include/linux/sunrpc/ |
H A D | sched.h | 29 const struct cred * rpc_cred; /* Credentials */ 84 struct rpc_cred * tk_op_cred; /* cred being operated on */
|
/linux-master/fs/fuse/ |
H A D | fuse_i.h | 82 struct cred *cred; member in struct:fuse_backing 269 const struct cred *cred; member in struct:fuse_file
|
/linux-master/fs/ |
H A D | anon_inodes.c | 12 #include <linux/cred.h>
|
/linux-master/init/ |
H A D | init_task.c | 110 RCU_POINTER_INITIALIZER(cred, &init_cred),
|
/linux-master/drivers/crypto/ccp/ |
H A D | sev-dev.c | 236 struct cred *cred; local 237 const struct cred *old_cred; 243 cred = prepare_creds(); 244 if (!cred) 246 cred->fsuid = GLOBAL_ROOT_UID; 247 old_cred = override_creds(cred);
|