Searched defs:cred (Results 1 - 109 of 109) sorted by relevance

/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/linux/
H A Dlinux-curproc.c60 struct cred *cred; cfs_cap_raise() local
71 struct cred *cred; cfs_cap_lower() local
/linux-4.4.14/security/keys/
H A Dpermission.c30 int key_task_permission(const key_ref_t key_ref, const struct cred *cred, key_task_permission() argument
H A Drequest_key_auth.c151 const struct cred *cred = current->cred; request_key_auth_new() local
H A Dinternal.h112 const struct cred *cred; member in struct:keyring_search_context
190 const struct cred *cred; member in struct:request_key_auth
H A Dprocess_keys.c46 const struct cred *cred; install_user_keyrings() local
219 int install_session_keyring_to_cred(struct cred *cred, struct key *keyring) install_session_keyring_to_cred() argument
454 const struct cred *cred = ctx->cred; search_process_keyrings() local
H A Drequest_key.c56 static int umh_keys_init(struct subprocess_info *info, struct cred *cred) umh_keys_init() argument
98 const struct cred *cred = current_cred(); call_sbin_request_key() local
256 const struct cred *cred = current_cred(); construct_get_dest_keyring() local
H A Dkey.c786 const struct cred *cred = current_cred(); key_create_or_update() local
224 key_alloc(struct key_type *type, const char *desc, kuid_t uid, kgid_t gid, const struct cred *cred, key_perm_t perm, unsigned long flags) key_alloc() argument
H A Dkeyctl.c1007 const struct cred *cred = current_cred(); keyctl_instantiate_key_common() local
1174 const struct cred *cred = current_cred(); keyctl_reject_key() local
1465 struct cred *cred; keyctl_session_to_parent() local
H A Dkeyring.c492 keyring_alloc(const char *description, kuid_t uid, kgid_t gid, const struct cred *cred, key_perm_t perm, unsigned long flags, struct key *dest) keyring_alloc() argument
/linux-4.4.14/fs/nfs/
H A Dnfs4renewd.c60 struct rpc_cred *cred; nfs4_renew_state() local
H A Ddelegation.h17 struct rpc_cred *cred; member in struct:nfs_delegation
H A Dpnfs_dev.c96 nfs4_get_device_info(struct nfs_server *server, const struct nfs4_deviceid *dev_id, struct rpc_cred *cred, gfp_t gfp_flags) nfs4_get_device_info() argument
187 nfs4_find_get_deviceid(struct nfs_server *server, const struct nfs4_deviceid *id, struct rpc_cred *cred, gfp_t gfp_mask) nfs4_find_get_deviceid() argument
H A Dnfs4namespace.c174 struct rpc_cred *cred; nfs_find_best_sec() local
H A Ddelegation.c166 void nfs_inode_reclaim_delegation(struct inode *inode, struct rpc_cred *cred, nfs_inode_reclaim_delegation() argument
327 int nfs_inode_set_delegation(struct inode *inode, struct rpc_cred *cred, struct nfs_openres *res) nfs_inode_set_delegation() argument
H A Dnfs4session.c491 struct rpc_cred *cred; nfs4_destroy_session() local
H A Dproc.c487 nfs_proc_readdir(struct dentry *dentry, struct rpc_cred *cred, nfs_proc_readdir() argument
H A Dclient.c154 struct rpc_cred *cred; nfs_alloc_client() local
H A Dnfs3proc.c623 nfs3_proc_readdir(struct dentry *dentry, struct rpc_cred *cred, nfs3_proc_readdir() argument
H A Dnfs4client.c477 nfs40_walk_client_list(struct nfs_client *new, struct nfs_client **result, struct rpc_cred *cred) nfs40_walk_client_list() argument
613 nfs41_walk_client_list(struct nfs_client *new, struct nfs_client **result, struct rpc_cred *cred) nfs41_walk_client_list() argument
H A Dnfs4idmap.c189 struct cred *cred; nfs_idmap_init() local
H A Dinode.c799 struct rpc_cred *cred = rpc_lookup_cred(); alloc_nfs_open_context() local
890 struct nfs_open_context *nfs_find_open_context(struct inode *inode, struct rpc_cred *cred, fmode_t mode) nfs_find_open_context() argument
H A Dpagelist.c616 nfs_initiate_pgio(struct rpc_clnt *clnt, struct nfs_pgio_header *hdr, struct rpc_cred *cred, const struct nfs_rpc_ops *rpc_ops, const struct rpc_call_ops *call_ops, int how, int flags) nfs_initiate_pgio() argument
H A Ddir.c70 static struct nfs_open_dir_context *alloc_nfs_open_dir_context(struct inode *dir, struct rpc_cred *cred) alloc_nfs_open_dir_context() argument
106 struct rpc_cred *cred; nfs_opendir() local
373 struct rpc_cred *cred = ctx->cred; nfs_readdir_xdr_filler() local
2208 static struct nfs_access_entry *nfs_access_search_rbtree(struct inode *inode, struct rpc_cred *cred) nfs_access_search_rbtree() argument
2226 static int nfs_access_get_cached(struct inode *inode, struct rpc_cred *cred, struct nfs_access_entry *res) nfs_access_get_cached() argument
2261 static int nfs_access_get_cached_rcu(struct inode *inode, struct rpc_cred *cred, struct nfs_access_entry *res) nfs_access_get_cached_rcu() argument
2373 static int nfs_do_access(struct inode *inode, struct rpc_cred *cred, int mask) nfs_do_access() argument
2429 int nfs_may_open(struct inode *inode, struct rpc_cred *cred, int openflags) nfs_may_open() argument
2437 struct rpc_cred *cred; nfs_permission() local
H A Dnfs4state.c71 int nfs4_init_clientid(struct nfs_client *clp, struct rpc_cred *cred) nfs4_init_clientid() argument
150 struct rpc_cred *cred = NULL; nfs4_get_machine_cred_locked() local
159 struct rpc_cred *cred, *new; nfs4_root_machine_cred() local
173 struct rpc_cred *cred = NULL; nfs4_get_renew_cred_server_locked() local
198 struct rpc_cred *cred = NULL; nfs4_get_renew_cred_locked() local
306 int nfs41_init_clientid(struct nfs_client *clp, struct rpc_cred *cred) nfs41_init_clientid() argument
377 struct rpc_cred *cred; nfs4_get_clid_cred() local
386 nfs4_find_state_owner_locked(struct nfs_server *server, struct rpc_cred *cred) nfs4_find_state_owner_locked() argument
1644 struct rpc_cred *cred; nfs4_state_end_reclaim_reboot() local
1752 struct rpc_cred *cred; nfs4_check_lease() local
1830 struct rpc_cred *cred; nfs4_establish_lease() local
1887 static int nfs4_try_migration(struct nfs_server *server, struct rpc_cred *cred) nfs4_try_migration() argument
1955 struct rpc_cred *cred; nfs4_handle_migration() local
2003 struct rpc_cred *cred; nfs4_handle_lease_moved() local
2061 struct rpc_cred *cred; nfs4_discover_server_trunking() local
2253 struct rpc_cred *cred; nfs4_reset_session() local
2296 struct rpc_cred *cred; nfs4_bind_conn_to_session() local
116 nfs40_discover_server_trunking(struct nfs_client *clp, struct nfs_client **result, struct rpc_cred *cred) nfs40_discover_server_trunking() argument
339 nfs41_discover_server_trunking(struct nfs_client *clp, struct nfs_client **result, struct rpc_cred *cred) nfs41_discover_server_trunking() argument
475 nfs4_alloc_state_owner(struct nfs_server *server, struct rpc_cred *cred, gfp_t gfp_flags) nfs4_alloc_state_owner() argument
553 nfs4_get_state_owner(struct nfs_server *server, struct rpc_cred *cred, gfp_t gfp_flags) nfs4_get_state_owner() argument
1592 nfs4_reclaim_complete(struct nfs_client *clp, const struct nfs4_state_recovery_ops *ops, struct rpc_cred *cred) nfs4_reclaim_complete() argument
H A Dnfs4proc.c2159 static int nfs4_opendata_access(struct rpc_cred *cred, nfs4_opendata_access() argument
2329 struct rpc_cred *cred; nfs41_check_delegation_stateid() local
2369 struct rpc_cred *cred = state->owner->so_cred; nfs41_check_open_stateid() local
2501 struct rpc_cred *cred = ctx->cred; _nfs4_do_open() local
2649 static int _nfs4_do_setattr(struct inode *inode, struct rpc_cred *cred, _nfs4_do_setattr() argument
2709 static int nfs4_do_setattr(struct inode *inode, struct rpc_cred *cred, nfs4_do_setattr() argument
3420 struct rpc_cred *cred = NULL; nfs4_proc_setattr() local
4034 static int _nfs4_proc_readdir(struct dentry *dentry, struct rpc_cred *cred, _nfs4_proc_readdir() argument
4072 static int nfs4_proc_readdir(struct dentry *dentry, struct rpc_cred *cred, nfs4_proc_readdir() argument
4555 static int nfs4_proc_async_renew(struct nfs_client *clp, struct rpc_cred *cred, unsigned renew_flags) nfs4_proc_async_renew() argument
4577 static int nfs4_proc_renew(struct nfs_client *clp, struct rpc_cred *cred) nfs4_proc_renew() argument
4994 struct rpc_cred *cred; nfs4_set_security_label() local
5366 static int _nfs4_proc_delegreturn(struct inode *inode, struct rpc_cred *cred, const nfs4_stateid *stateid, int issync) _nfs4_proc_delegreturn() argument
5422 int nfs4_proc_delegreturn(struct inode *inode, struct rpc_cred *cred, const nfs4_stateid *stateid, int issync) nfs4_proc_delegreturn() argument
6013 struct rpc_cred *cred = lsp->ls_state->owner->so_cred; nfs41_check_expired_locks() local
6571 static int _nfs40_proc_fsid_present(struct inode *inode, struct rpc_cred *cred) _nfs40_proc_fsid_present() argument
6618 static int _nfs41_proc_fsid_present(struct inode *inode, struct rpc_cred *cred) _nfs41_proc_fsid_present() argument
6666 int nfs4_proc_fsid_present(struct inode *inode, struct rpc_cred *cred) nfs4_proc_fsid_present() argument
6713 struct rpc_cred *cred = NULL; _nfs4_proc_secinfo() local
6801 int nfs4_proc_bind_conn_to_session(struct nfs_client *clp, struct rpc_cred *cred) nfs4_proc_bind_conn_to_session() argument
6969 static int _nfs4_proc_exchange_id(struct nfs_client *clp, struct rpc_cred *cred, _nfs4_proc_exchange_id() argument
7114 int nfs4_proc_exchange_id(struct nfs_client *clp, struct rpc_cred *cred) nfs4_proc_exchange_id() argument
7171 struct rpc_cred *cred; nfs4_destroy_clientid() local
7447 int nfs4_proc_create_session(struct nfs_client *clp, struct rpc_cred *cred) nfs4_proc_create_session() argument
7613 static int nfs41_proc_async_sequence(struct nfs_client *clp, struct rpc_cred *cred, unsigned renew_flags) nfs41_proc_async_sequence() argument
7629 static int nfs4_proc_sequence(struct nfs_client *clp, struct rpc_cred *cred) nfs4_proc_sequence() argument
8278 struct rpc_cred *cred = NULL; _nfs41_proc_secinfo_no_name() local
8571 struct rpc_cred *cred = lsp->ls_state->owner->so_cred; nfs41_free_lock_state() local
5191 nfs4_proc_setclientid(struct nfs_client *clp, u32 program, unsigned short port, struct rpc_cred *cred, struct nfs4_setclientid_res *res) nfs4_proc_setclientid() argument
5265 nfs4_proc_setclientid_confirm(struct nfs_client *clp, struct nfs4_setclientid_res *arg, struct rpc_cred *cred) nfs4_proc_setclientid_confirm() argument
6420 _nfs40_proc_get_locations(struct inode *inode, struct nfs4_fs_locations *locations, struct page *page, struct rpc_cred *cred) _nfs40_proc_get_locations() argument
6478 _nfs41_proc_get_locations(struct inode *inode, struct nfs4_fs_locations *locations, struct page *page, struct rpc_cred *cred) _nfs41_proc_get_locations() argument
6538 nfs4_proc_get_locations(struct inode *inode, struct nfs4_fs_locations *locations, struct page *page, struct rpc_cred *cred) nfs4_proc_get_locations() argument
7131 _nfs4_proc_destroy_clientid(struct nfs_client *clp, struct rpc_cred *cred) _nfs4_proc_destroy_clientid() argument
7149 nfs4_proc_destroy_clientid(struct nfs_client *clp, struct rpc_cred *cred) nfs4_proc_destroy_clientid() argument
7402 _nfs4_proc_create_session(struct nfs_client *clp, struct rpc_cred *cred) _nfs4_proc_create_session() argument
7477 nfs4_proc_destroy_session(struct nfs4_session *session, struct rpc_cred *cred) nfs4_proc_destroy_session() argument
7579 _nfs41_proc_sequence(struct nfs_client *clp, struct rpc_cred *cred, bool is_privileged) _nfs41_proc_sequence() argument
7716 nfs41_proc_reclaim_complete(struct nfs_client *clp, struct rpc_cred *cred) nfs41_proc_reclaim_complete() argument
8110 _nfs4_proc_getdeviceinfo(struct nfs_server *server, struct pnfs_device *pdev, struct rpc_cred *cred) _nfs4_proc_getdeviceinfo() argument
8142 nfs4_proc_getdeviceinfo(struct nfs_server *server, struct pnfs_device *pdev, struct rpc_cred *cred) nfs4_proc_getdeviceinfo() argument
8404 _nfs41_test_stateid(struct nfs_server *server, nfs4_stateid *stateid, struct rpc_cred *cred) _nfs41_test_stateid() argument
8448 nfs41_test_stateid(struct nfs_server *server, nfs4_stateid *stateid, struct rpc_cred *cred) nfs41_test_stateid() argument
8502 _nfs41_free_stateid(struct nfs_server *server, nfs4_stateid *stateid, struct rpc_cred *cred, bool privileged) _nfs41_free_stateid() argument
8550 nfs41_free_stateid(struct nfs_server *server, nfs4_stateid *stateid, struct rpc_cred *cred) nfs41_free_stateid() argument
/linux-4.4.14/security/integrity/
H A Ddigsig.c68 const struct cred *cred = current_cred(); integrity_init_keyring() local
/linux-4.4.14/kernel/
H A Duid16.c62 const struct cred *cred = current_cred(); SYSCALL_DEFINE3() local
86 const struct cred *cred = current_cred(); SYSCALL_DEFINE3() local
153 const struct cred *cred = current_cred(); SYSCALL_DEFINE2() local
H A Dgroups.c192 const struct cred *cred = current_cred(); SYSCALL_DEFINE2() local
257 const struct cred *cred = current_cred(); in_group_p() local
269 const struct cred *cred = current_cred(); in_egroup_p() local
H A Dcred.c67 static inline void set_cred_subscribers(struct cred *cred, int n) set_cred_subscribers() argument
74 static inline int read_cred_subscribers(const struct cred *cred) read_cred_subscribers() argument
86 struct cred *cred = (struct cred *) _cred; alter_cred_subscribers() local
97 struct cred *cred = container_of(rcu, struct cred, rcu); put_cred_rcu() local
134 void __put_cred(struct cred *cred) __put_cred() argument
158 struct cred *cred; exit_creds() local
189 const struct cred *cred; get_task_cred() local
700 bool creds_are_invalid(const struct cred *cred) creds_are_invalid() argument
724 static void dump_invalid_creds(const struct cred *cred, const char *label, dump_invalid_creds() argument
761 void __invalid_creds(const struct cred *cred, const char *file, unsigned line) __invalid_creds() argument
H A Dptrace.c221 const struct cred *cred = current_cred(), *tcred; __ptrace_may_access() local
H A Duser_namespace.c33 static void set_cred_user_ns(struct cred *cred, struct user_namespace *user_ns) set_cred_user_ns() argument
120 struct cred *cred; unshare_userns() local
820 const struct cred *cred = file->f_cred; new_idmap_permitted() local
972 struct cred *cred; userns_install() local
H A Dsys.c137 const struct cred *cred = current_cred(), *pcred = __task_cred(p); set_one_prio_perm() local
179 const struct cred *cred = current_cred(); SYSCALL_DEFINE3() local
249 const struct cred *cred = current_cred(); SYSCALL_DEFINE2() local
647 const struct cred *cred = current_cred(); SYSCALL_DEFINE3() local
721 const struct cred *cred = current_cred(); SYSCALL_DEFINE3() local
1429 const struct cred *cred = current_cred(), *tcred; check_prlimit_permission() local
1807 const struct cred *cred = current_cred(); validate_prctl_map() local
H A Daudit.c1877 const struct cred *cred; audit_log_task_info() local
H A Dauditsc.c445 const struct cred *cred; audit_filter_rules() local
358 audit_field_compare(struct task_struct *tsk, const struct cred *cred, struct audit_field *f, struct audit_context *ctx, struct audit_names *name) audit_field_compare() argument
H A Dsignal.c694 const struct cred *cred = current_cred(); kill_ok_by_cred() local
1319 static int kill_as_cred_perm(const struct cred *cred, kill_as_cred_perm() argument
1330 kill_pid_info_as_cred(int sig, struct siginfo *info, struct pid *pid, const struct cred *cred, u32 secid) kill_pid_info_as_cred() argument
H A Dcgroup.c2678 const struct cred *cred = current_cred(); cgroup_procs_write_permission() local
/linux-4.4.14/block/
H A Dioprio.c36 const struct cred *cred = current_cred(), *tcred; set_task_ioprio() local
/linux-4.4.14/net/sunrpc/
H A Dauth_null.c47 nul_destroy_cred(struct rpc_cred *cred) nul_destroy_cred() argument
55 nul_match(struct auth_cred *acred, struct rpc_cred *cred, int taskflags) nul_match() argument
H A Dauth_generic.c113 generic_free_cred(struct rpc_cred *cred) generic_free_cred() argument
126 struct rpc_cred *cred = container_of(head, struct rpc_cred, cr_rcu); generic_free_cred_callback() local
131 generic_destroy_cred(struct rpc_cred *cred) generic_destroy_cred() argument
151 generic_match(struct auth_cred *acred, struct rpc_cred *cred, int flags) generic_match() argument
211 generic_key_timeout(struct rpc_auth *auth, struct rpc_cred *cred) generic_key_timeout() argument
271 static bool generic_key_to_expire(struct rpc_cred *cred) generic_key_to_expire() argument
65 generic_bind_cred(struct rpc_task *task, struct rpc_cred *cred, int lookupflags) generic_bind_cred() argument
H A Dauth_unix.c63 struct unx_cred *cred; unx_create_cred() local
106 unx_destroy_cred(struct rpc_cred *cred) unx_destroy_cred() argument
119 struct unx_cred *cred = container_of(rcred, struct unx_cred, uc_base); unx_match() local
147 struct unx_cred *cred = container_of(task->tk_rqstp->rq_cred, struct unx_cred, uc_base); unx_marshal() local
H A Dauth.c300 rpcauth_unhash_cred_locked(struct rpc_cred *cred) rpcauth_unhash_cred_locked() argument
308 rpcauth_unhash_cred(struct rpc_cred *cred) rpcauth_unhash_cred() argument
353 rpcauth_key_timeout_notify(struct rpc_auth *auth, struct rpc_cred *cred) rpcauth_key_timeout_notify() argument
362 rpcauth_cred_key_to_expire(struct rpc_cred *cred) rpcauth_cred_key_to_expire() argument
371 rpcauth_stringify_acceptor(struct rpc_cred *cred) rpcauth_stringify_acceptor() argument
385 struct rpc_cred *cred; rpcauth_destroy_credlist() local
403 struct rpc_cred *cred; rpcauth_clear_credcache() local
454 struct rpc_cred *cred, *next; rpcauth_prune_expired() local
550 struct rpc_cred *cred = NULL, rpcauth_lookup_credcache() local
625 const struct cred *cred = current_cred(); rpcauth_lookupcred() local
640 rpcauth_init_cred(struct rpc_cred *cred, const struct auth_cred *acred, rpcauth_init_cred() argument
657 rpcauth_generic_bind_cred(struct rpc_task *task, struct rpc_cred *cred, int lookupflags) rpcauth_generic_bind_cred() argument
690 rpcauth_bindcred(struct rpc_task *task, struct rpc_cred *cred, int flags) rpcauth_bindcred() argument
713 put_rpccred(struct rpc_cred *cred) put_rpccred() argument
751 struct rpc_cred *cred = task->tk_rqstp->rq_cred; rpcauth_marshcred() local
762 struct rpc_cred *cred = task->tk_rqstp->rq_cred; rpcauth_checkverf() local
783 struct rpc_cred *cred = task->tk_rqstp->rq_cred; rpcauth_wrap_req() local
808 struct rpc_cred *cred = task->tk_rqstp->rq_cred; rpcauth_unwrap_resp() local
822 struct rpc_cred *cred; rpcauth_refreshcred() local
845 struct rpc_cred *cred = task->tk_rqstp->rq_cred; rpcauth_invalcred() local
856 struct rpc_cred *cred = task->tk_rqstp->rq_cred; rpcauth_uptodatecred() local
H A Dsvcauth_unix.c661 struct svc_cred *cred = &rqstp->rq_cred; svcauth_unix_set_client() local
729 struct svc_cred *cred = &rqstp->rq_cred; svcauth_null_accept() local
793 struct svc_cred *cred = &rqstp->rq_cred; svcauth_unix_accept() local
H A Dclnt.c2423 struct rpc_task *rpc_call_null(struct rpc_clnt *clnt, struct rpc_cred *cred, int flags) rpc_call_null() argument
/linux-4.4.14/security/apparmor/include/
H A Dcontext.h97 static inline struct aa_profile *aa_cred_profile(const struct cred *cred) aa_cred_profile() argument
/linux-4.4.14/fs/ecryptfs/
H A Dkthread.c131 ecryptfs_privileged_open(struct file **lower_file, struct dentry *lower_dentry, struct vfsmount *lower_mnt, const struct cred *cred) ecryptfs_privileged_open() argument
H A Dmain.c122 const struct cred *cred = current_cred(); ecryptfs_init_lower_file() local
/linux-4.4.14/arch/mips/kernel/
H A Dmips-mt-fpaff.c48 const struct cred *cred = current_cred(), *pcred; check_same_owner() local
/linux-4.4.14/net/netfilter/
H A Dnf_log_common.c142 const struct cred *cred = sk->sk_socket->file->f_cred; nf_log_dump_sk_uid_gid() local
H A Dnfnetlink_log.c558 const struct cred *cred = file->f_cred; __build_packet_message() local
H A Dnfnetlink_queue.c258 const struct cred *cred; nfqnl_put_sk_uidgid() local
/linux-4.4.14/drivers/connector/
H A Dcn_proc.c129 const struct cred *cred; proc_id_connector() local
/linux-4.4.14/net/core/
H A Dscm.c49 const struct cred *cred = current_cred(); scm_check_creds() local
H A Dsock.c1016 static void cred_to_ucred(struct pid *pid, const struct cred *cred, cred_to_ucred() argument
/linux-4.4.14/net/dns_resolver/
H A Ddns_key.c266 struct cred *cred; init_dns_resolver() local
/linux-4.4.14/security/tomoyo/
H A Dsecurityfs_if.c73 struct cred *cred = prepare_creds(); tomoyo_write_self() local
H A Dtomoyo.c59 static void tomoyo_cred_free(struct cred *cred) tomoyo_cred_free() argument
322 static int tomoyo_file_open(struct file *f, const struct cred *cred) tomoyo_file_open() argument
540 struct cred *cred = (struct cred *) current_cred(); tomoyo_init() local
/linux-4.4.14/include/linux/sunrpc/
H A Dsvcauth.h30 static inline void init_svc_cred(struct svc_cred *cred) init_svc_cred() argument
37 static inline void free_svc_cred(struct svc_cred *cred) free_svc_cred() argument
H A Dauth.h195 struct rpc_cred * get_rpccred(struct rpc_cred *cred) get_rpccred() argument
/linux-4.4.14/drivers/misc/vmw_vmci/
H A Dvmci_context.h88 const struct cred *cred; member in struct:vmci_ctx
H A Dvmci_context.c84 vmci_ctx_create(u32 cid, u32 priv_flags, uintptr_t event_hnd, int user_version, const struct cred *cred) vmci_ctx_create() argument
H A Dvmci_host.c299 const struct cred *cred; vmci_host_do_init_context() local
/linux-4.4.14/fs/
H A Dfile_table.c105 const struct cred *cred = current_cred(); get_empty_filp() local
H A Dfcntl.c93 const struct cred *cred = current_cred(); f_modown() local
435 const struct cred *cred; sigio_perm() local
H A Dcoredump.c167 const struct cred *cred = current_cred(); format_corename() local
516 struct cred *cred; do_coredump() local
H A Dopen.c682 do_dentry_open(struct file *f, struct inode *inode, int (*open)(struct inode *, struct file *), const struct cred *cred) do_dentry_open() argument
840 vfs_open(const struct path *path, struct file *file, const struct cred *cred) vfs_open() argument
852 dentry_open(const struct path *path, int flags, const struct cred *cred) dentry_open() argument
H A Dbinfmt_elf_fdpic.c498 const struct cred *cred = current_cred(); create_elf_fdpic_tables() local
1405 const struct cred *cred; fill_psinfo() local
H A Dbinfmt_elf.c169 const struct cred *cred = current_cred(); create_elf_tables() local
1439 const struct cred *cred; fill_psinfo() local
/linux-4.4.14/net/sunrpc/auth_gss/
H A Dgss_rpc_xdr.c550 gssx_enc_cred(struct xdr_stream *xdr, struct gssx_cred *cred) gssx_enc_cred() argument
H A Dauth_gss.c137 gss_cred_set_ctx(struct rpc_cred *cred, struct gss_cl_ctx *ctx) gss_cred_set_ctx() argument
180 gss_cred_get_ctx(struct rpc_cred *cred) gss_cred_get_ctx() argument
530 gss_setup_upcall(struct gss_auth *gss_auth, struct rpc_cred *cred) gss_setup_upcall() argument
560 struct rpc_cred *cred = task->tk_rqstp->rq_cred; gss_refresh_upcall() local
613 struct rpc_cred *cred = &gss_cred->gc_base; gss_create_upcall() local
1207 gss_destroying_context(struct rpc_cred *cred) gss_destroying_context() argument
1274 gss_destroy_nullcred(struct rpc_cred *cred) gss_destroy_nullcred() argument
1288 gss_destroy_cred(struct rpc_cred *cred) gss_destroy_cred() argument
1309 struct gss_cred *cred = NULL; gss_create_cred() local
1338 gss_cred_init(struct rpc_auth *auth, struct rpc_cred *cred) gss_cred_init() argument
1351 gss_stringify_acceptor(struct rpc_cred *cred) gss_stringify_acceptor() argument
1479 struct rpc_cred *cred = req->rq_cred; gss_marshal() local
1553 static int gss_cred_is_negative_entry(struct rpc_cred *cred) gss_cred_is_negative_entry() argument
1576 struct rpc_cred *cred = task->tk_rqstp->rq_cred; gss_refresh() local
1606 struct rpc_cred *cred = task->tk_rqstp->rq_cred; gss_validate() local
1663 gss_wrap_req_integ(struct rpc_cred *cred, struct gss_cl_ctx *ctx, gss_wrap_req_integ() argument
1754 gss_wrap_req_priv(struct rpc_cred *cred, struct gss_cl_ctx *ctx, gss_wrap_req_priv() argument
1825 struct rpc_cred *cred = task->tk_rqstp->rq_cred; gss_wrap_req() local
1859 gss_unwrap_resp_integ(struct rpc_cred *cred, struct gss_cl_ctx *ctx, gss_unwrap_resp_integ() argument
1896 gss_unwrap_resp_priv(struct rpc_cred *cred, struct gss_cl_ctx *ctx, gss_unwrap_resp_priv() argument
1937 struct rpc_cred *cred = task->tk_rqstp->rq_cred; gss_unwrap_resp() local
H A Dsvcauth_gss.c330 struct svc_cred cred; member in struct:rsc
/linux-4.4.14/security/apparmor/
H A Ddomain.c606 const struct cred *cred; aa_change_hat() local
746 const struct cred *cred; aa_change_profile() local
H A Dlsm.c49 static void apparmor_cred_free(struct cred *cred) apparmor_cred_free() argument
58 static int apparmor_cred_alloc_blank(struct cred *cred, gfp_t gfp) apparmor_cred_alloc_blank() argument
112 const struct cred *cred; apparmor_capget() local
131 static int apparmor_capable(const struct cred *cred, struct user_namespace *ns, apparmor_capable() argument
366 static int apparmor_file_open(struct file *file, const struct cred *cred) apparmor_file_open() argument
499 const struct cred *cred = get_task_cred(task); apparmor_getprocattr() local
871 struct cred *cred = (struct cred *)current->real_cred; set_init_cxt() local
/linux-4.4.14/fs/exportfs/
H A Dexpfs.c272 const struct cred *cred = current_cred(); get_name() local
/linux-4.4.14/fs/proc/
H A Dfd.c87 const struct cred *cred; tid_fd_revalidate() local
H A Darray.c149 const struct cred *cred; task_state() local
310 const struct cred *cred; task_cap() local
H A Dbase.c1646 const struct cred *cred; proc_pid_make_inode() local
1688 const struct cred *cred; pid_getattr() local
1738 const struct cred *cred; pid_revalidate() local
1849 const struct cred *cred; map_files_d_revalidate() local
/linux-4.4.14/include/linux/
H A Dbinfmts.h36 struct cred *cred; /* new credentials */ member in struct:linux_binprm
H A Dpnfs_osd_xdr.h106 void *cred; member in struct:pnfs_osd_opaque_cred
H A Dcred.h118 struct cred { struct
186 static inline void __validate_creds(const struct cred *cred, __validate_creds() argument
205 static inline void validate_creds(const struct cred *cred) validate_creds() argument
216 static inline bool cap_ambient_invariant_ok(const struct cred *cred) cap_ambient_invariant_ok() argument
230 static inline struct cred *get_new_cred(struct cred *cred) get_new_cred() argument
249 static inline const struct cred *get_cred(const struct cred *cred) get_cred() argument
269 struct cred *cred = (struct cred *) _cred; put_cred() local
H A Dnfs_fs.h53 struct rpc_cred * cred; member in struct:nfs_access_entry
81 struct rpc_cred *cred; member in struct:nfs_open_context
97 struct rpc_cred *cred; member in struct:nfs_open_dir_context
H A Dsecurity.h433 static inline int security_capable(const struct cred *cred, security_capable() argument
439 static inline int security_capable_noaudit(const struct cred *cred, security_capable_noaudit() argument
821 static inline int security_cred_alloc_blank(struct cred *cred, gfp_t gfp) security_cred_alloc_blank() argument
826 static inline void security_cred_free(struct cred *cred) security_cred_free() argument
841 static inline int security_kernel_act_as(struct cred *cred, u32 secid) security_kernel_act_as() argument
846 static inline int security_kernel_create_files_as(struct cred *cred, security_kernel_create_files_as() argument
807 security_file_open(struct file *file, const struct cred *cred) security_file_open() argument
1527 security_key_alloc(struct key *key, const struct cred *cred, unsigned long flags) security_key_alloc() argument
1538 security_key_permission(key_ref_t key_ref, const struct cred *cred, unsigned perm) security_key_permission() argument
H A Dnfs_xdr.h252 struct rpc_cred *cred; member in struct:nfs4_layoutget
291 struct rpc_cred *cred; member in struct:nfs4_layoutcommit_data
315 struct rpc_cred *cred; member in struct:nfs4_layoutreturn
1382 struct rpc_cred *cred; member in struct:nfs_pgio_header
1441 struct rpc_cred *cred; member in struct:nfs_commit_data
1470 struct rpc_cred *cred; member in struct:nfs_unlinkdata
1478 struct rpc_cred *cred; member in struct:nfs_renamedata
H A Dsched.h1545 const struct cred __rcu *cred; /* effective (overridable) subjective task member in struct:task_struct
/linux-4.4.14/drivers/block/
H A Dosdblk.c164 osd_async_op(struct osd_request *or, osd_req_done_fn *async_done, void *caller_context, u8 *cred) osd_async_op() argument
/linux-4.4.14/fs/lockd/
H A Dclntproc.c249 nlmclnt_call(struct rpc_cred *cred, struct nlm_rqst *req, u32 proc) nlmclnt_call() argument
394 static int nlmclnt_async_call(struct rpc_cred *cred, struct nlm_rqst *req, u32 proc, const struct rpc_call_ops *tk_ops) nlmclnt_async_call() argument
503 struct rpc_cred *cred = nfs_file_cred(fl->fl_file); nlmclnt_lock() local
/linux-4.4.14/fs/nfs/flexfilelayout/
H A Dflexfilelayout.h81 struct rpc_cred *cred; member in struct:nfs4_ff_layout_mirror
H A Dflexfilelayoutdev.c340 struct rpc_cred *cred; ff_layout_update_mirror_cred() local
461 struct rpc_cred *cred = ERR_PTR(-EINVAL); ff_layout_get_ds_cred() local
/linux-4.4.14/include/scsi/
H A Dosd_ore.h33 u8 cred[OSD_CAP_LEN]; member in struct:ore_comp
/linux-4.4.14/arch/s390/kernel/
H A Dcompat_linux.c135 const struct cred *cred = current_cred(); COMPAT_SYSCALL_DEFINE3() local
159 const struct cred *cred = current_cred(); COMPAT_SYSCALL_DEFINE3() local
224 const struct cred *cred = current_cred(); COMPAT_SYSCALL_DEFINE2() local
/linux-4.4.14/net/rxrpc/
H A Dar-key.c967 const struct cred *cred = current_cred(); rxrpc_get_server_data_key() local
1021 const struct cred *cred = current_cred(); rxrpc_get_null_key() local
/linux-4.4.14/security/
H A Dcommoncap.c71 int cap_capable(const struct cred *cred, struct user_namespace *targ_ns, cap_capable() argument
139 const struct cred *cred, *child_cred; cap_ptrace_access_check() local
176 const struct cred *cred, *child_cred; cap_ptrace_traceme() local
205 const struct cred *cred; cap_capget() local
628 const struct cred *cred = current_cred(); cap_bprm_secureexec() local
H A Dsecurity.c184 int security_capable(const struct cred *cred, struct user_namespace *ns, security_capable() argument
190 int security_capable_noaudit(const struct cred *cred, struct user_namespace *ns, security_capable_noaudit() argument
836 int security_file_open(struct file *file, const struct cred *cred) security_file_open() argument
857 int security_cred_alloc_blank(struct cred *cred, gfp_t gfp) security_cred_alloc_blank() argument
862 void security_cred_free(struct cred *cred) security_cred_free() argument
1491 int security_key_alloc(struct key *key, const struct cred *cred, security_key_alloc() argument
1502 security_key_permission(key_ref_t key_ref, const struct cred *cred, unsigned perm) security_key_permission() argument
/linux-4.4.14/security/integrity/ima/
H A Dima_policy.c215 const struct cred *cred = current_cred(); ima_match_rules() local
/linux-4.4.14/fs/exofs/
H A Dsuper.c225 static int exofs_read_kern(struct osd_dev *od, u8 *cred, struct osd_obj_id *obj, exofs_read_kern() argument
/linux-4.4.14/fs/xfs/
H A Dxfs_ioctl.c198 const struct cred *cred = current_cred(); xfs_open_by_handle() local
/linux-4.4.14/fs/fuse/
H A Ddir.c1015 const struct cred *cred; fuse_allow_current_process() local
/linux-4.4.14/fs/nfsd/
H A Dnfs4callback.c748 struct rpc_cred *cred; setup_callback_client() local
/linux-4.4.14/mm/
H A Dmigrate.c1484 const struct cred *cred = current_cred(), *tcred; SYSCALL_DEFINE6() local
H A Dmempolicy.c1343 const struct cred *cred = current_cred(), *tcred; SYSCALL_DEFINE4() local
/linux-4.4.14/fs/cifs/
H A Dcifsacl.c342 struct cred *cred; init_cifs_idmap() local
/linux-4.4.14/ipc/
H A Dmqueue.c728 const struct cred *cred = current_cred(); do_create() local
/linux-4.4.14/drivers/usb/core/
H A Ddevio.c75 const struct cred *cred; member in struct:usb_dev_state
86 const struct cred *cred; member in struct:async
496 const struct cred *cred = NULL; async_completed() local
/linux-4.4.14/drivers/net/
H A Dtun.c472 const struct cred *cred = current_cred(); tun_not_capable() local
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dsge.c610 unsigned int cred = fl->avail; refill_fl() local
/linux-4.4.14/lib/
H A Dvsprintf.c1571 const struct cred *cred = current_cred(); pointer() local
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
H A Dsge.c585 unsigned int cred = q->avail; refill_fl() local
/linux-4.4.14/security/smack/
H A Dsmack_lsm.c223 static int smk_bu_credfile(const struct cred *cred, struct file *file, smk_bu_credfile() argument
1892 static int smack_file_open(struct file *file, const struct cred *cred) smack_file_open() argument
1923 static int smack_cred_alloc_blank(struct cred *cred, gfp_t gfp) smack_cred_alloc_blank() argument
1942 static void smack_cred_free(struct cred *cred) smack_cred_free() argument
4280 static int smack_key_alloc(struct key *key, const struct cred *cred, smack_key_alloc() argument
4760 struct cred *cred; smack_init() local
4309 smack_key_permission(key_ref_t key_ref, const struct cred *cred, unsigned perm) smack_key_permission() argument
/linux-4.4.14/security/selinux/
H A Dhooks.c178 struct cred *cred = (struct cred *) current->real_cred; cred_init_security() local
192 static inline u32 cred_sid(const struct cred *cred) cred_sid() argument
620 const struct cred *cred = current_cred(); selinux_set_mnt_opts() local
1563 static int cred_has_capability(const struct cred *cred, cred_has_capability() argument
1612 static int inode_has_perm(const struct cred *cred, inode_has_perm() argument
1634 static inline int dentry_has_perm(const struct cred *cred, dentry_has_perm() argument
1649 static inline int path_has_perm(const struct cred *cred, path_has_perm() argument
1662 static inline int file_path_has_perm(const struct cred *cred, file_path_has_perm() argument
1681 static int file_has_perm(const struct cred *cred, file_has_perm() argument
1891 static int superblock_has_perm(const struct cred *cred, superblock_has_perm() argument
2079 static int selinux_capable(const struct cred *cred, struct user_namespace *ns, selinux_capable() argument
2087 const struct cred *cred = current_cred(); selinux_quotactl() local
2115 const struct cred *cred = current_cred(); selinux_quota_on() local
2345 static inline void flush_unauthorized_files(const struct cred *cred, flush_unauthorized_files() argument
2672 const struct cred *cred = current_cred(); selinux_sb_kern_mount() local
2691 const struct cred *cred = current_cred(); selinux_sb_statfs() local
2705 const struct cred *cred = current_cred(); selinux_mount() local
2716 const struct cred *cred = current_cred(); selinux_umount() local
2843 const struct cred *cred = current_cred(); selinux_inode_readlink() local
2851 const struct cred *cred = current_cred(); selinux_inode_follow_link() local
2888 const struct cred *cred = current_cred(); selinux_inode_permission() local
2930 const struct cred *cred = current_cred(); selinux_inode_setattr() local
2960 const struct cred *cred = current_cred(); selinux_inode_setotherxattr() local
3086 const struct cred *cred = current_cred(); selinux_inode_getxattr() local
3093 const struct cred *cred = current_cred(); selinux_inode_listxattr() local
3195 const struct cred *cred = current_cred(); selinux_revalidate_file_permission() local
3239 static int ioctl_has_perm(const struct cred *cred, struct file *file, ioctl_has_perm() argument
3278 const struct cred *cred = current_cred(); selinux_file_ioctl() local
3326 const struct cred *cred = current_cred(); file_map_prot_check() local
3387 const struct cred *cred = current_cred(); selinux_file_mprotect() local
3421 const struct cred *cred = current_cred(); selinux_file_lock() local
3429 const struct cred *cred = current_cred(); selinux_file_fcntl() local
3498 const struct cred *cred = current_cred(); selinux_file_receive() local
3503 static int selinux_file_open(struct file *file, const struct cred *cred) selinux_file_open() argument
3540 static int selinux_cred_alloc_blank(struct cred *cred, gfp_t gfp) selinux_cred_alloc_blank() argument
3555 static void selinux_cred_free(struct cred *cred) selinux_cred_free() argument
5793 static int selinux_key_alloc(struct key *k, const struct cred *cred, selinux_key_alloc() argument
378 may_context_mount_sb_relabel(u32 sid, struct superblock_security_struct *sbsec, const struct cred *cred) may_context_mount_sb_relabel() argument
395 may_context_mount_inode_relabel(u32 sid, struct superblock_security_struct *sbsec, const struct cred *cred) may_context_mount_inode_relabel() argument
5821 selinux_key_permission(key_ref_t key_ref, const struct cred *cred, unsigned perm) selinux_key_permission() argument
/linux-4.4.14/kernel/sched/
H A Dcore.c3760 const struct cred *cred = current_cred(), *pcred; check_same_owner() local

Completed in 6430 milliseconds