/Linux-v5.4/include/linux/ |
D | cred.h | 111 struct cred { struct 112 atomic_t usage; 114 atomic_t subscribers; /* number of processes subscribed */ 115 void *put_addr; 116 unsigned magic; 120 kuid_t uid; /* real UID of the task */ 121 kgid_t gid; /* real GID of the task */ 122 kuid_t suid; /* saved UID of the task */ 123 kgid_t sgid; /* saved GID of the task */ 124 kuid_t euid; /* effective UID of the task */ [all …]
|
/Linux-v5.4/net/sunrpc/ |
D | auth.c | 313 rpcauth_unhash_cred_locked(struct rpc_cred *cred) in rpcauth_unhash_cred_locked() 322 rpcauth_unhash_cred(struct rpc_cred *cred) in rpcauth_unhash_cred() 364 rpcauth_stringify_acceptor(struct rpc_cred *cred) in rpcauth_stringify_acceptor() 378 struct rpc_cred *cred; in rpcauth_destroy_credlist() local 388 rpcauth_lru_add_locked(struct rpc_cred *cred) in rpcauth_lru_add_locked() 397 rpcauth_lru_add(struct rpc_cred *cred) in rpcauth_lru_add() 407 rpcauth_lru_remove_locked(struct rpc_cred *cred) in rpcauth_lru_remove_locked() 416 rpcauth_lru_remove(struct rpc_cred *cred) in rpcauth_lru_remove() 434 struct rpc_cred *cred; in rpcauth_clear_credcache() local 481 struct rpc_cred *cred, *next; in rpcauth_prune_expired() local [all …]
|
D | auth_unix.c | 63 unx_destroy_cred(struct rpc_cred *cred) in unx_destroy_cred() 72 unx_match(struct auth_cred *acred, struct rpc_cred *cred, int flags) in unx_match() 106 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in unx_marshal() local
|
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()
|
/Linux-v5.4/kernel/ |
D | cred.c | 65 static inline void set_cred_subscribers(struct cred *cred, int n) in set_cred_subscribers() 72 static inline int read_cred_subscribers(const struct cred *cred) in read_cred_subscribers() 84 struct cred *cred = (struct cred *) _cred; in alter_cred_subscribers() local 95 struct cred *cred = container_of(rcu, struct cred, rcu); in put_cred_rcu() local 132 void __put_cred(struct cred *cred) in __put_cred() 159 struct cred *cred; in exit_creds() local 195 const struct cred *cred; in get_task_cred() local 790 bool creds_are_invalid(const struct cred *cred) in creds_are_invalid() 801 static void dump_invalid_creds(const struct cred *cred, const char *label, in dump_invalid_creds() 838 void __invalid_creds(const struct cred *cred, const char *file, unsigned line) in __invalid_creds()
|
D | groups.c | 155 const struct cred *cred = current_cred(); in SYSCALL_DEFINE2() local 221 const struct cred *cred = current_cred(); in in_group_p() local 233 const struct cred *cred = current_cred(); in in_egroup_p() local
|
D | uid16.c | 66 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
|
/Linux-v5.4/security/apparmor/include/ |
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() 47 static inline struct aa_label *aa_cred_raw_label(const struct cred *cred) in aa_cred_raw_label() 61 static inline struct aa_label *aa_get_newest_cred_label(const struct cred *cred) in aa_get_newest_cred_label()
|
/Linux-v5.4/fs/nfs/ |
D | nfs4state.c | 111 int nfs4_init_clientid(struct nfs_client *clp, const struct cred *cred) in nfs4_init_clientid() 158 const struct cred *cred) in nfs40_discover_server_trunking() 208 const struct cred *cred = NULL; in nfs4_get_renew_cred_server_locked() local 233 const struct cred *cred = NULL; in nfs4_get_renew_cred() local 319 int nfs41_init_clientid(struct nfs_client *clp, const struct cred *cred) in nfs41_init_clientid() 354 const struct cred *cred) in nfs41_discover_server_trunking() 396 const struct cred *cred; in nfs4_get_clid_cred() local 403 nfs4_find_state_owner_locked(struct nfs_server *server, const struct cred *cred) in nfs4_find_state_owner_locked() 492 const struct cred *cred, in nfs4_alloc_state_owner() 575 const struct cred *cred, in nfs4_get_state_owner() [all …]
|
D | nfs4proc.c | 364 const struct cred *cred) in nfs4_test_and_free_stateid() 373 const struct cred *cred) in __nfs4_free_revoked_stateid() 381 const struct cred *cred) in nfs4_free_revoked_stateid() 2550 static int nfs4_opendata_access(const struct cred *cred, in nfs4_opendata_access() 2718 const struct cred *cred) in nfs40_test_and_free_expired_stateid() 2726 const struct cred *cred) in nfs41_test_and_free_expired_stateid() 2760 const struct cred *cred = NULL; in nfs41_check_delegation_stateid() local 2827 const struct cred *cred = lsp->ls_state->owner->so_cred; in nfs41_check_expired_locks() local 2871 const struct cred *cred = state->owner->so_cred; in nfs41_check_open_stateid() local 3025 const struct cred *cred = ctx->cred; in _nfs4_do_open() local [all …]
|
D | pnfs_dev.c | 97 const struct cred *cred, gfp_t gfp_flags) in nfs4_get_device_info() 187 const struct nfs4_deviceid *id, const struct cred *cred, in nfs4_find_get_deviceid()
|
D | delegation.c | 190 void nfs_inode_reclaim_delegation(struct inode *inode, const struct cred *cred, in nfs_inode_reclaim_delegation() 355 int nfs_inode_set_delegation(struct inode *inode, const struct cred *cred, in nfs_inode_set_delegation() 1062 const struct cred *cred) in nfs_delegation_test_free_expired() 1089 const struct cred *cred; in nfs_reap_expired_delegations() local 1212 nfs4_stateid *dst, const struct cred **cred) in nfs4_copy_delegation_stateid()
|
D | nfs4renewd.c | 60 const struct cred *cred; in nfs4_renew_state() local
|
/Linux-v5.4/net/sunrpc/auth_gss/ |
D | auth_gss.c | 114 gss_cred_set_ctx(struct rpc_cred *cred, struct gss_cl_ctx *ctx) in gss_cred_set_ctx() 157 gss_cred_get_ctx(struct rpc_cred *cred) in gss_cred_get_ctx() 416 const struct cred *cred) in gss_encode_v0_msg() 443 const struct cred *cred) in gss_encode_v1_msg() 572 gss_setup_upcall(struct gss_auth *gss_auth, struct rpc_cred *cred) in gss_setup_upcall() 606 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in gss_refresh_upcall() local 656 struct rpc_cred *cred = &gss_cred->gc_base; in gss_create_upcall() local 1274 gss_send_destroy_context(struct rpc_cred *cred) in gss_send_destroy_context() 1334 gss_destroy_nullcred(struct rpc_cred *cred) in gss_destroy_nullcred() 1349 gss_destroy_cred(struct rpc_cred *cred) in gss_destroy_cred() [all …]
|
/Linux-v5.4/security/keys/ |
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
|
D | request_key.c | 77 static int umh_keys_init(struct subprocess_info *info, struct cred *cred) in umh_keys_init() 119 const struct cred *cred = current_cred(); in call_sbin_request_key() local 265 const struct cred *cred = current_cred(); in construct_get_dest_keyring() local
|
D | permission.c | 26 int key_task_permission(const key_ref_t key_ref, const struct cred *cred, in key_task_permission()
|
/Linux-v5.4/security/ |
D | commoncap.c | 65 int cap_capable(const struct cred *cred, struct user_namespace *targ_ns, in cap_capable() 136 const struct cred *cred, *child_cred; in cap_ptrace_access_check() local 173 const struct cred *cred, *child_cred; in cap_ptrace_traceme() local 202 const struct cred *cred; in cap_capget() local 692 static inline bool __is_real(kuid_t uid, struct cred *cred) in __is_real() 695 static inline bool __is_eff(kuid_t uid, struct cred *cred) in __is_eff() 698 static inline bool __is_suid(kuid_t uid, struct cred *cred) in __is_suid() 749 #define __cap_grew(target, source, cred) \ argument 751 #define __cap_full(field, cred) \ argument
|
/Linux-v5.4/fs/lockd/ |
D | svc.c | 193 const struct cred *cred) in create_lockd_listener() 206 const int family, const struct cred *cred) in create_lockd_family() 230 const struct cred *cred) in make_socks() 255 const struct cred *cred) in lockd_up_net() 470 int lockd_up(struct net *net, const struct cred *cred) in lockd_up()
|
D | clntproc.c | 261 nlmclnt_call(const struct cred *cred, struct nlm_rqst *req, u32 proc) in nlmclnt_call() 406 static int nlmclnt_async_call(const struct cred *cred, struct nlm_rqst *req, u32 proc, const struct… in nlmclnt_async_call() 515 const struct cred *cred = nfs_file_cred(fl->fl_file); in nlmclnt_lock() local
|
/Linux-v5.4/security/selinux/ |
D | hooks.c | 210 struct cred *cred = (struct cred *) current->real_cred; in cred_init_security() local 220 static inline u32 cred_sid(const struct cred *cred) in cred_sid() 461 const struct cred *cred) in may_context_mount_sb_relabel() 480 const struct cred *cred) in may_context_mount_inode_relabel() 651 const struct cred *cred = current_cred(); in selinux_set_mnt_opts() local 1628 static int cred_has_capability(const struct cred *cred, in cred_has_capability() 1668 static int inode_has_perm(const struct cred *cred, in inode_has_perm() 1691 static inline int dentry_has_perm(const struct cred *cred, in dentry_has_perm() 1707 static inline int path_has_perm(const struct cred *cred, in path_has_perm() 1721 static inline int file_path_has_perm(const struct cred *cred, in file_path_has_perm() [all …]
|
/Linux-v5.4/fs/ |
D | file_table.c | 96 static struct file *__alloc_file(int flags, const struct cred *cred) in __alloc_file() 134 struct file *alloc_empty_file(int flags, const struct cred *cred) in alloc_empty_file() 171 struct file *alloc_empty_file_noaccount(int flags, const struct cred *cred) in alloc_empty_file_noaccount()
|
/Linux-v5.4/drivers/net/ethernet/pensando/ionic/ |
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-v5.4/include/linux/sunrpc/ |
D | svcauth.h | 38 static inline void init_svc_cred(struct svc_cred *cred) in init_svc_cred() 47 static inline void free_svc_cred(struct svc_cred *cred) in free_svc_cred()
|
/Linux-v5.4/include/keys/ |
D | request_key_auth-type.h | 20 const struct cred *cred; member
|