| /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/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/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 | 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 | pnfs_dev.c | 99 const struct cred *cred, gfp_t gfp_flags) in nfs4_get_device_info() 186 const struct nfs4_deviceid *id, const struct cred *cred, in nfs4_find_get_deviceid()
|
| /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() 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...] |
| H A D | permission.c | 26 int key_task_permission(const key_ref_t key_ref, const struct cred *cred, in key_task_permission()
|
| /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/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()
|
| /linux/kernel/ |
| 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
|
| H A D | ksyms_common.c | 28 bool kallsyms_show_value(const struct cred *cred) in kallsyms_show_value()
|
| H A 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/security/selinux/ |
| H A D | hooks.c | 226 static inline u32 cred_sid(const struct cred *cred) in cred_sid() argument 440 const struct cred *cred) in may_context_mount_sb_relabel() argument 457 const struct cred *cred) in may_context_mount_inode_relabel() argument 644 const struct cred *cre in selinux_set_mnt_opts() local 1641 cred_has_capability(const struct cred * cred,int cap,unsigned int opts,bool initns) cred_has_capability() argument 1678 inode_has_perm(const struct cred * cred,struct inode * inode,u32 perms,struct common_audit_data * adp) inode_has_perm() argument 1698 dentry_has_perm(const struct cred * cred,struct dentry * dentry,u32 av) dentry_has_perm() argument 1717 path_has_perm(const struct cred * cred,const struct path * path,u32 av) path_has_perm() argument 1734 file_path_has_perm(const struct cred * cred,struct file * file,u32 av) file_path_has_perm() argument 1749 __file_has_perm(const struct cred * cred,const struct file * file,u32 av,bool bf_user_file) __file_has_perm() argument 1811 file_has_perm(const struct cred * cred,const struct file * file,u32 av) file_has_perm() argument 1989 superblock_has_perm(const struct cred * cred,const struct super_block * sb,u32 perms,struct common_audit_data * ad) superblock_has_perm() argument 2186 selinux_capable(const struct cred * cred,struct user_namespace * ns,int cap,unsigned int opts) selinux_capable() argument 2194 const struct cred *cred = current_cred(); selinux_quotactl() local 2229 const struct cred *cred = current_cred(); selinux_quota_on() local 2467 flush_unauthorized_files(const struct cred * cred,struct files_struct * files) flush_unauthorized_files() argument 2787 const struct cred *cred = current_cred(); selinux_sb_kern_mount() local 2797 const struct cred *cred = current_cred(); selinux_sb_statfs() local 2811 const struct cred *cred = current_cred(); selinux_mount() local 2823 const struct cred *cred = current_cred(); selinux_move_mount() local 2830 const struct cred *cred = current_cred(); selinux_umount() local 3118 const struct cred *cred = current_cred(); selinux_inode_readlink() local 3301 const struct cred *cred = current_cred(); selinux_inode_setattr() local 3341 const struct cred *cred = current_cred(); has_cap_mac_admin() local 3515 const struct cred *cred = current_cred(); selinux_inode_getxattr() local 3522 const struct cred *cred = current_cred(); selinux_inode_listxattr() local 3806 const struct cred *cred = current_cred(); selinux_revalidate_file_permission() local 3863 ioctl_has_perm(const struct cred * cred,struct file * file,u32 requested,u16 cmd) ioctl_has_perm() argument 3903 const struct cred *cred = current_cred(); selinux_file_ioctl() local 3976 __file_map_prot_check(const struct cred * cred,const struct file * file,unsigned long prot,bool shared,bool bf_user_file) __file_map_prot_check() argument 4020 file_map_prot_check(const struct cred * cred,const struct file * file,unsigned long prot,bool shared) file_map_prot_check() argument 4040 selinux_mmap_file_common(const struct cred * cred,struct file * file,unsigned long prot,bool shared) selinux_mmap_file_common() argument 4103 const struct cred *cred = current_cred(); selinux_file_mprotect() local 4170 const struct cred *cred = current_cred(); selinux_file_lock() local 4178 const struct cred *cred = current_cred(); selinux_file_fcntl() local 4247 const struct cred *cred = current_cred(); selinux_file_receive() local 4529 selinux_task_prlimit(const struct cred * cred,const struct cred * tcred,unsigned int flags) selinux_task_prlimit() argument 4579 selinux_task_kill(struct task_struct * p,struct kernel_siginfo * info,int sig,const struct cred * cred) selinux_task_kill() argument 4608 selinux_userns_create(const struct cred * cred) selinux_userns_create() argument 7011 selinux_key_alloc(struct key * k,const struct cred * cred,unsigned long flags) selinux_key_alloc() argument 7027 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 D | task.c | 227 static int profile_ptrace_perm(const struct cred *cre argument 243 profile_tracee_perm(const struct cred * cred,struct aa_profile * tracee,struct aa_label * tracer,u32 request,struct apparmor_audit_data * ad) profile_tracee_perm() argument 255 profile_tracer_perm(const struct cred * cred,struct aa_profile * tracer,struct aa_label * tracee,u32 request,struct apparmor_audit_data * ad) profile_tracer_perm() argument [all...] |
| H A D | lsm.c | 77 static void apparmor_cred_free(struct cred *cred) in apparmor_cred_free() argument 86 static int apparmor_cred_alloc_blank(struct cred *cred, gfp_t gfp) in apparmor_cred_alloc_blank() argument 130 const struct cred *cred; apparmor_ptrace_access_check() local 149 const struct cred *cred; apparmor_ptrace_traceme() local 169 const struct cred *cred; apparmor_capget() local 197 apparmor_capable(const struct cred * cred,struct user_namespace * ns,int cap,unsigned int opts) apparmor_capable() argument 1017 apparmor_task_kill(struct task_struct * target,struct kernel_siginfo * info,int sig,const struct cred * cred) apparmor_task_kill() argument 1044 apparmor_userns_create(const struct cred * cred) apparmor_userns_create() argument 1119 unix_connect_perm(const struct cred * cred,struct aa_label * label,struct sock * sk,struct sock * peer_sk) unix_connect_perm() argument 2246 struct cred *cred = (__force struct cred *)current->real_cred; set_init_ctx() local [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()
|