| /linux/net/sunrpc/ |
| H A D | auth.c | 261 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 D | auth_unix.c | 71 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 D | auth_null.c | 46 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 D | auth_tls.c | 90 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 D | cred.h | 22 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 D | auth_gss.c | 135 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/fs/nfs/ |
| H A D | nfs4state.c | 114 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 355 nfs4_find_state_owner_locked(struct nfs_server *server, const struct cred *cred) in nfs4_find_state_owner_locked() 444 const struct cred *cred, in nfs4_alloc_state_owner() 520 const struct cred *cred, in nfs4_get_state_owner() 983 nfs4_stateid *dst, const struct cred **cred) in nfs4_select_rw_stateid() [all …]
|
| H A D | nfs40proc.c | 112 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 D | nfs4proc.c | 412 const struct cred *cred) in nfs4_test_and_free_stateid() 421 const struct cred *cred) in __nfs4_free_revoked_stateid() 429 const struct cred *cred) in nfs4_free_revoked_stateid() 839 static void nfs4_probe_sequence(struct nfs_client *client, const struct cred *cred, in nfs4_probe_sequence() 1953 nfs4_process_delegation(struct inode *inode, const struct cred *cred, in nfs4_process_delegation() 2675 static int nfs4_opendata_access(const struct cred *cred, in nfs4_opendata_access() 2831 nfs4_stateid *stateid, const struct cred *cred) in nfs41_test_and_free_expired_stateid() 2866 const struct cred *cred = NULL; in nfs41_check_delegation_stateid() local 2936 const struct cred *cred = lsp->ls_state->owner->so_cred; in nfs41_check_expired_locks() local 2980 const struct cred *cred = state->owner->so_cred; in nfs41_check_open_stateid() local [all …]
|
| H A D | nfs40client.c | 121 const struct cred *cred) in nfs40_walk_client_list() 213 const struct cred *cred) in nfs40_discover_server_trunking()
|
| H A D | delegation.c | 255 void nfs_inode_reclaim_delegation(struct inode *inode, const struct cred *cred, in nfs_inode_reclaim_delegation() 298 const struct cred *cred; in nfs_do_return_delegation() local 393 const struct cred *cred) in nfs_update_delegation_cred() 434 int nfs_inode_set_delegation(struct inode *inode, const struct cred *cred, in nfs_inode_set_delegation() 1390 const struct cred *cred) in nfs_delegation_test_free_expired() 1408 const struct cred *cred; in nfs_server_reap_expired_delegations() local 1549 nfs4_stateid *dst, const struct cred **cred) in nfs4_copy_delegation_stateid()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_deny_namespace.c | 10 struct cred { struct 17 int BPF_PROG(test_userns_create, const struct cred *cred, int ret) in BPF_PROG()
|
| /linux/security/ |
| H A D | commoncap.c | 68 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 D | process_keys.c | 77 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 D | request_key.c | 80 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
|
| /linux/kernel/ |
| H A D | cred.c | 43 struct cred *cred = container_of(rcu, struct cred, rcu); in put_cred_rcu() local 71 __put_cred(struct cred * cred) __put_cred() argument 92 struct cred *real_cred, *cred; exit_creds() local 128 const struct cred *cred; get_task_cred() local [all...] |
| H A D | groups.c | 163 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
|
| /linux/fs/nfsd/ |
| H A D | auth.c | 8 int nfsexp_flags(struct svc_cred *cred, struct svc_export *exp) in nfsexp_flags() 21 int nfsd_setuser(struct svc_cred *cred, struct svc_export *exp) in nfsd_setuser()
|
| H A D | nfsfh.c | 91 struct svc_cred *cred, in nfsd_originating_port_ok() 103 struct svc_cred *cred, in nfsd_setuser_and_check_port() 146 struct svc_cred *cred, in nfsd_set_fh_dentry() 317 struct net *net, struct svc_cred *cred, in __fh_verify() 433 fh_verify_local(struct net *net, struct svc_cred *cred, in fh_verify_local()
|
| /linux/security/selinux/ |
| H A D | hooks.c | 226 static inline u32 cred_sid(const struct cred *cred) in cred_sid() 440 const struct cred *cred) in may_context_mount_sb_relabel() 457 const struct cred *cred) in may_context_mount_inode_relabel() 644 const struct cred *cred = current_cred(); in selinux_set_mnt_opts() local 1640 static int cred_has_capability(const struct cred *cred, in cred_has_capability() 1677 static int inode_has_perm(const struct cred *cred, in inode_has_perm() 1697 static inline int dentry_has_perm(const struct cred *cred, in dentry_has_perm() 1716 static inline int path_has_perm(const struct cred *cred, in path_has_perm() 1733 static inline int file_path_has_perm(const struct cred *cred, in file_path_has_perm() 1756 static int file_has_perm(const struct cred *cred, in file_has_perm() [all …]
|
| /linux/security/apparmor/ |
| H A D | task.c | 227 static int profile_ptrace_perm(const struct cred *cred, in profile_ptrace_perm() 243 static int profile_tracee_perm(const struct cred *cred, in profile_tracee_perm() 255 static int profile_tracer_perm(const struct cred *cred, in profile_tracer_perm()
|
| H A D | lsm.c | 76 static void apparmor_cred_free(struct cred *cred) in apparmor_cred_free() 85 static int apparmor_cred_alloc_blank(struct cred *cred, gfp_t gfp) in apparmor_cred_alloc_blank() 129 const struct cred *cred; in apparmor_ptrace_access_check() local 148 const struct cred *cred; in apparmor_ptrace_traceme() local 168 const struct cred *cred; in apparmor_capget() local 196 static int apparmor_capable(const struct cred *cred, struct user_namespace *ns, in apparmor_capable() 826 const struct cred *cred = get_task_cred(task); in apparmor_getprocattr() local 1021 int sig, const struct cred *cred) in apparmor_task_kill() 1048 static int apparmor_userns_create(const struct cred *cred) in apparmor_userns_create() 1123 static int unix_connect_perm(const struct cred *cred, struct aa_label *label, in unix_connect_perm() [all …]
|
| /linux/include/linux/pds/ |
| H A D | pds_intr.h | 130 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 D | ionic_regs.h | 66 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 D | svcauth.h | 37 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()
|