/linux-master/security/keys/ |
H A D | persistent.c | 9 #include <linux/cred.h>
|
H A D | proc.c | 167 .cred = m->file->f_cred, 191 rc = key_task_permission(key_ref, ctx.cred, KEY_NEED_VIEW);
|
H A D | keyring.c | 518 const struct cred *cred, key_perm_t perm, 527 uid, gid, cred, perm, flags, restrict_link); 617 ctx->cred, KEY_NEED_SEARCH) < 0) { 794 ctx->cred, KEY_NEED_SEARCH) < 0) 916 err = key_task_permission(keyring_ref, ctx->cred, KEY_NEED_SEARCH); 946 .cred = current_cred(), 517 keyring_alloc(const char *description, kuid_t uid, kgid_t gid, const struct cred *cred, key_perm_t perm, unsigned long flags, struct key_restriction *restrict_link, struct key *dest) argument
|
/linux-master/fs/cachefiles/ |
H A D | volume.c | 21 const struct cred *saved_cred;
|
H A D | cache.c | 22 const struct cred *saved_cred; 345 const struct cred *saved_cred;
|
/linux-master/kernel/ |
H A D | usermode_driver.c | 96 static int umd_setup(struct subprocess_info *info, struct cred *new)
|
H A D | pid_namespace.c | 16 #include <linux/cred.h> 396 !ns_capable(nsset->cred->user_ns, CAP_SYS_ADMIN))
|
/linux-master/security/integrity/platform_certs/ |
H A D | load_uefi.c | 5 #include <linux/cred.h>
|
/linux-master/kernel/cgroup/ |
H A D | namespace.c | 103 if (!ns_capable(nsset->cred->user_ns, CAP_SYS_ADMIN) ||
|
H A D | cgroup-v1.c | 494 const struct cred *cred, *tcred; local 512 cred = of->file->f_cred; 514 if (!uid_eq(cred->euid, GLOBAL_ROOT_UID) && 515 !uid_eq(cred->euid, tcred->uid) && 516 !uid_eq(cred->euid, tcred->suid))
|
/linux-master/fs/ |
H A D | fs_context.c | 293 fc->cred = get_current_cred(); 301 fc->user_ns = get_user_ns(fc->cred->user_ns); 409 get_cred(fc->cred); 525 put_cred(fc->cred);
|
H A D | anon_inodes.c | 12 #include <linux/cred.h>
|
H A D | mnt_idmapping.c | 4 #include <linux/cred.h>
|
/linux-master/net/netfilter/ |
H A D | xt_owner.c | 13 #include <linux/cred.h>
|
/linux-master/kernel/module/ |
H A D | dups.c | 19 #include <linux/cred.h>
|
/linux-master/block/ |
H A D | ioprio.c | 26 #include <linux/cred.h>
|
/linux-master/ipc/ |
H A D | mq_sysctl.c | 15 #include <linux/cred.h>
|
/linux-master/kernel/time/ |
H A D | namespace.c | 17 #include <linux/cred.h> 313 !ns_capable(nsset->cred->user_ns, CAP_SYS_ADMIN))
|
/linux-master/security/tomoyo/ |
H A D | tomoyo.c | 31 * @new: Pointer to "struct cred". 32 * @old: Pointer to "struct cred". 37 static int tomoyo_cred_prepare(struct cred *new, const struct cred *old,
|
/linux-master/include/linux/ |
H A D | io_uring_types.h | 363 const struct cred *sq_creds; /* cred used for __io_sq_thread() */ 667 const struct cred *creds;
|
/linux-master/fs/nfsd/ |
H A D | nfs4callback.c | 1007 static const struct cred *get_backchannel_cred(struct nfs4_client *clp, struct rpc_clnt *client, struct nfsd4_session *ses) 1015 struct cred *kcred; 1044 .cred = current_cred(), 1047 const struct cred *cred; local 1076 cred = get_backchannel_cred(clp, client, ses); 1077 if (!cred) { 1086 clp->cl_cb_cred = cred;
|
/linux-master/drivers/misc/vmw_vmci/ |
H A D | vmci_host.c | 18 #include <linux/cred.h> 302 const struct cred *cred; local 324 cred = get_current_cred(); 328 cred); 329 put_cred(cred);
|
/linux-master/net/sunrpc/ |
H A D | rpcb_clnt.c | 240 .cred = current_cred(), 314 .cred = current_cred(), 370 const struct cred *cred, 384 .cred = cred, 366 rpcb_create(struct net *net, const char *nodename, const char *hostname, struct sockaddr *srvaddr, size_t salen, int proto, u32 version, const struct cred *cred, const struct rpc_timeout *timeo) argument
|
H A D | svc_xprt.c | 299 const struct cred *cred) 320 newxprt->xpt_cred = get_cred(cred); 340 * @cred: credential to bind to this transport 349 const struct cred *cred) 353 err = _svc_xprt_create(serv, xprt_name, net, family, port, flags, cred); 356 err = _svc_xprt_create(serv, xprt_name, net, family, port, flags, cred); 296 _svc_xprt_create(struct svc_serv *serv, const char *xprt_name, struct net *net, const int family, const unsigned short port, int flags, const struct cred *cred) argument 346 svc_xprt_create(struct svc_serv *serv, const char *xprt_name, struct net *net, const int family, const unsigned short port, int flags, const struct cred *cred) argument
|
/linux-master/mm/ |
H A D | oom_kill.c | 47 #include <linux/cred.h> 758 const struct cred *cred; local 778 cred = get_task_cred(tsk); 779 trace_mark_victim(tsk, cred->uid.val); 780 put_cred(cred);
|