Home
last modified time | relevance | path

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

123456

/linux/include/linux/
A Dcred.h110 struct cred { struct
111 atomic_t usage;
114 void *put_addr;
115 unsigned magic;
119 kuid_t uid; /* real UID of the task */
120 kgid_t gid; /* real GID of the task */
121 kuid_t suid; /* saved UID of the task */
125 kuid_t fsuid; /* UID for VFS ops */
126 kgid_t fsgid; /* GID for VFS ops */
155 extern void __put_cred(struct cred *); argument
[all …]
A Dwatch_queue.h63 const struct cred *cred; /* Creds of the owner of the watch */ member
104 const struct cred *cred, in post_watch_notification()
/linux/net/sunrpc/
A Dauth.c273 rpcauth_unhash_cred(struct rpc_cred *cred) in rpcauth_unhash_cred()
329 struct rpc_cred *cred; in rpcauth_destroy_credlist() local
339 rpcauth_lru_add_locked(struct rpc_cred *cred) in rpcauth_lru_add_locked()
348 rpcauth_lru_add(struct rpc_cred *cred) in rpcauth_lru_add()
367 rpcauth_lru_remove(struct rpc_cred *cred) in rpcauth_lru_remove()
385 struct rpc_cred *cred; in rpcauth_clear_credcache() local
432 struct rpc_cred *cred, *next; in rpcauth_prune_expired() local
522 struct rpc_cred *cred = NULL, in rpcauth_lookup_credcache() local
585 const struct cred *cred = current_cred(); in rpcauth_lookupcred() local
683 put_rpccred(struct rpc_cred *cred) in put_rpccred()
[all …]
A Dauth_unix.c63 unx_destroy_cred(struct rpc_cred *cred) in unx_destroy_cred()
72 unx_match(struct auth_cred *acred, struct rpc_cred *cred, int flags) in unx_match()
106 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in unx_marshal() local
A Dauth_null.c46 nul_destroy_cred(struct rpc_cred *cred) in nul_destroy_cred()
54 nul_match(struct auth_cred *acred, struct rpc_cred *cred, int taskflags) in nul_match()
/linux/kernel/
A Dcred.c66 static inline void set_cred_subscribers(struct cred *cred, int n) in set_cred_subscribers()
73 static inline int read_cred_subscribers(const struct cred *cred) in read_cred_subscribers()
85 struct cred *cred = (struct cred *) _cred; in alter_cred_subscribers() local
96 struct cred *cred = container_of(rcu, struct cred, rcu); in put_cred_rcu() local
135 void __put_cred(struct cred *cred) in __put_cred()
162 struct cred *cred; in exit_creds() local
198 const struct cred *cred; in get_task_cred() local
830 bool creds_are_invalid(const struct cred *cred) in creds_are_invalid()
841 static void dump_invalid_creds(const struct cred *cred, const char *label, in dump_invalid_creds()
878 void __invalid_creds(const struct cred *cred, const char *file, unsigned line) in __invalid_creds()
A Dgroups.c150 const struct cred *cred = current_cred(); in SYSCALL_DEFINE2() local
216 const struct cred *cred = current_cred(); in in_group_p() local
228 const struct cred *cred = current_cred(); in in_egroup_p() local
A Duid16.c66 const struct cred *cred = current_cred(); in SYSCALL_DEFINE3() local
89 const struct cred *cred = current_cred(); in SYSCALL_DEFINE3() local
156 const struct cred *cred = current_cred(); in SYSCALL_DEFINE2() local
/linux/security/apparmor/include/
A Dcred.h22 static inline struct aa_label *cred_label(const struct cred *cred) in cred_label()
30 static inline void set_cred_label(const struct cred *cred, in set_cred_label()
47 static inline struct aa_label *aa_cred_raw_label(const struct cred *cred) in aa_cred_raw_label()
61 static inline struct aa_label *aa_get_newest_cred_label(const struct cred *cred) in aa_get_newest_cred_label()
/linux/net/sunrpc/auth_gss/
A Dauth_gss.c130 gss_cred_get_ctx(struct rpc_cred *cred) in gss_cred_get_ctx()
389 const struct cred *cred) in gss_encode_v0_msg()
416 const struct cred *cred) in gss_encode_v1_msg()
629 struct rpc_cred *cred = &gss_cred->gc_base; in gss_create_upcall() local
1310 gss_destroy_nullcred(struct rpc_cred *cred) in gss_destroy_nullcred()
1325 gss_destroy_cred(struct rpc_cred *cred) in gss_destroy_cred()
1351 struct gss_cred *cred = NULL; in gss_create_cred() local
1386 gss_stringify_acceptor(struct rpc_cred *cred) in gss_stringify_acceptor()
1503 struct rpc_cred *cred = req->rq_cred; in gss_marshal() local
2076 struct rpc_cred *cred = req->rq_cred; in gss_xmit_need_reencode() local
[all …]
/linux/fs/nfs/
A Dnfs4state.c157 const struct cred *cred) in nfs40_discover_server_trunking()
395 const struct cred *cred; in nfs4_get_clid_cred() local
491 const struct cred *cred, in nfs4_alloc_state_owner()
1835 const struct cred *cred; in nfs4_state_end_reclaim_reboot() local
1941 const struct cred *cred; in nfs4_check_lease() local
2020 const struct cred *cred; in nfs4_establish_lease() local
2151 const struct cred *cred; in nfs4_handle_migration() local
2197 const struct cred *cred; in nfs4_handle_lease_moved() local
2253 const struct cred *cred; in nfs4_discover_server_trunking() local
2459 const struct cred *cred; in nfs4_reset_session() local
[all …]
A Ddelegation.c230 void nfs_inode_reclaim_delegation(struct inode *inode, const struct cred *cred, in nfs_inode_reclaim_delegation()
265 const struct cred *cred; in nfs_do_return_delegation() local
391 const struct cred *cred) in nfs_update_delegation_cred()
430 int nfs_inode_set_delegation(struct inode *inode, const struct cred *cred, in nfs_inode_set_delegation()
1279 const struct cred *cred) in nfs_delegation_test_free_expired()
1297 const struct cred *cred; in nfs_server_reap_expired_delegations() local
1431 nfs4_stateid *dst, const struct cred **cred) in nfs4_copy_delegation_stateid()
A Dnfs4proc.c372 const struct cred *cred) in nfs4_test_and_free_stateid()
381 const struct cred *cred) in __nfs4_free_revoked_stateid()
389 const struct cred *cred) in nfs4_free_revoked_stateid()
2797 const struct cred *cred) in nfs40_test_and_free_expired_stateid()
2805 const struct cred *cred) in nfs41_test_and_free_expired_stateid()
6335 const struct cred *cred) in nfs4_proc_setclientid_confirm()
8245 const struct cred *cred) in nfs4_proc_bind_one_conn_to_session()
8308 const struct cred *cred; member
8718 const struct cred *cred) in _nfs4_proc_destroy_clientid()
8737 const struct cred *cred) in nfs4_proc_destroy_clientid()
[all …]
A Dpnfs_dev.c99 const struct cred *cred, gfp_t gfp_flags) in nfs4_get_device_info()
189 const struct nfs4_deviceid *id, const struct cred *cred, in nfs4_find_get_deviceid()
/linux/security/keys/
A Dprocess_keys.c77 const struct cred *cred = current_cred(); in look_up_user_keyrings() local
185 struct key *get_user_session_keyring_rcu(const struct cred *cred) in get_user_session_keyring_rcu()
317 int install_session_keyring_to_cred(struct cred *cred, struct key *keyring) in install_session_keyring_to_cred()
426 const struct cred *cred = ctx->cred; in search_cred_keyrings_rcu() local
557 const struct cred *cred = ctx->cred; in search_process_keyrings_rcu() local
A Drequest_key.c77 static int umh_keys_init(struct subprocess_info *info, struct cred *cred) in umh_keys_init()
119 const struct cred *cred = current_cred(); in call_sbin_request_key() local
265 const struct cred *cred = current_cred(); in construct_get_dest_keyring() local
A Dpermission.c26 int key_task_permission(const key_ref_t key_ref, const struct cred *cred, in key_task_permission()
/linux/security/
A Dcommoncap.c65 int cap_capable(const struct cred *cred, struct user_namespace *targ_ns, in cap_capable()
136 const struct cred *cred, *child_cred; in cap_ptrace_access_check() local
173 const struct cred *cred, *child_cred; in cap_ptrace_traceme() local
202 const struct cred *cred; in cap_capget() local
770 static inline bool __is_real(kuid_t uid, struct cred *cred) in __is_real()
773 static inline bool __is_eff(kuid_t uid, struct cred *cred) in __is_eff()
776 static inline bool __is_suid(kuid_t uid, struct cred *cred) in __is_suid()
827 #define __cap_grew(target, source, cred) \ argument
829 #define __cap_full(field, cred) \ argument
/linux/fs/lockd/
A Dsvc.c193 const struct cred *cred) in create_lockd_listener()
206 const int family, const struct cred *cred) in create_lockd_family()
230 const struct cred *cred) in make_socks()
255 const struct cred *cred) in lockd_up_net()
470 int lockd_up(struct net *net, const struct cred *cred) in lockd_up()
/linux/security/selinux/
A Dhooks.c417 const struct cred *cred) in may_context_mount_sb_relabel()
436 const struct cred *cred) in may_context_mount_inode_relabel()
635 const struct cred *cred = current_cred(); in selinux_set_mnt_opts() local
2184 const struct cred *cred = current_cred(); in selinux_quotactl() local
2219 const struct cred *cred = current_cred(); in selinux_quota_on() local
2797 const struct cred *cred = current_cred(); in selinux_sb_kern_mount() local
2807 const struct cred *cred = current_cred(); in selinux_sb_statfs() local
2821 const struct cred *cred = current_cred(); in selinux_mount() local
2833 const struct cred *cred = current_cred(); in selinux_move_mount() local
4299 int sig, const struct cred *cred) in selinux_task_kill()
[all …]
/linux/fs/
A Dfile_table.c96 static struct file *__alloc_file(int flags, const struct cred *cred) in __alloc_file()
133 struct file *alloc_empty_file(int flags, const struct cred *cred) in alloc_empty_file()
170 struct file *alloc_empty_file_noaccount(int flags, const struct cred *cred) in alloc_empty_file_noaccount()
/linux/include/linux/sunrpc/
A Dsvcauth.h36 static inline void init_svc_cred(struct svc_cred *cred) in init_svc_cred()
45 static inline void free_svc_cred(struct svc_cred *cred) in free_svc_cred()
/linux/drivers/net/ethernet/pensando/ionic/
A Dionic_regs.h66 int intr_idx, u32 cred, u32 flags) in ionic_intr_credits()
79 u32 cred; in ionic_intr_clean() local
/linux/security/landlock/
A Dcred.c29 static void hook_cred_free(struct cred *const cred) in hook_cred_free()
A Dcred.h24 const struct cred *cred) in landlock_cred()

Completed in 71 milliseconds

123456