Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/
Dcred.h118 struct cred { struct
119 atomic_t usage;
121 atomic_t subscribers; /* number of processes subscribed */
122 void *put_addr;
123 unsigned magic;
127 kuid_t uid; /* real UID of the task */
128 kgid_t gid; /* real GID of the task */
129 kuid_t suid; /* saved UID of the task */
130 kgid_t sgid; /* saved GID of the task */
131 kuid_t euid; /* effective UID of the task */
[all …]
Dnfs_fs.h53 struct rpc_cred * cred; member
81 struct rpc_cred *cred; member
97 struct rpc_cred *cred; member
Dsecurity.h2015 static inline int security_capable(const struct cred *cred, in security_capable()
2021 static inline int security_capable_noaudit(const struct cred *cred, in security_capable_noaudit()
2389 const struct cred *cred) in security_file_open()
2402 static inline int security_cred_alloc_blank(struct cred *cred, gfp_t gfp) in security_cred_alloc_blank()
2407 static inline void security_cred_free(struct cred *cred) in security_cred_free()
2422 static inline int security_kernel_act_as(struct cred *cred, u32 secid) in security_kernel_act_as()
2427 static inline int security_kernel_create_files_as(struct cred *cred, in security_kernel_create_files_as()
3109 const struct cred *cred, in security_key_alloc()
3120 const struct cred *cred, in security_key_permission()
Dbinfmts.h36 struct cred *cred; /* new credentials */ member
Dpnfs_osd_xdr.h106 void *cred; member
Dnfs_xdr.h251 struct rpc_cred *cred; member
289 struct rpc_cred *cred; member
313 struct rpc_cred *cred; member
1324 struct rpc_cred *cred; member
1383 struct rpc_cred *cred; member
1412 struct rpc_cred *cred; member
1420 struct rpc_cred *cred; member
Dsched.h1458 const struct cred __rcu *cred; /* effective (overridable) subjective task member
/linux-4.1.27/net/sunrpc/
Dauth.c300 rpcauth_unhash_cred_locked(struct rpc_cred *cred) in rpcauth_unhash_cred_locked()
308 rpcauth_unhash_cred(struct rpc_cred *cred) in rpcauth_unhash_cred()
353 rpcauth_key_timeout_notify(struct rpc_auth *auth, struct rpc_cred *cred) in rpcauth_key_timeout_notify()
362 rpcauth_cred_key_to_expire(struct rpc_cred *cred) in rpcauth_cred_key_to_expire()
371 rpcauth_stringify_acceptor(struct rpc_cred *cred) in rpcauth_stringify_acceptor()
385 struct rpc_cred *cred; in rpcauth_destroy_credlist() local
403 struct rpc_cred *cred; in rpcauth_clear_credcache() local
454 struct rpc_cred *cred, *next; in rpcauth_prune_expired() local
550 struct rpc_cred *cred = NULL, in rpcauth_lookup_credcache() local
625 const struct cred *cred = current_cred(); in rpcauth_lookupcred() local
[all …]
Dauth_generic.c66 struct rpc_cred *cred, int lookupflags) in generic_bind_cred()
113 generic_free_cred(struct rpc_cred *cred) in generic_free_cred()
126 struct rpc_cred *cred = container_of(head, struct rpc_cred, cr_rcu); in generic_free_cred_callback() local
131 generic_destroy_cred(struct rpc_cred *cred) in generic_destroy_cred()
151 generic_match(struct auth_cred *acred, struct rpc_cred *cred, int flags) in generic_match()
211 generic_key_timeout(struct rpc_auth *auth, struct rpc_cred *cred) in generic_key_timeout()
271 static bool generic_key_to_expire(struct rpc_cred *cred) in generic_key_to_expire()
Dauth_unix.c63 struct unx_cred *cred; in unx_create_cred() local
106 unx_destroy_cred(struct rpc_cred *cred) in unx_destroy_cred()
119 struct unx_cred *cred = container_of(rcred, struct unx_cred, uc_base); in unx_match() local
147 struct unx_cred *cred = container_of(task->tk_rqstp->rq_cred, struct unx_cred, uc_base); in unx_marshal() local
Dauth_null.c47 nul_destroy_cred(struct rpc_cred *cred) in nul_destroy_cred()
55 nul_match(struct auth_cred *acred, struct rpc_cred *cred, int taskflags) in nul_match()
Dsvcauth_unix.c661 struct svc_cred *cred = &rqstp->rq_cred; in svcauth_unix_set_client() local
729 struct svc_cred *cred = &rqstp->rq_cred; in svcauth_null_accept() local
793 struct svc_cred *cred = &rqstp->rq_cred; in svcauth_unix_accept() local
Dclnt.c2419 struct rpc_task *rpc_call_null(struct rpc_clnt *clnt, struct rpc_cred *cred, int flags) in rpc_call_null()
/linux-4.1.27/kernel/
Dcred.c62 static inline void set_cred_subscribers(struct cred *cred, int n) in set_cred_subscribers()
69 static inline int read_cred_subscribers(const struct cred *cred) in read_cred_subscribers()
81 struct cred *cred = (struct cred *) _cred; in alter_cred_subscribers() local
92 struct cred *cred = container_of(rcu, struct cred, rcu); in put_cred_rcu() local
129 void __put_cred(struct cred *cred) in __put_cred()
153 struct cred *cred; in exit_creds() local
184 const struct cred *cred; in get_task_cred() local
695 bool creds_are_invalid(const struct cred *cred) in creds_are_invalid()
719 static void dump_invalid_creds(const struct cred *cred, const char *label, in dump_invalid_creds()
756 void __invalid_creds(const struct cred *cred, const char *file, unsigned line) in __invalid_creds()
Dgroups.c192 const struct cred *cred = current_cred(); in SYSCALL_DEFINE2() local
257 const struct cred *cred = current_cred(); in in_group_p() local
269 const struct cred *cred = current_cred(); in in_egroup_p() local
Duid16.c62 const struct cred *cred = current_cred(); in SYSCALL_DEFINE3() local
86 const struct cred *cred = current_cred(); in SYSCALL_DEFINE3() local
153 const struct cred *cred = current_cred(); in SYSCALL_DEFINE2() local
Duser_namespace.c33 static void set_cred_user_ns(struct cred *cred, struct user_namespace *user_ns) in set_cred_user_ns()
119 struct cred *cred; in unshare_userns() local
819 const struct cred *cred = file->f_cred; in new_idmap_permitted() local
971 struct cred *cred; in userns_install() local
Dsys.c137 const struct cred *cred = current_cred(), *pcred = __task_cred(p); in set_one_prio_perm() local
179 const struct cred *cred = current_cred(); in SYSCALL_DEFINE3() local
249 const struct cred *cred = current_cred(); in SYSCALL_DEFINE2() local
647 const struct cred *cred = current_cred(); in SYSCALL_DEFINE3() local
721 const struct cred *cred = current_cred(); in SYSCALL_DEFINE3() local
1429 const struct cred *cred = current_cred(), *tcred; in check_prlimit_permission() local
1809 const struct cred *cred = current_cred(); in validate_prctl_map() local
Dptrace.c221 const struct cred *cred = current_cred(), *tcred; in __ptrace_may_access() local
Dauditsc.c359 const struct cred *cred, in audit_field_compare()
445 const struct cred *cred; in audit_filter_rules() local
Dsignal.c745 const struct cred *cred = current_cred(); in kill_ok_by_cred() local
1370 static int kill_as_cred_perm(const struct cred *cred, in kill_as_cred_perm()
1382 const struct cred *cred, u32 secid) in kill_pid_info_as_cred()
Daudit.c1863 const struct cred *cred; in audit_log_task_info() local
Dcgroup.c2387 const struct cred *cred = current_cred(), *tcred; in __cgroup_procs_write() local
/linux-4.1.27/fs/nfs/
Dnfs4state.c71 int nfs4_init_clientid(struct nfs_client *clp, struct rpc_cred *cred) in nfs4_init_clientid()
118 struct rpc_cred *cred) in nfs40_discover_server_trunking()
150 struct rpc_cred *cred = NULL; in nfs4_get_machine_cred_locked() local
159 struct rpc_cred *cred, *new; in nfs4_root_machine_cred() local
173 struct rpc_cred *cred = NULL; in nfs4_get_renew_cred_server_locked() local
198 struct rpc_cred *cred = NULL; in nfs4_get_renew_cred_locked() local
306 int nfs41_init_clientid(struct nfs_client *clp, struct rpc_cred *cred) in nfs41_init_clientid()
342 struct rpc_cred *cred) in nfs41_discover_server_trunking()
378 struct rpc_cred *cred; in nfs4_get_clid_cred() local
387 nfs4_find_state_owner_locked(struct nfs_server *server, struct rpc_cred *cred) in nfs4_find_state_owner_locked()
[all …]
Dnfs4proc.c2039 static int nfs4_opendata_access(struct rpc_cred *cred, in nfs4_opendata_access()
2209 struct rpc_cred *cred; in nfs41_check_delegation_stateid() local
2249 struct rpc_cred *cred = state->owner->so_cred; in nfs41_check_open_stateid() local
2371 struct rpc_cred *cred = ctx->cred; in _nfs4_do_open() local
2519 static int _nfs4_do_setattr(struct inode *inode, struct rpc_cred *cred, in _nfs4_do_setattr()
2579 static int nfs4_do_setattr(struct inode *inode, struct rpc_cred *cred, in nfs4_do_setattr()
3267 struct rpc_cred *cred = NULL; in nfs4_proc_setattr() local
3880 static int _nfs4_proc_readdir(struct dentry *dentry, struct rpc_cred *cred, in _nfs4_proc_readdir()
3918 static int nfs4_proc_readdir(struct dentry *dentry, struct rpc_cred *cred, in nfs4_proc_readdir()
4401 static int nfs4_proc_async_renew(struct nfs_client *clp, struct rpc_cred *cred, unsigned renew_flag… in nfs4_proc_async_renew()
[all …]
Dnfs4renewd.c60 struct rpc_cred *cred; in nfs4_renew_state() local
Dpnfs_dev.c98 struct rpc_cred *cred, gfp_t gfp_flags) in nfs4_get_device_info()
188 const struct nfs4_deviceid *id, struct rpc_cred *cred, in nfs4_find_get_deviceid()
Ddir.c70 …c struct nfs_open_dir_context *alloc_nfs_open_dir_context(struct inode *dir, struct rpc_cred *cred) in alloc_nfs_open_dir_context()
106 struct rpc_cred *cred; in nfs_opendir() local
373 struct rpc_cred *cred = ctx->cred; in nfs_readdir_xdr_filler() local
2222 static struct nfs_access_entry *nfs_access_search_rbtree(struct inode *inode, struct rpc_cred *cred) in nfs_access_search_rbtree()
2240 static int nfs_access_get_cached(struct inode *inode, struct rpc_cred *cred, struct nfs_access_entr… in nfs_access_get_cached()
2275 static int nfs_access_get_cached_rcu(struct inode *inode, struct rpc_cred *cred, struct nfs_access_… in nfs_access_get_cached_rcu()
2387 static int nfs_do_access(struct inode *inode, struct rpc_cred *cred, int mask) in nfs_do_access()
2443 int nfs_may_open(struct inode *inode, struct rpc_cred *cred, int openflags) in nfs_may_open()
2451 struct rpc_cred *cred; in nfs_permission() local
Ddelegation.h17 struct rpc_cred *cred; member
Ddelegation.c165 void nfs_inode_reclaim_delegation(struct inode *inode, struct rpc_cred *cred, in nfs_inode_reclaim_delegation()
326 int nfs_inode_set_delegation(struct inode *inode, struct rpc_cred *cred, struct nfs_openres *res) in nfs_inode_set_delegation()
Dnfs4client.c479 struct rpc_cred *cred) in nfs40_walk_client_list()
615 struct rpc_cred *cred) in nfs41_walk_client_list()
Dnfs4namespace.c174 struct rpc_cred *cred; in nfs_find_best_sec() local
Dnfs4session.c491 struct rpc_cred *cred; in nfs4_destroy_session() local
Dinode.c784 struct rpc_cred *cred = rpc_lookup_cred(); in alloc_nfs_open_context() local
870 struct nfs_open_context *nfs_find_open_context(struct inode *inode, struct rpc_cred *cred, fmode_t … in nfs_find_open_context()
Dproc.c487 nfs_proc_readdir(struct dentry *dentry, struct rpc_cred *cred, in nfs_proc_readdir()
Dnfs3proc.c623 nfs3_proc_readdir(struct dentry *dentry, struct rpc_cred *cred, in nfs3_proc_readdir()
Dnfs4idmap.c189 struct cred *cred; in nfs_idmap_init_keyring() local
Dclient.c153 struct rpc_cred *cred; in nfs_alloc_client() local
Dpagelist.c617 struct rpc_cred *cred, const struct nfs_rpc_ops *rpc_ops, in nfs_initiate_pgio()
/linux-4.1.27/net/sunrpc/auth_gss/
Dauth_gss.c137 gss_cred_set_ctx(struct rpc_cred *cred, struct gss_cl_ctx *ctx) in gss_cred_set_ctx()
180 gss_cred_get_ctx(struct rpc_cred *cred) in gss_cred_get_ctx()
530 gss_setup_upcall(struct gss_auth *gss_auth, struct rpc_cred *cred) in gss_setup_upcall()
560 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in gss_refresh_upcall() local
613 struct rpc_cred *cred = &gss_cred->gc_base; in gss_create_upcall() local
1207 gss_destroying_context(struct rpc_cred *cred) in gss_destroying_context()
1274 gss_destroy_nullcred(struct rpc_cred *cred) in gss_destroy_nullcred()
1288 gss_destroy_cred(struct rpc_cred *cred) in gss_destroy_cred()
1309 struct gss_cred *cred = NULL; in gss_create_cred() local
1338 gss_cred_init(struct rpc_auth *auth, struct rpc_cred *cred) in gss_cred_init()
[all …]
Dgss_rpc_xdr.c551 struct gssx_cred *cred) in gssx_enc_cred()
Dsvcauth_gss.c330 struct svc_cred cred; member
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/linux/
Dlinux-curproc.c60 struct cred *cred; in cfs_cap_raise() local
71 struct cred *cred; in cfs_cap_lower() local
/linux-4.1.27/security/
Dcommoncap.c76 int cap_capable(const struct cred *cred, struct user_namespace *targ_ns, in cap_capable()
144 const struct cred *cred, *child_cred; in cap_ptrace_access_check() local
181 const struct cred *cred, *child_cred; in cap_ptrace_traceme() local
210 const struct cred *cred; in cap_capget() local
596 const struct cred *cred = current_cred(); in cap_bprm_secureexec() local
Dsecurity.c200 int security_capable(const struct cred *cred, struct user_namespace *ns, in security_capable()
206 int security_capable_noaudit(const struct cred *cred, struct user_namespace *ns, in security_capable_noaudit()
816 int security_file_open(struct file *file, const struct cred *cred) in security_file_open()
840 int security_cred_alloc_blank(struct cred *cred, gfp_t gfp) in security_cred_alloc_blank()
845 void security_cred_free(struct cred *cred) in security_cred_free()
1444 int security_key_alloc(struct key *key, const struct cred *cred, in security_key_alloc()
1456 const struct cred *cred, unsigned perm) in security_key_permission()
Dcapability.c385 static int cap_file_open(struct file *file, const struct cred *cred) in cap_file_open()
399 static int cap_cred_alloc_blank(struct cred *cred, gfp_t gfp) in cap_cred_alloc_blank()
404 static void cap_cred_free(struct cred *cred) in cap_cred_free()
894 static int cap_key_alloc(struct key *key, const struct cred *cred, in cap_key_alloc()
904 static int cap_key_permission(key_ref_t key_ref, const struct cred *cred, in cap_key_permission()
/linux-4.1.27/security/apparmor/
Dlsm.c49 static void apparmor_cred_free(struct cred *cred) in apparmor_cred_free()
58 static int apparmor_cred_alloc_blank(struct cred *cred, gfp_t gfp) in apparmor_cred_alloc_blank()
120 const struct cred *cred; in apparmor_capget() local
139 static int apparmor_capable(const struct cred *cred, struct user_namespace *ns, in apparmor_capable()
376 static int apparmor_file_open(struct file *file, const struct cred *cred) in apparmor_file_open()
509 const struct cred *cred = get_task_cred(task); in apparmor_getprocattr() local
884 struct cred *cred = (struct cred *)current->real_cred; in set_init_cxt() local
921 struct cred *cred = (struct cred *)current->real_cred; in apparmor_init() local
Ddomain.c610 const struct cred *cred; in aa_change_hat() local
750 const struct cred *cred; in aa_change_profile() local
/linux-4.1.27/security/selinux/
Dhooks.c177 struct cred *cred = (struct cred *) current->real_cred; in cred_init_security() local
191 static inline u32 cred_sid(const struct cred *cred) in cred_sid()
368 const struct cred *cred) in may_context_mount_sb_relabel()
385 const struct cred *cred) in may_context_mount_inode_relabel()
608 const struct cred *cred = current_cred(); in selinux_set_mnt_opts() local
1539 static int cred_has_capability(const struct cred *cred, in cred_has_capability()
1588 static int inode_has_perm(const struct cred *cred, in inode_has_perm()
1610 static inline int dentry_has_perm(const struct cred *cred, in dentry_has_perm()
1625 static inline int path_has_perm(const struct cred *cred, in path_has_perm()
1638 static inline int file_path_has_perm(const struct cred *cred, in file_path_has_perm()
[all …]
/linux-4.1.27/security/keys/
Dprocess_keys.c46 const struct cred *cred; in install_user_keyrings() local
219 int install_session_keyring_to_cred(struct cred *cred, struct key *keyring) in install_session_keyring_to_cred()
454 const struct cred *cred = ctx->cred; in search_process_keyrings() local
Dpermission.c30 int key_task_permission(const key_ref_t key_ref, const struct cred *cred, in key_task_permission()
Drequest_key.c56 static int umh_keys_init(struct subprocess_info *info, struct cred *cred) in umh_keys_init()
98 const struct cred *cred = current_cred(); in call_sbin_request_key() local
256 const struct cred *cred = current_cred(); in construct_get_dest_keyring() local
Dinternal.h112 const struct cred *cred; member
190 const struct cred *cred; member
Drequest_key_auth.c151 const struct cred *cred = current->cred; in request_key_auth_new() local
Dkey.c225 kuid_t uid, kgid_t gid, const struct cred *cred, in key_alloc()
786 const struct cred *cred = current_cred(); in key_create_or_update() local
Dkeyctl.c1013 const struct cred *cred = current_cred(); in keyctl_instantiate_key_common() local
1180 const struct cred *cred = current_cred(); in keyctl_reject_key() local
1471 struct cred *cred; in keyctl_session_to_parent() local
Dkeyring.c493 const struct cred *cred, key_perm_t perm, in keyring_alloc()
/linux-4.1.27/security/tomoyo/
Dtomoyo.c59 static void tomoyo_cred_free(struct cred *cred) in tomoyo_cred_free()
328 static int tomoyo_file_open(struct file *f, const struct cred *cred) in tomoyo_file_open()
547 struct cred *cred = (struct cred *) current_cred(); in tomoyo_init() local
Dsecurityfs_if.c73 struct cred *cred = prepare_creds(); in tomoyo_write_self() local
/linux-4.1.27/include/linux/sunrpc/
Dsvcauth.h30 static inline void init_svc_cred(struct svc_cred *cred) in init_svc_cred()
37 static inline void free_svc_cred(struct svc_cred *cred) in free_svc_cred()
Dauth.h191 struct rpc_cred * get_rpccred(struct rpc_cred *cred) in get_rpccred()
/linux-4.1.27/security/integrity/
Ddigsig.c68 const struct cred *cred = current_cred(); in integrity_init_keyring() local
/linux-4.1.27/fs/lockd/
Dclntproc.c249 nlmclnt_call(struct rpc_cred *cred, struct nlm_rqst *req, u32 proc) in nlmclnt_call()
394 static int nlmclnt_async_call(struct rpc_cred *cred, struct nlm_rqst *req, u32 proc, const struct r… in nlmclnt_async_call()
514 struct rpc_cred *cred = nfs_file_cred(fl->fl_file); in nlmclnt_lock() local
/linux-4.1.27/arch/mips/kernel/
Dmips-mt-fpaff.c48 const struct cred *cred = current_cred(), *pcred; in check_same_owner() local
/linux-4.1.27/security/apparmor/include/
Dcontext.h97 static inline struct aa_profile *aa_cred_profile(const struct cred *cred) in aa_cred_profile()
/linux-4.1.27/fs/cifs/
Dcifs_spnego.c190 struct cred *cred; in init_cifs_spnego() local
Dcifsacl.c343 struct cred *cred; in init_cifs_idmap() local
/linux-4.1.27/fs/ecryptfs/
Dkthread.c134 const struct cred *cred) in ecryptfs_privileged_open()
Dmain.c122 const struct cred *cred = current_cred(); in ecryptfs_init_lower_file() local
/linux-4.1.27/net/netfilter/
Dnf_log_common.c142 const struct cred *cred = sk->sk_socket->file->f_cred; in nf_log_dump_sk_uid_gid() local
Dnfnetlink_log.c555 const struct cred *cred = file->f_cred; in __build_packet_message() local
Dnfnetlink_queue_core.c258 const struct cred *cred; in nfqnl_put_sk_uidgid() local
/linux-4.1.27/fs/
Dcoredump.c166 const struct cred *cred = current_cred(); in format_corename() local
512 struct cred *cred; in do_coredump() local
Dfile_table.c105 const struct cred *cred = current_cred(); in get_empty_filp() local
Dfcntl.c93 const struct cred *cred = current_cred(); in f_modown() local
435 const struct cred *cred; in sigio_perm() local
Dopen.c683 const struct cred *cred) in do_dentry_open()
833 const struct cred *cred) in vfs_open()
849 const struct cred *cred) in dentry_open()
Dbinfmt_elf_fdpic.c472 const struct cred *cred = current_cred(); in create_elf_fdpic_tables() local
1365 const struct cred *cred; in fill_psinfo() local
Dbinfmt_elf.c168 const struct cred *cred = current_cred(); in create_elf_tables() local
1429 const struct cred *cred; in fill_psinfo() local
Dnamei.c850 const struct cred *cred; in may_linkat() local
/linux-4.1.27/fs/nfs/flexfilelayout/
Dflexfilelayoutdev.c314 struct rpc_cred *cred; in ff_layout_update_mirror_cred() local
446 struct rpc_cred *cred = ERR_PTR(-EINVAL); in ff_layout_get_ds_cred() local
Dflexfilelayout.h55 struct rpc_cred *cred; member
/linux-4.1.27/block/
Dioprio.c36 const struct cred *cred = current_cred(), *tcred; in set_task_ioprio() local
/linux-4.1.27/net/dns_resolver/
Ddns_key.c264 struct cred *cred; in init_dns_resolver() local
/linux-4.1.27/net/core/
Dscm.c49 const struct cred *cred = current_cred(); in scm_check_creds() local
Dsock.c999 static void cred_to_ucred(struct pid *pid, const struct cred *cred, in cred_to_ucred()
/linux-4.1.27/net/rxrpc/
Dar-key.c967 const struct cred *cred = current_cred(); in rxrpc_get_server_data_key() local
1021 const struct cred *cred = current_cred(); in rxrpc_get_null_key() local
/linux-4.1.27/drivers/connector/
Dcn_proc.c129 const struct cred *cred; in proc_id_connector() local
/linux-4.1.27/fs/proc/
Darray.c141 const struct cred *cred; in task_state() local
302 const struct cred *cred; in task_cap() local
Dfd.c87 const struct cred *cred; in tid_fd_revalidate() local
Dbase.c1458 const struct cred *cred; in proc_pid_make_inode() local
1500 const struct cred *cred; in pid_getattr() local
1550 const struct cred *cred; in pid_revalidate() local
1663 const struct cred *cred; in map_files_d_revalidate() local
/linux-4.1.27/security/smack/
Dsmack_lsm.c213 static int smk_bu_credfile(const struct cred *cred, struct file *file, in smk_bu_credfile()
239 #define smk_bu_credfile(cred, file, mode, RC) (RC) argument
1701 static int smack_file_open(struct file *file, const struct cred *cred) in smack_file_open()
1732 static int smack_cred_alloc_blank(struct cred *cred, gfp_t gfp) in smack_cred_alloc_blank()
1751 static void smack_cred_free(struct cred *cred) in smack_cred_free()
3971 static int smack_key_alloc(struct key *key, const struct cred *cred, in smack_key_alloc()
4001 const struct cred *cred, unsigned perm) in smack_key_permission()
4449 struct cred *cred; in smack_init() local
/linux-4.1.27/drivers/misc/vmw_vmci/
Dvmci_context.h88 const struct cred *cred; member
Dvmci_context.c87 const struct cred *cred) in vmci_ctx_create()
Dvmci_host.c299 const struct cred *cred; in vmci_host_do_init_context() local
/linux-4.1.27/fs/hppfs/
Dhppfs.c422 const struct cred *cred = file->f_cred; in hppfs_open() local
483 const struct cred *cred = file->f_cred; in hppfs_dir_open() local
/linux-4.1.27/arch/s390/kernel/
Dcompat_linux.c135 const struct cred *cred = current_cred(); in COMPAT_SYSCALL_DEFINE3() local
159 const struct cred *cred = current_cred(); in COMPAT_SYSCALL_DEFINE3() local
224 const struct cred *cred = current_cred(); in COMPAT_SYSCALL_DEFINE2() local
/linux-4.1.27/fs/exportfs/
Dexpfs.c272 const struct cred *cred = current_cred(); in get_name() local
/linux-4.1.27/drivers/usb/core/
Ddevio.c75 const struct cred *cred; member
86 const struct cred *cred; member
496 const struct cred *cred = NULL; in async_completed() local
/linux-4.1.27/drivers/block/
Dosdblk.c165 void *caller_context, u8 *cred) in osd_async_op()
/linux-4.1.27/security/integrity/ima/
Dima_policy.c215 const struct cred *cred = current_cred(); in ima_match_rules() local
/linux-4.1.27/include/scsi/
Dosd_ore.h33 u8 cred[OSD_CAP_LEN]; member
/linux-4.1.27/fs/exofs/
Dsuper.c225 static int exofs_read_kern(struct osd_dev *od, u8 *cred, struct osd_obj_id *obj, in exofs_read_kern()
/linux-4.1.27/fs/nfsd/
Dnfs4callback.c748 struct rpc_cred *cred; in setup_callback_client() local
/linux-4.1.27/fs/xfs/
Dxfs_ioctl.c197 const struct cred *cred = current_cred(); in xfs_open_by_handle() local
/linux-4.1.27/mm/
Dmigrate.c1463 const struct cred *cred = current_cred(), *tcred; in SYSCALL_DEFINE6() local
Dmempolicy.c1346 const struct cred *cred = current_cred(), *tcred; in SYSCALL_DEFINE4() local
/linux-4.1.27/ipc/
Dmqueue.c732 const struct cred *cred = current_cred(); in do_create() local
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4vf/
Dsge.c612 unsigned int cred = fl->avail; in refill_fl() local
/linux-4.1.27/fs/fuse/
Ddir.c1015 const struct cred *cred; in fuse_allow_current_process() local
/linux-4.1.27/lib/
Dvsprintf.c1568 const struct cred *cred = current_cred(); in pointer() local
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c592 unsigned int cred = q->avail; in refill_fl() local
/linux-4.1.27/drivers/net/
Dtun.c418 const struct cred *cred = current_cred(); in tun_not_capable() local
/linux-4.1.27/kernel/sched/
Dcore.c3389 const struct cred *cred = current_cred(), *pcred; in check_same_owner() local