Home
last modified time | relevance | path

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

1234567

/openbmc/linux/include/linux/
H A Dcred.h110 struct cred { struct
111 atomic_long_t usage;
112 kuid_t uid; /* real UID of the task */
113 kgid_t gid; /* real GID of the task */
114 kuid_t suid; /* saved UID of the task */
115 kgid_t sgid; /* saved GID of the task */
116 kuid_t euid; /* effective UID of the task */
118 kuid_t fsuid; /* UID for VFS ops */
119 kgid_t fsgid; /* GID for VFS ops */
148 extern void __put_cred(struct cred *); argument
[all …]
/openbmc/linux/net/sunrpc/
H A Dauth.c270 rpcauth_unhash_cred(struct rpc_cred *cred) in rpcauth_unhash_cred()
326 struct rpc_cred *cred; in rpcauth_destroy_credlist() local
336 rpcauth_lru_add_locked(struct rpc_cred *cred) in rpcauth_lru_add_locked()
345 rpcauth_lru_add(struct rpc_cred *cred) in rpcauth_lru_add()
364 rpcauth_lru_remove(struct rpc_cred *cred) in rpcauth_lru_remove()
382 struct rpc_cred *cred; in rpcauth_clear_credcache() local
429 struct rpc_cred *cred, *next; in rpcauth_prune_expired() local
519 struct rpc_cred *cred = NULL, in rpcauth_lookup_credcache() local
582 const struct cred *cred = current_cred(); in rpcauth_lookupcred() local
684 put_rpccred(struct rpc_cred *cred) in put_rpccred()
[all …]
H A Dauth_unix.c71 unx_destroy_cred(struct rpc_cred *cred) in unx_destroy_cred()
80 unx_match(struct auth_cred *acred, struct rpc_cred *cred, int flags) in unx_match()
114 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in unx_marshal() local
H A 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()
H A Dauth_tls.c90 static void tls_destroy_cred(struct rpc_cred *cred) in tls_destroy_cred()
94 static int tls_match(struct auth_cred *acred, struct rpc_cred *cred, int taskflags) in tls_match()
/openbmc/linux/security/apparmor/include/
H 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()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_deny_namespace.c10 struct cred { struct
17 int BPF_PROG(test_userns_create, const struct cred *cred, int ret) in BPF_PROG()
/openbmc/linux/net/sunrpc/auth_gss/
H A Dauth_gss.c147 gss_cred_get_ctx(struct rpc_cred *cred) in gss_cred_get_ctx()
406 const struct cred *cred) in gss_encode_v0_msg()
433 const struct cred *cred) in gss_encode_v1_msg()
646 struct rpc_cred *cred = &gss_cred->gc_base; in gss_create_upcall() local
1344 gss_destroy_nullcred(struct rpc_cred *cred) in gss_destroy_nullcred()
1359 gss_destroy_cred(struct rpc_cred *cred) in gss_destroy_cred()
1386 struct gss_cred *cred = NULL; in gss_create_cred() local
1421 gss_stringify_acceptor(struct rpc_cred *cred) in gss_stringify_acceptor()
1538 struct rpc_cred *cred = req->rq_cred; in gss_marshal() local
2111 struct rpc_cred *cred = req->rq_cred; in gss_xmit_need_reencode() local
[all …]
/openbmc/linux/fs/nfs/
H A Dnfs4state.c160 const struct cred *cred) in nfs40_discover_server_trunking()
400 const struct cred *cred; in nfs4_get_clid_cred() local
496 const struct cred *cred, in nfs4_alloc_state_owner()
1865 const struct cred *cred; in nfs4_state_end_reclaim_reboot() local
1978 const struct cred *cred; in nfs4_check_lease() local
2057 const struct cred *cred; in nfs4_establish_lease() local
2199 const struct cred *cred; in nfs4_handle_migration() local
2245 const struct cred *cred; in nfs4_handle_lease_moved() local
2301 const struct cred *cred; in nfs4_discover_server_trunking() local
2507 const struct cred *cred; in nfs4_reset_session() local
[all …]
H A Dnfs4proc.c382 const struct cred *cred) in nfs4_test_and_free_stateid()
391 const struct cred *cred) in __nfs4_free_revoked_stateid()
399 const struct cred *cred) in nfs4_free_revoked_stateid()
2804 const struct cred *cred) in nfs40_test_and_free_expired_stateid()
2812 const struct cred *cred) in nfs41_test_and_free_expired_stateid()
4011 const struct cred *cred; in _nfs4_discover_trunking() local
6503 const struct cred *cred) in nfs4_proc_setclientid_confirm()
8483 const struct cred *cred) in nfs4_proc_bind_one_conn_to_session()
8546 const struct cred *cred; member
8966 const struct cred *cred) in _nfs4_proc_destroy_clientid()
[all …]
H A Ddelegation.c230 void nfs_inode_reclaim_delegation(struct inode *inode, const struct cred *cred, in nfs_inode_reclaim_delegation()
263 const struct cred *cred; in nfs_do_return_delegation() local
389 const struct cred *cred) in nfs_update_delegation_cred()
428 int nfs_inode_set_delegation(struct inode *inode, const struct cred *cred, in nfs_inode_set_delegation()
1277 const struct cred *cred) in nfs_delegation_test_free_expired()
1295 const struct cred *cred; in nfs_server_reap_expired_delegations() local
1429 nfs4_stateid *dst, const struct cred **cred) in nfs4_copy_delegation_stateid()
/openbmc/linux/security/keys/
H 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
/openbmc/linux/kernel/
H A Dcred.c70 struct cred *cred = container_of(rcu, struct cred, rcu); in put_cred_rcu() local
98 void __put_cred(struct cred *cred) in __put_cred()
119 struct cred *cred; in exit_creds() local
150 const struct cred *cred; in get_task_cred() local
H A Dgroups.c163 const struct cred *cred = current_cred(); in SYSCALL_DEFINE2() local
229 const struct cred *cred = current_cred(); in in_group_p() local
241 const struct cred *cred = current_cred(); in in_egroup_p() local
H A Dksyms_common.c28 bool kallsyms_show_value(const struct cred *cred) in kallsyms_show_value()
/openbmc/linux/security/
H A Dcommoncap.c66 int cap_capable(const struct cred *cred, struct user_namespace *targ_ns, in cap_capable()
137 const struct cred *cred, *child_cred; in cap_ptrace_access_check() local
174 const struct cred *cred, *child_cred; in cap_ptrace_traceme() local
203 const struct cred *cred; in cap_capget() local
767 static inline bool __is_real(kuid_t uid, struct cred *cred) in __is_real()
770 static inline bool __is_eff(kuid_t uid, struct cred *cred) in __is_eff()
773 static inline bool __is_suid(kuid_t uid, struct cred *cred) in __is_suid()
824 #define __cap_grew(target, source, cred) \ argument
826 #define __cap_full(field, cred) \ argument
/openbmc/linux/fs/lockd/
H A Dsvc.c160 const struct cred *cred) in create_lockd_listener()
173 const int family, const struct cred *cred) in create_lockd_family()
197 const struct cred *cred) in make_socks()
223 const struct cred *cred) in lockd_up_net()
385 int lockd_up(struct net *net, const struct cred *cred) in lockd_up()
/openbmc/linux/security/apparmor/
H A Dtask.c229 static int profile_ptrace_perm(const struct cred *cred, in profile_ptrace_perm()
246 static int profile_tracee_perm(const struct cred *cred, in profile_tracee_perm()
258 static int profile_tracer_perm(const struct cred *cred, in profile_tracer_perm()
/openbmc/qemu/hw/9pfs/
H A Dcofs.c101 FsCred cred; in v9fs_co_chmod() local
146 FsCred cred; in v9fs_co_chown() local
193 FsCred cred; in v9fs_co_mknod() local
314 FsCred cred; in v9fs_co_symlink() local
/openbmc/linux/fs/
H A Dfile_table.c156 static int init_file(struct file *f, int flags, const struct cred *cred) in init_file()
188 struct file *alloc_empty_file(int flags, const struct cred *cred) in alloc_empty_file()
235 struct file *alloc_empty_file_noaccount(int flags, const struct cred *cred) in alloc_empty_file_noaccount()
262 struct file *alloc_empty_backing_file(int flags, const struct cred *cred) in alloc_empty_backing_file()
/openbmc/linux/security/selinux/
H A Dhooks.c424 const struct cred *cred) in may_context_mount_sb_relabel()
441 const struct cred *cred) in may_context_mount_inode_relabel()
626 const struct cred *cred = current_cred(); in selinux_set_mnt_opts() local
2142 const struct cred *cred = current_cred(); in selinux_quotactl() local
2177 const struct cred *cred = current_cred(); in selinux_quota_on() local
2724 const struct cred *cred = current_cred(); in selinux_sb_kern_mount() local
2734 const struct cred *cred = current_cred(); in selinux_sb_statfs() local
2748 const struct cred *cred = current_cred(); in selinux_mount() local
2760 const struct cred *cred = current_cred(); in selinux_move_mount() local
4225 int sig, const struct cred *cred) in selinux_task_kill()
[all …]
/openbmc/linux/io_uring/
H A Dfdinfo.c20 const struct cred *cred) in io_uring_show_cred()
172 const struct cred *cred; in io_uring_show_fdinfo() local
/openbmc/linux/include/linux/pds/
H A Dpds_intr.h130 u32 cred, u32 flags) in pds_core_intr_credits()
143 u32 cred; in pds_core_intr_clean_flags() local
/openbmc/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_regs.h66 int intr_idx, u32 cred, u32 flags) in ionic_intr_credits()
79 u32 cred; in ionic_intr_clean() local
/openbmc/linux/include/linux/sunrpc/
H 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()

1234567