Home
last modified time | relevance | path

Searched defs:cred (Results 1 – 25 of 122) sorted by relevance

12345

/linux/net/sunrpc/
H A Dauth.c261 rpcauth_unhash_cred_locked(struct rpc_cred *cred) in rpcauth_unhash_cred_locked()
270 rpcauth_unhash_cred(struct rpc_cred *cred) in rpcauth_unhash_cred()
312 rpcauth_stringify_acceptor(struct rpc_cred *cred) in rpcauth_stringify_acceptor()
326 struct rpc_cred *cred; in rpcauth_destroy_credlist() local
336 rpcauth_lru_add_locked(struct rpc_cred *cred) in rpcauth_lru_add_locked()
345 rpcauth_lru_add(struct rpc_cred *cred) in rpcauth_lru_add()
355 rpcauth_lru_remove_locked(struct rpc_cred *cred) in rpcauth_lru_remove_locked()
364 rpcauth_lru_remove(struct rpc_cred *cred) in rpcauth_lru_remove()
382 struct rpc_cred *cred; in rpcauth_clear_credcache() local
429 struct rpc_cred *cred, *next; in rpcauth_prune_expired() local
[all …]
H A Dauth_unix.c71 unx_destroy_cred(struct rpc_cred *cred) in unx_destroy_cred()
80 unx_match(struct auth_cred *acred, struct rpc_cred *cred, int flags) in unx_match()
114 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in unx_marshal() local
H A Dauth_null.c46 nul_destroy_cred(struct rpc_cred *cred) in nul_destroy_cred()
54 nul_match(struct auth_cred *acred, struct rpc_cred *cred, int taskflags) in nul_match()
H A Dauth_tls.c90 static void tls_destroy_cred(struct rpc_cred *cred) in tls_destroy_cred()
94 static int tls_match(struct auth_cred *acred, struct rpc_cred *cred, int taskflags) in tls_match()
/linux/security/apparmor/include/
H A Dcred.h22 static inline struct aa_label *cred_label(const struct cred *cred) in cred_label()
30 static inline void set_cred_label(const struct cred *cred, in set_cred_label()
45 static inline struct aa_label *aa_get_newest_cred_label(const struct cred *cred) in aa_get_newest_cred_label()
50 static inline struct aa_label *aa_get_newest_cred_label_condref(const struct cred *cred, in aa_get_newest_cred_label_condref()
149 static inline struct aa_label *__begin_cred_crit_section(const struct cred *cred, in __begin_cred_crit_section()
/linux/net/sunrpc/auth_gss/
H A Dauth_gss.c135 gss_cred_set_ctx(struct rpc_cred *cred, struct gss_cl_ctx *ctx) in gss_cred_set_ctx()
149 gss_cred_get_ctx(struct rpc_cred *cred) in gss_cred_get_ctx()
408 const struct cred *cred) in gss_encode_v0_msg()
435 const struct cred *cred) in gss_encode_v1_msg()
565 gss_setup_upcall(struct gss_auth *gss_auth, struct rpc_cred *cred) in gss_setup_upcall()
599 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in gss_refresh_upcall() local
649 struct rpc_cred *cred = &gss_cred->gc_base; in gss_create_upcall() local
1277 gss_send_destroy_context(struct rpc_cred *cred) in gss_send_destroy_context()
1338 gss_destroy_nullcred(struct rpc_cred *cred) in gss_destroy_nullcred()
1353 gss_destroy_cred(struct rpc_cred *cred) in gss_destroy_cred()
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_deny_namespace.c10 struct cred { struct
17 int BPF_PROG(test_userns_create, const struct cred *cred, int ret) in BPF_PROG()
/linux/fs/nfsd/
H A Dauth.c9 int nfsexp_flags(struct svc_cred *cred, struct svc_export *exp) in nfsexp_flags()
22 int nfsd_setuser(struct svc_cred *cred, struct svc_export *exp) in nfsd_setuser()
105 const struct cred *cred = rqstp->rq_xprt->xpt_cred; in nfsd_user_namespace() local
H A Dnfsfh.c92 struct svc_cred *cred, in nfsd_originating_port_ok()
104 struct svc_cred *cred, in nfsd_setuser_and_check_port()
200 struct svc_cred *cred, in nfsd_set_fh_dentry()
385 struct net *net, struct svc_cred *cred, in __fh_verify()
501 fh_verify_local(struct net *net, struct svc_cred *cred, in fh_verify_local()
/linux/fs/nfs/
H A Dnfs4state.c114 int nfs4_init_clientid(struct nfs_client *clp, const struct cred *cred) in nfs4_init_clientid()
162 const struct cred *cred = NULL; in nfs4_get_renew_cred_server_locked() local
187 const struct cred *cred = NULL; in nfs4_get_renew_cred() local
271 int nfs41_init_clientid(struct nfs_client *clp, const struct cred *cred) in nfs41_init_clientid()
308 const struct cred *cred) in nfs41_discover_server_trunking()
348 const struct cred *cred; in nfs4_get_clid_cred() local
375 nfs4_find_state_owner_locked(struct nfs_server *server, const struct cred *cred) in nfs4_find_state_owner_locked()
462 const struct cred *cred, in nfs4_alloc_state_owner()
542 const struct cred *cred, in nfs4_get_state_owner()
1009 nfs4_stateid *dst, const struct cred **cred) in nfs4_select_rw_stateid()
[all …]
H A Dnfs40proc.c112 static int nfs4_proc_async_renew(struct nfs_client *clp, const struct cred *cred, unsigned renew_fl… in nfs4_proc_async_renew()
136 static int nfs4_proc_renew(struct nfs_client *clp, const struct cred *cred) in nfs4_proc_renew()
155 const struct cred *cred) in nfs40_test_and_free_expired_stateid()
170 struct page *page, const struct cred *cred) in _nfs40_proc_get_locations()
220 static int _nfs40_proc_fsid_present(struct inode *inode, const struct cred *cred) in _nfs40_proc_fsid_present()
H A Dnfs40client.c121 const struct cred *cred) in nfs40_walk_client_list()
213 const struct cred *cred) in nfs40_discover_server_trunking()
H A Dnfs4proc.c426 const struct cred *cred) in nfs4_test_and_free_stateid()
435 const struct cred *cred) in __nfs4_free_revoked_stateid()
443 const struct cred *cred) in nfs4_free_revoked_stateid()
853 static void nfs4_probe_sequence(struct nfs_client *client, const struct cred *cred, in nfs4_probe_sequence()
1967 nfs4_process_delegation(struct inode *inode, const struct cred *cred, in nfs4_process_delegation()
2689 static int nfs4_opendata_access(const struct cred *cred, in nfs4_opendata_access()
2845 nfs4_stateid *stateid, const struct cred *cred) in nfs41_test_and_free_expired_stateid()
2880 const struct cred *cred = NULL; in nfs41_check_delegation_stateid() local
2950 const struct cred *cred = lsp->ls_state->owner->so_cred; in nfs41_check_expired_locks() local
2994 const struct cred *cred = state->owner->so_cred; in nfs41_check_open_stateid() local
[all …]
H A Ddelegation.c262 void nfs_inode_reclaim_delegation(struct inode *inode, const struct cred *cred, in nfs_inode_reclaim_delegation()
305 const struct cred *cred; in nfs_do_return_delegation() local
400 const struct cred *cred) in nfs_update_delegation_cred()
441 int nfs_inode_set_delegation(struct inode *inode, const struct cred *cred, in nfs_inode_set_delegation()
1407 const struct cred *cred) in nfs_delegation_test_free_expired()
1425 const struct cred *cred; in nfs_server_reap_expired_delegations() local
1566 nfs4_stateid *dst, const struct cred **cred) in nfs4_copy_delegation_stateid()
/linux/security/
H A Dcommoncap.c68 static inline int cap_capable_helper(const struct cred *cred, in cap_capable_helper() argument
124 int cap_capable(const struct cred *cred, struct user_namespace *target_ns, in cap_capable() argument
167 const struct cred *cred, *child_cred; cap_ptrace_access_check() local
204 const struct cred *cred, *child_cred; cap_ptrace_traceme() local
233 const struct cred *cred; cap_capget() local
807 __is_real(kuid_t uid,struct cred * cred) __is_real() argument
810 __is_eff(kuid_t uid,struct cred * cred) __is_eff() argument
813 __is_suid(kuid_t uid,struct cred * cred) __is_suid() argument
864 __cap_grew(target,source,cred) global() argument
866 __cap_full(field,cred) global() argument
[all...]
/linux/security/keys/
H A Dprocess_keys.c77 const struct cred *cred = current_cred(); in look_up_user_keyrings() local
185 struct key *get_user_session_keyring_rcu(const struct cred *cred) in get_user_session_keyring_rcu()
317 int install_session_keyring_to_cred(struct cred *cred, struct key *keyring) in install_session_keyring_to_cred()
426 const struct cred *cred = ctx->cred; in search_cred_keyrings_rcu() local
557 const struct cred *cred = ctx->cred; in search_process_keyrings_rcu() local
H A Drequest_key.c80 static int umh_keys_init(struct subprocess_info *info, struct cred *cred) in umh_keys_init() argument
122 const struct cred *cred = current_cred(); in call_sbin_request_key() local
268 const struct cred *cred = current_cred(); construct_get_dest_keyring() local
[all...]
/linux/fs/lockd/
H A Dsvc.c160 const struct cred *cred) in create_lockd_listener()
173 const int family, const struct cred *cred) in create_lockd_family()
198 const struct cred *cred) in make_socks()
223 const struct cred *cred) in lockd_up_net()
388 int lockd_up(struct net *net, const struct cred *cred) in lockd_up()
/linux/kernel/
H A Dgroups.c163 const struct cred *cred = current_cred(); in SYSCALL_DEFINE2() local
229 const struct cred *cred = current_cred(); in in_group_p() local
241 const struct cred *cred = current_cred(); in in_egroup_p() local
H A Dksyms_common.c28 bool kallsyms_show_value(const struct cred *cred) in kallsyms_show_value()
/linux/security/selinux/
H A Dhooks.c228 static inline u32 cred_sid(const struct cred *cred) in cred_sid() argument
442 const struct cred *cred) in may_context_mount_sb_relabel() argument
459 const struct cred *cred) in may_context_mount_inode_relabel() argument
646 const struct cred *cre in selinux_set_mnt_opts() local
1643 cred_has_capability(const struct cred * cred,int cap,unsigned int opts,bool initns) cred_has_capability() argument
1680 inode_has_perm(const struct cred * cred,struct inode * inode,u32 perms,struct common_audit_data * adp) inode_has_perm() argument
1700 dentry_has_perm(const struct cred * cred,struct dentry * dentry,u32 av) dentry_has_perm() argument
1719 path_has_perm(const struct cred * cred,const struct path * path,u32 av) path_has_perm() argument
1736 file_path_has_perm(const struct cred * cred,struct file * file,u32 av) file_path_has_perm() argument
1751 __file_has_perm(const struct cred * cred,const struct file * file,u32 av,bool bf_user_file) __file_has_perm() argument
1813 file_has_perm(const struct cred * cred,const struct file * file,u32 av) file_has_perm() argument
1991 superblock_has_perm(const struct cred * cred,const struct super_block * sb,u32 perms,struct common_audit_data * ad) superblock_has_perm() argument
2188 selinux_capable(const struct cred * cred,struct user_namespace * ns,int cap,unsigned int opts) selinux_capable() argument
2196 const struct cred *cred = current_cred(); selinux_quotactl() local
2231 const struct cred *cred = current_cred(); selinux_quota_on() local
2469 flush_unauthorized_files(const struct cred * cred,struct files_struct * files) flush_unauthorized_files() argument
2789 const struct cred *cred = current_cred(); selinux_sb_kern_mount() local
2799 const struct cred *cred = current_cred(); selinux_sb_statfs() local
2813 const struct cred *cred = current_cred(); selinux_mount() local
2825 const struct cred *cred = current_cred(); selinux_move_mount() local
2832 const struct cred *cred = current_cred(); selinux_umount() local
3120 const struct cred *cred = current_cred(); selinux_inode_readlink() local
3303 const struct cred *cred = current_cred(); selinux_inode_setattr() local
3343 const struct cred *cred = current_cred(); has_cap_mac_admin() local
3517 const struct cred *cred = current_cred(); selinux_inode_getxattr() local
3524 const struct cred *cred = current_cred(); selinux_inode_listxattr() local
3804 const struct cred *cred = current_cred(); selinux_revalidate_file_permission() local
3861 ioctl_has_perm(const struct cred * cred,struct file * file,u32 requested,u16 cmd) ioctl_has_perm() argument
3901 const struct cred *cred = current_cred(); selinux_file_ioctl() local
4005 const struct cred *cred = mounter_check ? __file_map_prot_check() local
4046 const struct cred *cred = mounter_check ? selinux_mmap_file_common() local
4107 const struct cred *cred = current_cred(); selinux_file_mprotect() local
4174 const struct cred *cred = current_cred(); selinux_file_lock() local
4182 const struct cred *cred = current_cred(); selinux_file_fcntl() local
4251 const struct cred *cred = current_cred(); selinux_file_receive() local
4533 selinux_task_prlimit(const struct cred * cred,const struct cred * tcred,unsigned int flags) selinux_task_prlimit() argument
4583 selinux_task_kill(struct task_struct * p,struct kernel_siginfo * info,int sig,const struct cred * cred) selinux_task_kill() argument
4612 selinux_userns_create(const struct cred * cred) selinux_userns_create() argument
7038 selinux_key_alloc(struct key * k,const struct cred * cred,unsigned long flags) selinux_key_alloc() argument
7054 selinux_key_permission(key_ref_t key_ref,const struct cred * cred,enum key_need_perm need_perm) selinux_key_permission() argument
[all...]
/linux/security/apparmor/
H A Dtask.c254 static int profile_ptrace_perm(const struct cred *cred, in profile_ptrace_perm()
270 static int profile_tracee_perm(const struct cred *cred, in profile_tracee_perm()
282 static int profile_tracer_perm(const struct cred *cred, in profile_tracer_perm()
/linux/include/linux/pds/
H A Dpds_intr.h130 u32 cred, u32 flags) in pds_core_intr_credits()
143 u32 cred; in pds_core_intr_clean_flags() local
/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_regs.h66 int intr_idx, u32 cred, u32 flags) in ionic_intr_credits()
79 u32 cred; in ionic_intr_clean() local
/linux/include/linux/sunrpc/
H A Dsvcauth.h37 static inline void init_svc_cred(struct svc_cred *cred) in init_svc_cred()
46 static inline void free_svc_cred(struct svc_cred *cred) in free_svc_cred()

12345