/linux-6.8/include/linux/ |
D | cred.h | 111 struct cred { struct 112 atomic_long_t usage; 113 kuid_t uid; /* real UID of the task */ 114 kgid_t gid; /* real GID of the task */ 115 kuid_t suid; /* saved UID of the task */ 116 kgid_t sgid; /* saved GID of the task */ 117 kuid_t euid; /* effective UID of the task */ 118 kgid_t egid; /* effective GID of the task */ 119 kuid_t fsuid; /* UID for VFS ops */ 120 kgid_t fsgid; /* GID for VFS ops */ [all …]
|
/linux-6.8/net/sunrpc/ |
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 …]
|
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
|
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()
|
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-6.8/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-6.8/net/sunrpc/auth_gss/ |
D | auth_gss.c | 133 gss_cred_set_ctx(struct rpc_cred *cred, struct gss_cl_ctx *ctx) in gss_cred_set_ctx() 147 gss_cred_get_ctx(struct rpc_cred *cred) in gss_cred_get_ctx() 406 const struct cred *cred) in gss_encode_v0_msg() 433 const struct cred *cred) in gss_encode_v1_msg() 562 gss_setup_upcall(struct gss_auth *gss_auth, struct rpc_cred *cred) in gss_setup_upcall() 596 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in gss_refresh_upcall() local 646 struct rpc_cred *cred = &gss_cred->gc_base; in gss_create_upcall() local 1283 gss_send_destroy_context(struct rpc_cred *cred) in gss_send_destroy_context() 1344 gss_destroy_nullcred(struct rpc_cred *cred) in gss_destroy_nullcred() 1359 gss_destroy_cred(struct rpc_cred *cred) in gss_destroy_cred() [all …]
|
/linux-6.8/tools/testing/selftests/bpf/progs/ |
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-6.8/fs/nfs/ |
D | nfs4state.c | 113 int nfs4_init_clientid(struct nfs_client *clp, const struct cred *cred) in nfs4_init_clientid() 160 const struct cred *cred) in nfs40_discover_server_trunking() 210 const struct cred *cred = NULL; in nfs4_get_renew_cred_server_locked() local 235 const struct cred *cred = NULL; in nfs4_get_renew_cred() local 321 int nfs41_init_clientid(struct nfs_client *clp, const struct cred *cred) in nfs41_init_clientid() 358 const struct cred *cred) in nfs41_discover_server_trunking() 400 const struct cred *cred; in nfs4_get_clid_cred() local 407 nfs4_find_state_owner_locked(struct nfs_server *server, const struct cred *cred) in nfs4_find_state_owner_locked() 496 const struct cred *cred, in nfs4_alloc_state_owner() 578 const struct cred *cred, in nfs4_get_state_owner() [all …]
|
D | nfs4proc.c | 382 const struct cred *cred) in nfs4_test_and_free_stateid() 391 const struct cred *cred) in __nfs4_free_revoked_stateid() 399 const struct cred *cred) in nfs4_free_revoked_stateid() 826 static void nfs4_probe_sequence(struct nfs_client *client, const struct cred *cred, in nfs4_probe_sequence() 2658 static int nfs4_opendata_access(const struct cred *cred, in nfs4_opendata_access() 2829 const struct cred *cred) in nfs40_test_and_free_expired_stateid() 2837 const struct cred *cred) in nfs41_test_and_free_expired_stateid() 2871 const struct cred *cred = NULL; in nfs41_check_delegation_stateid() local 2941 const struct cred *cred = lsp->ls_state->owner->so_cred; in nfs41_check_expired_locks() local 2985 const struct cred *cred = state->owner->so_cred; in nfs41_check_open_stateid() local [all …]
|
D | delegation.c | 230 void nfs_inode_reclaim_delegation(struct inode *inode, const struct cred *cred, in nfs_inode_reclaim_delegation() 263 const struct cred *cred; in nfs_do_return_delegation() local 389 const struct cred *cred) in nfs_update_delegation_cred() 428 int nfs_inode_set_delegation(struct inode *inode, const struct cred *cred, in nfs_inode_set_delegation() 1278 const struct cred *cred) in nfs_delegation_test_free_expired() 1296 const struct cred *cred; in nfs_server_reap_expired_delegations() local 1434 nfs4_stateid *dst, const struct cred **cred) in nfs4_copy_delegation_stateid()
|
/linux-6.8/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 | 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-6.8/security/ |
D | commoncap.c | 67 int cap_capable(const struct cred *cred, struct user_namespace *targ_ns, in cap_capable() 138 const struct cred *cred, *child_cred; in cap_ptrace_access_check() local 175 const struct cred *cred, *child_cred; in cap_ptrace_traceme() local 204 const struct cred *cred; in cap_capget() local 768 static inline bool __is_real(kuid_t uid, struct cred *cred) in __is_real() 771 static inline bool __is_eff(kuid_t uid, struct cred *cred) in __is_eff() 774 static inline bool __is_suid(kuid_t uid, struct cred *cred) in __is_suid() 825 #define __cap_grew(target, source, cred) \ argument 827 #define __cap_full(field, cred) \ argument
|
/linux-6.8/kernel/ |
D | cred.c | 70 struct cred *cred = container_of(rcu, struct cred, rcu); in put_cred_rcu() local 98 void __put_cred(struct cred *cred) in __put_cred() 119 struct cred *real_cred, *cred; in exit_creds() local 155 const struct cred *cred; in get_task_cred() local
|
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
|
D | ksyms_common.c | 28 bool kallsyms_show_value(const struct cred *cred) in kallsyms_show_value()
|
/linux-6.8/fs/lockd/ |
D | svc.c | 159 const struct cred *cred) in create_lockd_listener() 172 const int family, const struct cred *cred) in create_lockd_family() 196 const struct cred *cred) in make_socks() 222 const struct cred *cred) in lockd_up_net() 384 int lockd_up(struct net *net, const struct cred *cred) in lockd_up()
|
/linux-6.8/fs/ |
D | file_table.c | 148 static int init_file(struct file *f, int flags, const struct cred *cred) in init_file() 185 struct file *alloc_empty_file(int flags, const struct cred *cred) in alloc_empty_file() 232 struct file *alloc_empty_file_noaccount(int flags, const struct cred *cred) in alloc_empty_file_noaccount() 259 struct file *alloc_empty_backing_file(int flags, const struct cred *cred) in alloc_empty_backing_file()
|
/linux-6.8/security/selinux/ |
D | hooks.c | 223 static inline u32 cred_sid(const struct cred *cred) in cred_sid() 426 const struct cred *cred) in may_context_mount_sb_relabel() 443 const struct cred *cred) in may_context_mount_inode_relabel() 628 const struct cred *cred = current_cred(); in selinux_set_mnt_opts() local 1619 static int cred_has_capability(const struct cred *cred, in cred_has_capability() 1657 static int inode_has_perm(const struct cred *cred, in inode_has_perm() 1677 static inline int dentry_has_perm(const struct cred *cred, in dentry_has_perm() 1693 static inline int path_has_perm(const struct cred *cred, in path_has_perm() 1707 static inline int file_path_has_perm(const struct cred *cred, in file_path_has_perm() 1730 static int file_has_perm(const struct cred *cred, in file_has_perm() [all …]
|
/linux-6.8/security/apparmor/ |
D | task.c | 226 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()
|
D | lsm.c | 74 static void apparmor_cred_free(struct cred *cred) in apparmor_cred_free() 83 static int apparmor_cred_alloc_blank(struct cred *cred, gfp_t gfp) in apparmor_cred_alloc_blank() 127 const struct cred *cred; in apparmor_ptrace_access_check() local 145 const struct cred *cred; in apparmor_ptrace_traceme() local 164 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 1013 int sig, const struct cred *cred) in apparmor_task_kill() 1039 static int apparmor_userns_create(const struct cred *cred) in apparmor_userns_create() 1968 struct cred *cred = (__force struct cred *)current->real_cred; in set_init_ctx() local
|
/linux-6.8/io_uring/ |
D | fdinfo.c | 20 const struct cred *cred) in io_uring_show_cred() 172 const struct cred *cred; in io_uring_show_fdinfo() local
|
/linux-6.8/include/linux/pds/ |
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-6.8/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
|