Searched defs:cred (Results 1 – 12 of 12) sorted by relevance
| /kernel/ |
| D | cred.c | 68 static inline void set_cred_subscribers(struct cred *cred, int n) in set_cred_subscribers() 75 static inline int read_cred_subscribers(const struct cred *cred) in read_cred_subscribers() 87 struct cred *cred = (struct cred *) _cred; in alter_cred_subscribers() local 98 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 193 const struct cred *cred; in get_task_cred() local 729 bool creds_are_invalid(const struct cred *cred) in creds_are_invalid() 753 static void dump_invalid_creds(const struct cred *cred, const char *label, in dump_invalid_creds() 790 void __invalid_creds(const struct cred *cred, const char *file, unsigned line) in __invalid_creds()
|
| D | groups.c | 155 const struct cred *cred = current_cred(); in SYSCALL_DEFINE2() local 221 const struct cred *cred = current_cred(); in in_group_p() local 233 const struct cred *cred = current_cred(); in in_egroup_p() local
|
| D | uid16.c | 64 const struct cred *cred = current_cred(); in SYSCALL_DEFINE3() local 88 const struct cred *cred = current_cred(); in SYSCALL_DEFINE3() local 155 const struct cred *cred = current_cred(); in SYSCALL_DEFINE2() local
|
| D | user_namespace.c | 45 static void set_cred_user_ns(struct cred *cred, struct user_namespace *user_ns) in set_cred_user_ns() 158 struct cred *cred; in unshare_userns() local 856 const struct cred *cred = file->f_cred; in new_idmap_permitted() local 1026 struct cred *cred; in userns_install() local
|
| D | sys.c | 149 const struct cred *cred = current_cred(), *pcred = __task_cred(p); in set_one_prio_perm() local 191 const struct cred *cred = current_cred(); in SYSCALL_DEFINE3() local 261 const struct cred *cred = current_cred(); in SYSCALL_DEFINE2() local 659 const struct cred *cred = current_cred(); in SYSCALL_DEFINE3() local 733 const struct cred *cred = current_cred(); in SYSCALL_DEFINE3() local 1537 const struct cred *cred = current_cred(), *tcred; in check_prlimit_permission() local
|
| D | ptrace.c | 261 static bool ptrace_has_cap(const struct cred *cred, struct user_namespace *ns, in ptrace_has_cap() 277 const struct cred *cred = current_cred(), *tcred; in __ptrace_may_access() local
|
| D | capability.c | 502 const struct cred *cred; in ptracer_capable() local
|
| D | auditsc.c | 361 const struct cred *cred, in audit_field_compare() 447 const struct cred *cred; in audit_filter_rules() local
|
| D | signal.c | 772 const struct cred *cred = current_cred(); in kill_ok_by_cred() local 1400 static int kill_as_cred_perm(const struct cred *cred, in kill_as_cred_perm() 1412 const struct cred *cred, u32 secid) in kill_pid_info_as_cred()
|
| D | audit.c | 2218 const struct cred *cred; in audit_log_task_info() local
|
| /kernel/cgroup/ |
| D | cgroup-v1.c | 525 const struct cred *cred, *tcred; in __cgroup1_procs_write() local
|
| /kernel/sched/ |
| D | core.c | 4069 const struct cred *cred = current_cred(), *pcred; in check_same_owner() local
|