/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/linux/ |
H A D | linux-curproc.c | 60 struct cred *cred; cfs_cap_raise() local 71 struct cred *cred; cfs_cap_lower() local
|
/linux-4.1.27/security/keys/ |
H A D | permission.c | 30 int key_task_permission(const key_ref_t key_ref, const struct cred *cred, key_task_permission() argument
|
H A D | request_key_auth.c | 151 const struct cred *cred = current->cred; request_key_auth_new() local
|
H A D | internal.h | 112 const struct cred *cred; member in struct:keyring_search_context 190 const struct cred *cred; member in struct:request_key_auth
|
H A D | process_keys.c | 46 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 D | request_key.c | 56 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 D | key.c | 786 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 D | keyctl.c | 1013 const struct cred *cred = current_cred(); keyctl_instantiate_key_common() local 1180 const struct cred *cred = current_cred(); keyctl_reject_key() local 1471 struct cred *cred; keyctl_session_to_parent() local
|
H A D | keyring.c | 492 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.1.27/fs/nfs/ |
H A D | nfs4renewd.c | 60 struct rpc_cred *cred; nfs4_renew_state() local
|
H A D | delegation.h | 17 struct rpc_cred *cred; member in struct:nfs_delegation
|
H A D | pnfs_dev.c | 96 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 D | nfs4namespace.c | 174 struct rpc_cred *cred; nfs_find_best_sec() local
|
H A D | delegation.c | 165 void nfs_inode_reclaim_delegation(struct inode *inode, struct rpc_cred *cred, nfs_inode_reclaim_delegation() argument 326 int nfs_inode_set_delegation(struct inode *inode, struct rpc_cred *cred, struct nfs_openres *res) nfs_inode_set_delegation() argument
|
H A D | nfs4session.c | 491 struct rpc_cred *cred; nfs4_destroy_session() local
|
H A D | proc.c | 487 nfs_proc_readdir(struct dentry *dentry, struct rpc_cred *cred, nfs_proc_readdir() argument
|
H A D | client.c | 153 struct rpc_cred *cred; nfs_alloc_client() local
|
H A D | nfs3proc.c | 623 nfs3_proc_readdir(struct dentry *dentry, struct rpc_cred *cred, nfs3_proc_readdir() argument
|
H A D | nfs4client.c | 477 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 D | nfs4idmap.c | 189 struct cred *cred; nfs_idmap_init_keyring() local
|
H A D | inode.c | 784 struct rpc_cred *cred = rpc_lookup_cred(); alloc_nfs_open_context() local 870 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 D | pagelist.c | 616 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 D | dir.c | 70 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 2222 static struct nfs_access_entry *nfs_access_search_rbtree(struct inode *inode, struct rpc_cred *cred) nfs_access_search_rbtree() argument 2240 static int nfs_access_get_cached(struct inode *inode, struct rpc_cred *cred, struct nfs_access_entry *res) nfs_access_get_cached() argument 2275 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 2387 static int nfs_do_access(struct inode *inode, struct rpc_cred *cred, int mask) nfs_do_access() argument 2443 int nfs_may_open(struct inode *inode, struct rpc_cred *cred, int openflags) nfs_may_open() argument 2451 struct rpc_cred *cred; nfs_permission() local
|
H A D | nfs4state.c | 71 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 378 struct rpc_cred *cred; nfs4_get_clid_cred() local 387 nfs4_find_state_owner_locked(struct nfs_server *server, struct rpc_cred *cred) nfs4_find_state_owner_locked() argument 1645 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 1886 static int nfs4_try_migration(struct nfs_server *server, struct rpc_cred *cred) nfs4_try_migration() argument 1954 struct rpc_cred *cred; nfs4_handle_migration() local 2002 struct rpc_cred *cred; nfs4_handle_lease_moved() local 2060 struct rpc_cred *cred; nfs4_discover_server_trunking() local 2251 struct rpc_cred *cred; nfs4_reset_session() local 2294 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 340 nfs41_discover_server_trunking(struct nfs_client *clp, struct nfs_client **result, struct rpc_cred *cred) nfs41_discover_server_trunking() argument 476 nfs4_alloc_state_owner(struct nfs_server *server, struct rpc_cred *cred, gfp_t gfp_flags) nfs4_alloc_state_owner() argument 554 nfs4_get_state_owner(struct nfs_server *server, struct rpc_cred *cred, gfp_t gfp_flags) nfs4_get_state_owner() argument 1593 nfs4_reclaim_complete(struct nfs_client *clp, const struct nfs4_state_recovery_ops *ops, struct rpc_cred *cred) nfs4_reclaim_complete() argument
|
H A D | nfs4proc.c | 2039 static int nfs4_opendata_access(struct rpc_cred *cred, nfs4_opendata_access() argument 2209 struct rpc_cred *cred; nfs41_check_delegation_stateid() local 2249 struct rpc_cred *cred = state->owner->so_cred; nfs41_check_open_stateid() local 2371 struct rpc_cred *cred = ctx->cred; _nfs4_do_open() local 2519 static int _nfs4_do_setattr(struct inode *inode, struct rpc_cred *cred, _nfs4_do_setattr() argument 2579 static int nfs4_do_setattr(struct inode *inode, struct rpc_cred *cred, nfs4_do_setattr() argument 3267 struct rpc_cred *cred = NULL; nfs4_proc_setattr() local 3880 static int _nfs4_proc_readdir(struct dentry *dentry, struct rpc_cred *cred, _nfs4_proc_readdir() argument 3918 static int nfs4_proc_readdir(struct dentry *dentry, struct rpc_cred *cred, nfs4_proc_readdir() argument 4401 static int nfs4_proc_async_renew(struct nfs_client *clp, struct rpc_cred *cred, unsigned renew_flags) nfs4_proc_async_renew() argument 4423 static int nfs4_proc_renew(struct nfs_client *clp, struct rpc_cred *cred) nfs4_proc_renew() argument 4841 struct rpc_cred *cred; nfs4_set_security_label() local 5223 static int _nfs4_proc_delegreturn(struct inode *inode, struct rpc_cred *cred, const nfs4_stateid *stateid, int issync) _nfs4_proc_delegreturn() argument 5279 int nfs4_proc_delegreturn(struct inode *inode, struct rpc_cred *cred, const nfs4_stateid *stateid, int issync) nfs4_proc_delegreturn() argument 5881 struct rpc_cred *cred = lsp->ls_state->owner->so_cred; nfs41_check_expired_locks() local 6433 static int _nfs40_proc_fsid_present(struct inode *inode, struct rpc_cred *cred) _nfs40_proc_fsid_present() argument 6480 static int _nfs41_proc_fsid_present(struct inode *inode, struct rpc_cred *cred) _nfs41_proc_fsid_present() argument 6528 int nfs4_proc_fsid_present(struct inode *inode, struct rpc_cred *cred) nfs4_proc_fsid_present() argument 6575 struct rpc_cred *cred = NULL; _nfs4_proc_secinfo() local 6663 int nfs4_proc_bind_conn_to_session(struct nfs_client *clp, struct rpc_cred *cred) nfs4_proc_bind_conn_to_session() argument 6831 static int _nfs4_proc_exchange_id(struct nfs_client *clp, struct rpc_cred *cred, _nfs4_proc_exchange_id() argument 6971 int nfs4_proc_exchange_id(struct nfs_client *clp, struct rpc_cred *cred) nfs4_proc_exchange_id() argument 7028 struct rpc_cred *cred; nfs4_destroy_clientid() local 7304 int nfs4_proc_create_session(struct nfs_client *clp, struct rpc_cred *cred) nfs4_proc_create_session() argument 7470 static int nfs41_proc_async_sequence(struct nfs_client *clp, struct rpc_cred *cred, unsigned renew_flags) nfs41_proc_async_sequence() argument 7486 static int nfs4_proc_sequence(struct nfs_client *clp, struct rpc_cred *cred) nfs4_proc_sequence() argument 8121 struct rpc_cred *cred = NULL; _nfs41_proc_secinfo_no_name() local 8414 struct rpc_cred *cred = lsp->ls_state->owner->so_cred; nfs41_free_lock_state() local 5049 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 5124 nfs4_proc_setclientid_confirm(struct nfs_client *clp, struct nfs4_setclientid_res *arg, struct rpc_cred *cred) nfs4_proc_setclientid_confirm() argument 6282 _nfs40_proc_get_locations(struct inode *inode, struct nfs4_fs_locations *locations, struct page *page, struct rpc_cred *cred) _nfs40_proc_get_locations() argument 6340 _nfs41_proc_get_locations(struct inode *inode, struct nfs4_fs_locations *locations, struct page *page, struct rpc_cred *cred) _nfs41_proc_get_locations() argument 6400 nfs4_proc_get_locations(struct inode *inode, struct nfs4_fs_locations *locations, struct page *page, struct rpc_cred *cred) nfs4_proc_get_locations() argument 6988 _nfs4_proc_destroy_clientid(struct nfs_client *clp, struct rpc_cred *cred) _nfs4_proc_destroy_clientid() argument 7006 nfs4_proc_destroy_clientid(struct nfs_client *clp, struct rpc_cred *cred) nfs4_proc_destroy_clientid() argument 7259 _nfs4_proc_create_session(struct nfs_client *clp, struct rpc_cred *cred) _nfs4_proc_create_session() argument 7334 nfs4_proc_destroy_session(struct nfs4_session *session, struct rpc_cred *cred) nfs4_proc_destroy_session() argument 7436 _nfs41_proc_sequence(struct nfs_client *clp, struct rpc_cred *cred, bool is_privileged) _nfs41_proc_sequence() argument 7578 nfs41_proc_reclaim_complete(struct nfs_client *clp, struct rpc_cred *cred) nfs41_proc_reclaim_complete() argument 7952 _nfs4_proc_getdeviceinfo(struct nfs_server *server, struct pnfs_device *pdev, struct rpc_cred *cred) _nfs4_proc_getdeviceinfo() argument 7984 nfs4_proc_getdeviceinfo(struct nfs_server *server, struct pnfs_device *pdev, struct rpc_cred *cred) nfs4_proc_getdeviceinfo() argument 8247 _nfs41_test_stateid(struct nfs_server *server, nfs4_stateid *stateid, struct rpc_cred *cred) _nfs41_test_stateid() argument 8291 nfs41_test_stateid(struct nfs_server *server, nfs4_stateid *stateid, struct rpc_cred *cred) nfs41_test_stateid() argument 8345 _nfs41_free_stateid(struct nfs_server *server, nfs4_stateid *stateid, struct rpc_cred *cred, bool privileged) _nfs41_free_stateid() argument 8393 nfs41_free_stateid(struct nfs_server *server, nfs4_stateid *stateid, struct rpc_cred *cred) nfs41_free_stateid() argument
|
/linux-4.1.27/kernel/ |
H A D | uid16.c | 62 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 D | groups.c | 192 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 D | cred.c | 62 static inline void set_cred_subscribers(struct cred *cred, int n) set_cred_subscribers() argument 69 static inline int read_cred_subscribers(const struct cred *cred) read_cred_subscribers() argument 81 struct cred *cred = (struct cred *) _cred; alter_cred_subscribers() local 92 struct cred *cred = container_of(rcu, struct cred, rcu); put_cred_rcu() local 129 void __put_cred(struct cred *cred) __put_cred() argument 153 struct cred *cred; exit_creds() local 184 const struct cred *cred; get_task_cred() local 695 bool creds_are_invalid(const struct cred *cred) creds_are_invalid() argument 719 static void dump_invalid_creds(const struct cred *cred, const char *label, dump_invalid_creds() argument 756 void __invalid_creds(const struct cred *cred, const char *file, unsigned line) __invalid_creds() argument
|
H A D | ptrace.c | 221 const struct cred *cred = current_cred(), *tcred; __ptrace_may_access() local
|
H A D | user_namespace.c | 33 static void set_cred_user_ns(struct cred *cred, struct user_namespace *user_ns) set_cred_user_ns() argument 119 struct cred *cred; unshare_userns() local 819 const struct cred *cred = file->f_cred; new_idmap_permitted() local 971 struct cred *cred; userns_install() local
|
H A D | sys.c | 137 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 1809 const struct cred *cred = current_cred(); validate_prctl_map() local
|
H A D | audit.c | 1863 const struct cred *cred; audit_log_task_info() local
|
H A D | auditsc.c | 445 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 D | signal.c | 745 const struct cred *cred = current_cred(); kill_ok_by_cred() local 1370 static int kill_as_cred_perm(const struct cred *cred, kill_as_cred_perm() argument 1381 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 D | cgroup.c | 2387 const struct cred *cred = current_cred(), *tcred; __cgroup_procs_write() local
|
/linux-4.1.27/security/integrity/ |
H A D | digsig.c | 68 const struct cred *cred = current_cred(); integrity_init_keyring() local
|
/linux-4.1.27/block/ |
H A D | ioprio.c | 36 const struct cred *cred = current_cred(), *tcred; set_task_ioprio() local
|
/linux-4.1.27/arch/mips/kernel/ |
H A D | mips-mt-fpaff.c | 48 const struct cred *cred = current_cred(), *pcred; check_same_owner() local
|
/linux-4.1.27/fs/ecryptfs/ |
H A D | kthread.c | 131 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 D | main.c | 122 const struct cred *cred = current_cred(); ecryptfs_init_lower_file() local
|
/linux-4.1.27/net/netfilter/ |
H A D | nf_log_common.c | 142 const struct cred *cred = sk->sk_socket->file->f_cred; nf_log_dump_sk_uid_gid() local
|
H A D | nfnetlink_log.c | 555 const struct cred *cred = file->f_cred; __build_packet_message() local
|
H A D | nfnetlink_queue_core.c | 258 const struct cred *cred; nfqnl_put_sk_uidgid() local
|
/linux-4.1.27/net/sunrpc/ |
H A D | auth_null.c | 47 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 D | auth_generic.c | 113 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 D | auth_unix.c | 63 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 D | auth.c | 300 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 D | svcauth_unix.c | 661 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 D | clnt.c | 2419 struct rpc_task *rpc_call_null(struct rpc_clnt *clnt, struct rpc_cred *cred, int flags) rpc_call_null() argument
|
/linux-4.1.27/security/apparmor/include/ |
H A D | context.h | 97 static inline struct aa_profile *aa_cred_profile(const struct cred *cred) aa_cred_profile() argument
|
/linux-4.1.27/drivers/connector/ |
H A D | cn_proc.c | 129 const struct cred *cred; proc_id_connector() local
|
/linux-4.1.27/include/linux/sunrpc/ |
H A D | svcauth.h | 30 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 D | auth.h | 191 struct rpc_cred * get_rpccred(struct rpc_cred *cred) get_rpccred() argument
|
/linux-4.1.27/fs/cifs/ |
H A D | cifs_spnego.c | 190 struct cred *cred; init_cifs_spnego() local
|
H A D | cifsacl.c | 343 struct cred *cred; init_cifs_idmap() local
|
/linux-4.1.27/fs/ |
H A D | file_table.c | 105 const struct cred *cred = current_cred(); get_empty_filp() local
|
H A D | open.c | 680 do_dentry_open(struct file *f, struct inode *inode, int (*open)(struct inode *, struct file *), const struct cred *cred) do_dentry_open() argument 832 vfs_open(const struct path *path, struct file *file, const struct cred *cred) vfs_open() argument 848 dentry_open(const struct path *path, int flags, const struct cred *cred) dentry_open() argument
|
H A D | coredump.c | 166 const struct cred *cred = current_cred(); format_corename() local 512 struct cred *cred; do_coredump() local
|
H A D | fcntl.c | 93 const struct cred *cred = current_cred(); f_modown() local 435 const struct cred *cred; sigio_perm() local
|
H A D | binfmt_elf_fdpic.c | 472 const struct cred *cred = current_cred(); create_elf_fdpic_tables() local 1365 const struct cred *cred; fill_psinfo() local
|
H A D | namei.c | 850 const struct cred *cred; may_linkat() local
|
H A D | binfmt_elf.c | 168 const struct cred *cred = current_cred(); create_elf_tables() local 1429 const struct cred *cred; fill_psinfo() local
|
/linux-4.1.27/net/core/ |
H A D | scm.c | 49 const struct cred *cred = current_cred(); scm_check_creds() local
|
H A D | sock.c | 999 static void cred_to_ucred(struct pid *pid, const struct cred *cred, cred_to_ucred() argument
|
/linux-4.1.27/net/dns_resolver/ |
H A D | dns_key.c | 264 struct cred *cred; init_dns_resolver() local
|
/linux-4.1.27/security/tomoyo/ |
H A D | securityfs_if.c | 73 struct cred *cred = prepare_creds(); tomoyo_write_self() local
|
H A D | tomoyo.c | 59 static void tomoyo_cred_free(struct cred *cred) tomoyo_cred_free() argument 328 static int tomoyo_file_open(struct file *f, const struct cred *cred) tomoyo_file_open() argument 547 struct cred *cred = (struct cred *) current_cred(); tomoyo_init() local
|
/linux-4.1.27/drivers/misc/vmw_vmci/ |
H A D | vmci_context.h | 88 const struct cred *cred; member in struct:vmci_ctx
|
H A D | vmci_context.c | 84 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 D | vmci_host.c | 299 const struct cred *cred; vmci_host_do_init_context() local
|
/linux-4.1.27/fs/proc/ |
H A D | fd.c | 87 const struct cred *cred; tid_fd_revalidate() local
|
H A D | array.c | 141 const struct cred *cred; task_state() local 302 const struct cred *cred; task_cap() local
|
H A D | base.c | 1458 const struct cred *cred; proc_pid_make_inode() local 1500 const struct cred *cred; pid_getattr() local 1550 const struct cred *cred; pid_revalidate() local 1663 const struct cred *cred; map_files_d_revalidate() local
|
/linux-4.1.27/fs/nfs/flexfilelayout/ |
H A D | flexfilelayout.h | 55 struct rpc_cred *cred; member in struct:nfs4_ff_layout_mirror
|
H A D | flexfilelayoutdev.c | 314 struct rpc_cred *cred; ff_layout_update_mirror_cred() local 446 struct rpc_cred *cred = ERR_PTR(-EINVAL); ff_layout_get_ds_cred() local
|
/linux-4.1.27/fs/exportfs/ |
H A D | expfs.c | 272 const struct cred *cred = current_cred(); get_name() local
|
/linux-4.1.27/net/sunrpc/auth_gss/ |
H A D | gss_rpc_xdr.c | 550 gssx_enc_cred(struct xdr_stream *xdr, struct gssx_cred *cred) gssx_enc_cred() argument
|
H A D | auth_gss.c | 137 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 1480 struct rpc_cred *cred = req->rq_cred; gss_marshal() local 1554 static int gss_cred_is_negative_entry(struct rpc_cred *cred) gss_cred_is_negative_entry() argument 1577 struct rpc_cred *cred = task->tk_rqstp->rq_cred; gss_refresh() local 1607 struct rpc_cred *cred = task->tk_rqstp->rq_cred; gss_validate() local 1664 gss_wrap_req_integ(struct rpc_cred *cred, struct gss_cl_ctx *ctx, gss_wrap_req_integ() argument 1755 gss_wrap_req_priv(struct rpc_cred *cred, struct gss_cl_ctx *ctx, gss_wrap_req_priv() argument 1826 struct rpc_cred *cred = task->tk_rqstp->rq_cred; gss_wrap_req() local 1860 gss_unwrap_resp_integ(struct rpc_cred *cred, struct gss_cl_ctx *ctx, gss_unwrap_resp_integ() argument 1897 gss_unwrap_resp_priv(struct rpc_cred *cred, struct gss_cl_ctx *ctx, gss_unwrap_resp_priv() argument 1938 struct rpc_cred *cred = task->tk_rqstp->rq_cred; gss_unwrap_resp() local
|
H A D | svcauth_gss.c | 330 struct svc_cred cred; member in struct:rsc
|
/linux-4.1.27/security/apparmor/ |
H A D | domain.c | 610 const struct cred *cred; aa_change_hat() local 750 const struct cred *cred; aa_change_profile() local
|
H A D | lsm.c | 49 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 120 const struct cred *cred; apparmor_capget() local 139 static int apparmor_capable(const struct cred *cred, struct user_namespace *ns, apparmor_capable() argument 376 static int apparmor_file_open(struct file *file, const struct cred *cred) apparmor_file_open() argument 509 const struct cred *cred = get_task_cred(task); apparmor_getprocattr() local 884 struct cred *cred = (struct cred *)current->real_cred; set_init_cxt() local 921 struct cred *cred = (struct cred *)current->real_cred; apparmor_init() local
|
/linux-4.1.27/include/linux/ |
H A D | binfmts.h | 36 struct cred *cred; /* new credentials */ member in struct:linux_binprm
|
H A D | pnfs_osd_xdr.h | 106 void *cred; member in struct:pnfs_osd_opaque_cred
|
H A D | cred.h | 118 struct cred { struct 185 static inline void __validate_creds(const struct cred *cred, __validate_creds() argument 204 static inline void validate_creds(const struct cred *cred) validate_creds() argument 222 static inline struct cred *get_new_cred(struct cred *cred) get_new_cred() argument 241 static inline const struct cred *get_cred(const struct cred *cred) get_cred() argument 261 struct cred *cred = (struct cred *) _cred; put_cred() local
|
H A D | nfs_fs.h | 53 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 D | nfs_xdr.h | 251 struct rpc_cred *cred; member in struct:nfs4_layoutget 289 struct rpc_cred *cred; member in struct:nfs4_layoutcommit_data 313 struct rpc_cred *cred; member in struct:nfs4_layoutreturn 1324 struct rpc_cred *cred; member in struct:nfs_pgio_header 1383 struct rpc_cred *cred; member in struct:nfs_commit_data 1412 struct rpc_cred *cred; member in struct:nfs_unlinkdata 1420 struct rpc_cred *cred; member in struct:nfs_renamedata
|
H A D | security.h | 2015 static inline int security_capable(const struct cred *cred, security_capable() argument 2021 static inline int security_capable_noaudit(const struct cred *cred, security_capable_noaudit() argument 2402 static inline int security_cred_alloc_blank(struct cred *cred, gfp_t gfp) security_cred_alloc_blank() argument 2407 static inline void security_cred_free(struct cred *cred) security_cred_free() argument 2422 static inline int security_kernel_act_as(struct cred *cred, u32 secid) security_kernel_act_as() argument 2427 static inline int security_kernel_create_files_as(struct cred *cred, security_kernel_create_files_as() argument 2388 security_file_open(struct file *file, const struct cred *cred) security_file_open() argument 3108 security_key_alloc(struct key *key, const struct cred *cred, unsigned long flags) security_key_alloc() argument 3119 security_key_permission(key_ref_t key_ref, const struct cred *cred, unsigned perm) security_key_permission() argument
|
H A D | sched.h | 1458 const struct cred __rcu *cred; /* effective (overridable) subjective task member in struct:task_struct
|
/linux-4.1.27/drivers/block/ |
H A D | osdblk.c | 164 osd_async_op(struct osd_request *or, osd_req_done_fn *async_done, void *caller_context, u8 *cred) osd_async_op() argument
|
/linux-4.1.27/fs/lockd/ |
H A D | clntproc.c | 249 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 514 struct rpc_cred *cred = nfs_file_cred(fl->fl_file); nlmclnt_lock() local
|
/linux-4.1.27/include/scsi/ |
H A D | osd_ore.h | 33 u8 cred[OSD_CAP_LEN]; member in struct:ore_comp
|
/linux-4.1.27/arch/s390/kernel/ |
H A D | compat_linux.c | 135 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.1.27/fs/xfs/ |
H A D | xfs_ioctl.c | 197 const struct cred *cred = current_cred(); xfs_open_by_handle() local
|
/linux-4.1.27/fs/hppfs/ |
H A D | hppfs.c | 422 const struct cred *cred = file->f_cred; hppfs_open() local 483 const struct cred *cred = file->f_cred; hppfs_dir_open() local
|
/linux-4.1.27/fs/exofs/ |
H A D | super.c | 225 static int exofs_read_kern(struct osd_dev *od, u8 *cred, struct osd_obj_id *obj, exofs_read_kern() argument
|
/linux-4.1.27/net/rxrpc/ |
H A D | ar-key.c | 967 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.1.27/security/ |
H A D | commoncap.c | 76 int cap_capable(const struct cred *cred, struct user_namespace *targ_ns, cap_capable() argument 144 const struct cred *cred, *child_cred; cap_ptrace_access_check() local 181 const struct cred *cred, *child_cred; cap_ptrace_traceme() local 210 const struct cred *cred; cap_capget() local 596 const struct cred *cred = current_cred(); cap_bprm_secureexec() local
|
H A D | capability.c | 385 static int cap_file_open(struct file *file, const struct cred *cred) cap_file_open() argument 399 static int cap_cred_alloc_blank(struct cred *cred, gfp_t gfp) cap_cred_alloc_blank() argument 404 static void cap_cred_free(struct cred *cred) cap_cred_free() argument 894 static int cap_key_alloc(struct key *key, const struct cred *cred, cap_key_alloc() argument 904 static int cap_key_permission(key_ref_t key_ref, const struct cred *cred, cap_key_permission() argument
|
H A D | security.c | 200 int security_capable(const struct cred *cred, struct user_namespace *ns, security_capable() argument 206 int security_capable_noaudit(const struct cred *cred, struct user_namespace *ns, security_capable_noaudit() argument 816 int security_file_open(struct file *file, const struct cred *cred) security_file_open() argument 840 int security_cred_alloc_blank(struct cred *cred, gfp_t gfp) security_cred_alloc_blank() argument 845 void security_cred_free(struct cred *cred) security_cred_free() argument 1444 int security_key_alloc(struct key *key, const struct cred *cred, security_key_alloc() argument 1455 security_key_permission(key_ref_t key_ref, const struct cred *cred, unsigned perm) security_key_permission() argument
|
/linux-4.1.27/security/integrity/ima/ |
H A D | ima_policy.c | 215 const struct cred *cred = current_cred(); ima_match_rules() local
|
/linux-4.1.27/fs/nfsd/ |
H A D | nfs4callback.c | 748 struct rpc_cred *cred; setup_callback_client() local
|
/linux-4.1.27/ipc/ |
H A D | mqueue.c | 732 const struct cred *cred = current_cred(); do_create() local
|
/linux-4.1.27/fs/fuse/ |
H A D | dir.c | 1015 const struct cred *cred; fuse_allow_current_process() local
|
/linux-4.1.27/mm/ |
H A D | migrate.c | 1463 const struct cred *cred = current_cred(), *tcred; SYSCALL_DEFINE6() local
|
H A D | mempolicy.c | 1346 const struct cred *cred = current_cred(), *tcred; SYSCALL_DEFINE4() local
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | sge.c | 592 unsigned int cred = q->avail; refill_fl() local
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | sge.c | 612 unsigned int cred = fl->avail; refill_fl() local
|
/linux-4.1.27/drivers/net/ |
H A D | tun.c | 418 const struct cred *cred = current_cred(); tun_not_capable() local
|
/linux-4.1.27/drivers/usb/core/ |
H A D | devio.c | 75 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.1.27/lib/ |
H A D | vsprintf.c | 1568 const struct cred *cred = current_cred(); pointer() local
|
/linux-4.1.27/security/smack/ |
H A D | smack_lsm.c | 213 static int smk_bu_credfile(const struct cred *cred, struct file *file, smk_bu_credfile() argument 1701 static int smack_file_open(struct file *file, const struct cred *cred) smack_file_open() argument 1732 static int smack_cred_alloc_blank(struct cred *cred, gfp_t gfp) smack_cred_alloc_blank() argument 1751 static void smack_cred_free(struct cred *cred) smack_cred_free() argument 3971 static int smack_key_alloc(struct key *key, const struct cred *cred, smack_key_alloc() argument 4449 struct cred *cred; smack_init() local 4000 smack_key_permission(key_ref_t key_ref, const struct cred *cred, unsigned perm) smack_key_permission() argument
|
/linux-4.1.27/kernel/sched/ |
H A D | core.c | 3389 const struct cred *cred = current_cred(), *pcred; check_same_owner() local
|
/linux-4.1.27/security/selinux/ |
H A D | hooks.c | 177 struct cred *cred = (struct cred *) current->real_cred; cred_init_security() local 191 static inline u32 cred_sid(const struct cred *cred) cred_sid() argument 608 const struct cred *cred = current_cred(); selinux_set_mnt_opts() local 1539 static int cred_has_capability(const struct cred *cred, cred_has_capability() argument 1588 static int inode_has_perm(const struct cred *cred, inode_has_perm() argument 1610 static inline int dentry_has_perm(const struct cred *cred, dentry_has_perm() argument 1625 static inline int path_has_perm(const struct cred *cred, path_has_perm() argument 1638 static inline int file_path_has_perm(const struct cred *cred, file_path_has_perm() argument 1657 static int file_has_perm(const struct cred *cred, file_has_perm() argument 1844 static int superblock_has_perm(const struct cred *cred, superblock_has_perm() argument 2057 static int selinux_capable(const struct cred *cred, struct user_namespace *ns, selinux_capable() argument 2071 const struct cred *cred = current_cred(); selinux_quotactl() local 2099 const struct cred *cred = current_cred(); selinux_quota_on() local 2333 static inline void flush_unauthorized_files(const struct cred *cred, flush_unauthorized_files() argument 2661 const struct cred *cred = current_cred(); selinux_sb_kern_mount() local 2680 const struct cred *cred = current_cred(); selinux_sb_statfs() local 2694 const struct cred *cred = current_cred(); selinux_mount() local 2705 const struct cred *cred = current_cred(); selinux_umount() local 2727 const struct cred *cred = current_cred(); selinux_dentry_init_security() local 2860 const struct cred *cred = current_cred(); selinux_inode_readlink() local 2867 const struct cred *cred = current_cred(); selinux_inode_follow_link() local 2893 const struct cred *cred = current_cred(); selinux_inode_permission() local 2935 const struct cred *cred = current_cred(); selinux_inode_setattr() local 2964 const struct cred *cred = current_cred(); selinux_inode_setotherxattr() local 3090 const struct cred *cred = current_cred(); selinux_inode_getxattr() local 3097 const struct cred *cred = current_cred(); selinux_inode_listxattr() local 3196 const struct cred *cred = current_cred(); selinux_revalidate_file_permission() local 3239 const struct cred *cred = current_cred(); selinux_file_ioctl() local 3287 const struct cred *cred = current_cred(); file_map_prot_check() local 3353 const struct cred *cred = current_cred(); selinux_file_mprotect() local 3387 const struct cred *cred = current_cred(); selinux_file_lock() local 3395 const struct cred *cred = current_cred(); selinux_file_fcntl() local 3464 const struct cred *cred = current_cred(); selinux_file_receive() local 3469 static int selinux_file_open(struct file *file, const struct cred *cred) selinux_file_open() argument 3506 static int selinux_cred_alloc_blank(struct cred *cred, gfp_t gfp) selinux_cred_alloc_blank() argument 3521 static void selinux_cred_free(struct cred *cred) selinux_cred_free() argument 5779 static int selinux_key_alloc(struct key *k, const struct cred *cred, selinux_key_alloc() argument 366 may_context_mount_sb_relabel(u32 sid, struct superblock_security_struct *sbsec, const struct cred *cred) may_context_mount_sb_relabel() argument 383 may_context_mount_inode_relabel(u32 sid, struct superblock_security_struct *sbsec, const struct cred *cred) may_context_mount_inode_relabel() argument 5807 selinux_key_permission(key_ref_t key_ref, const struct cred *cred, unsigned perm) selinux_key_permission() argument
|