Home
last modified time | relevance | path

Searched defs:cred (Results 26 – 50 of 155) sorted by relevance

1234567

/openbmc/linux/security/keys/
H A Drequest_key.c80 static int umh_keys_init(struct subprocess_info *info, struct cred *cred) in umh_keys_init()
122 const struct cred *cred = current_cred(); in call_sbin_request_key() local
268 const struct cred *cred = current_cred(); in construct_get_dest_keyring() local
H A Dpermission.c26 int key_task_permission(const key_ref_t key_ref, const struct cred *cred, in key_task_permission()
/openbmc/linux/security/apparmor/
H A Dlsm.c66 static void apparmor_cred_free(struct cred *cred) in apparmor_cred_free()
75 static int apparmor_cred_alloc_blank(struct cred *cred, gfp_t gfp) in apparmor_cred_alloc_blank()
119 const struct cred *cred; in apparmor_ptrace_access_check() local
137 const struct cred *cred; in apparmor_ptrace_traceme() local
156 const struct cred *cred; in apparmor_capget() local
188 static int apparmor_capable(const struct cred *cred, struct user_namespace *ns, in apparmor_capable()
668 const struct cred *cred = get_task_cred(task); in apparmor_getprocattr() local
827 int sig, const struct cred *cred) in apparmor_task_kill()
1742 struct cred *cred = (__force struct cred *)current->real_cred; in set_init_ctx() local
H A Dipc.c78 static int profile_signal_perm(const struct cred *cred, in profile_signal_perm()
/openbmc/linux/kernel/
H A Duid16.c66 const struct cred *cred = current_cred(); in SYSCALL_DEFINE3() local
89 const struct cred *cred = current_cred(); in SYSCALL_DEFINE3() local
156 const struct cred *cred = current_cred(); in SYSCALL_DEFINE2() local
H A Duser_namespace.c43 static void set_cred_user_ns(struct cred *cred, struct user_namespace *user_ns) in set_cred_user_ns()
178 struct cred *cred; in unshare_userns() local
1164 const struct cred *cred = file->f_cred; in new_idmap_permitted() local
1339 struct cred *cred; in userns_install() local
/openbmc/linux/fs/nfs/
H A Dpnfs_dev.c99 const struct cred *cred, gfp_t gfp_flags) in nfs4_get_device_info()
189 const struct nfs4_deviceid *id, const struct cred *cred, in nfs4_find_get_deviceid()
H A Dnfs4renewd.c60 const struct cred *cred; in nfs4_renew_state() local
H A Ddir.c2958 …tic struct nfs_access_entry *nfs_access_search_rbtree(struct inode *inode, const struct cred *cred) in nfs_access_search_rbtree()
2978 const struct cred *cred) in nfs_access_login_time()
2997 static int nfs_access_get_cached_locked(struct inode *inode, const struct cred *cred, u32 *mask, bo… in nfs_access_get_cached_locked()
3043 static int nfs_access_get_cached_rcu(struct inode *inode, const struct cred *cred, u32 *mask) in nfs_access_get_cached_rcu()
3075 int nfs_access_get_cached(struct inode *inode, const struct cred *cred, in nfs_access_get_cached()
3091 const struct cred *cred) in nfs_access_add_rbtree()
3127 const struct cred *cred) in nfs_access_add_cache()
3200 static int nfs_do_access(struct inode *inode, const struct cred *cred, int mask) in nfs_do_access()
3263 int nfs_may_open(struct inode *inode, const struct cred *cred, int openflags) in nfs_may_open()
3290 const struct cred *cred = current_cred(); in nfs_permission() local
H A Dpnfs.c969 pnfs_set_layout_cred(struct pnfs_layout_hdr *lo, const struct cred *cred) in pnfs_set_layout_cred()
982 const struct cred *cred, bool update_barrier) in pnfs_set_layout_stateid()
1195 const struct cred **cred, in pnfs_prepare_layoutreturn()
1246 const struct cred *cred = *pcred; in pnfs_send_layoutreturn() local
1305 const struct cred *cred; in pnfs_layoutreturn_before_put_layout_hdr() local
1339 const struct cred *cred; in _pnfs_return_layout() local
1422 const struct cred *cred) in pnfs_roc()
2557 const struct cred *cred; in pnfs_mark_layout_for_return() local
2648 const struct cred *cred; in pnfs_layout_return_unused_byserver() local
H A Ddelegation.h18 const struct cred *cred; member
/openbmc/linux/security/landlock/
H A Dcred.h24 landlock_cred(const struct cred *cred) in landlock_cred()
H A Dcred.c35 static void hook_cred_free(struct cred *const cred) in hook_cred_free()
/openbmc/linux/include/linux/
H A Dwatch_queue.h63 const struct cred *cred; /* Creds of the owner of the watch */ member
104 const struct cred *cred, in post_watch_notification()
H A Dsecurity.h577 static inline int security_capable(const struct cred *cred, in security_capable()
1064 static inline int security_cred_alloc_blank(struct cred *cred, gfp_t gfp) in security_cred_alloc_blank()
1069 static inline void security_cred_free(struct cred *cred) in security_cred_free()
1089 static inline int security_kernel_act_as(struct cred *cred, u32 secid) in security_kernel_act_as()
1094 static inline int security_kernel_create_files_as(struct cred *cred, in security_kernel_create_files_as()
1191 static inline int security_task_prlimit(const struct cred *cred, in security_task_prlimit()
1222 const struct cred *cred) in security_task_kill()
1238 static inline int security_create_user_ns(const struct cred *cred) in security_create_user_ns()
1415 const struct cred *cred, in security_post_notification()
1928 const struct cred *cred, in security_key_alloc()
[all …]
H A Dnsproxy.h57 const struct cred *cred; member
/openbmc/linux/fs/lockd/
H A Dclntproc.c264 nlmclnt_call(const struct cred *cred, struct nlm_rqst *req, u32 proc) in nlmclnt_call()
409 static int nlmclnt_async_call(const struct cred *cred, struct nlm_rqst *req, u32 proc, const struct… in nlmclnt_async_call()
521 const struct cred *cred = nfs_file_cred(fl->fl_file); in nlmclnt_lock() local
/openbmc/linux/include/keys/
H A Drequest_key_auth-type.h20 const struct cred *cred; member
/openbmc/linux/net/rxrpc/
H A Dkey.c483 const struct cred *cred = current_cred(); in rxrpc_get_server_data_key() local
537 const struct cred *cred = current_cred(); in rxrpc_get_null_key() local
/openbmc/linux/net/sunrpc/
H A Dsvcauth_unix.c675 struct svc_cred *cred = &rqstp->rq_cred; in svcauth_unix_set_client() local
757 struct svc_cred *cred = &rqstp->rq_cred; in svcauth_null_accept() local
834 struct svc_cred *cred = &rqstp->rq_cred; in svcauth_tls_accept() local
919 struct svc_cred *cred = &rqstp->rq_cred; in svcauth_unix_accept() local
/openbmc/linux/include/linux/lockd/
H A Dbind.h51 const struct cred *cred; member
/openbmc/linux/include/linux/sunrpc/
H A Dauth.h39 const struct cred *cred; member
190 struct rpc_cred *get_rpccred(struct rpc_cred *cred) in get_rpccred()
/openbmc/linux/arch/mips/kernel/
H A Dmips-mt-fpaff.c51 const struct cred *cred = current_cred(), *pcred; in check_same_owner() local
/openbmc/linux/fs/nfsd/
H A Dnfssvc.c287 static int nfsd_init_socks(struct net *net, const struct cred *cred) in nfsd_init_socks()
405 static int nfsd_startup_net(struct net *net, const struct cred *cred) in nfsd_startup_net()
782 nfsd_svc(int nrservs, struct net *net, const struct cred *cred) in nfsd_svc()
/openbmc/linux/fs/smb/client/
H A Dcifs_spnego.c182 struct cred *cred; in init_cifs_spnego() local

1234567