Home
last modified time | relevance | path

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

/kernel/
Dcred.c67 static inline void set_cred_subscribers(struct cred *cred, int n) in set_cred_subscribers()
74 static inline int read_cred_subscribers(const struct cred *cred) in read_cred_subscribers()
86 struct cred *cred = (struct cred *) _cred; in alter_cred_subscribers() local
97 struct cred *cred = container_of(rcu, struct cred, rcu); in put_cred_rcu() local
134 void __put_cred(struct cred *cred) in __put_cred()
158 struct cred *cred; in exit_creds() local
189 const struct cred *cred; in get_task_cred() local
702 bool creds_are_invalid(const struct cred *cred) in creds_are_invalid()
726 static void dump_invalid_creds(const struct cred *cred, const char *label, in dump_invalid_creds()
763 void __invalid_creds(const struct cred *cred, const char *file, unsigned line) in __invalid_creds()
Dgroups.c167 const struct cred *cred = current_cred(); in SYSCALL_DEFINE2() local
233 const struct cred *cred = current_cred(); in in_group_p() local
245 const struct cred *cred = current_cred(); in in_egroup_p() local
Duid16.c62 const struct cred *cred = current_cred(); in SYSCALL_DEFINE3() local
86 const struct cred *cred = current_cred(); in SYSCALL_DEFINE3() local
153 const struct cred *cred = current_cred(); in SYSCALL_DEFINE2() local
Duser_namespace.c44 static void set_cred_user_ns(struct cred *cred, struct user_namespace *user_ns) in set_cred_user_ns()
157 struct cred *cred; in unshare_userns() local
859 const struct cred *cred = file->f_cred; in new_idmap_permitted() local
1025 struct cred *cred; in userns_install() local
Dsys.c139 const struct cred *cred = current_cred(), *pcred = __task_cred(p); in set_one_prio_perm() local
181 const struct cred *cred = current_cred(); in SYSCALL_DEFINE3() local
251 const struct cred *cred = current_cred(); in SYSCALL_DEFINE2() local
649 const struct cred *cred = current_cred(); in SYSCALL_DEFINE3() local
723 const struct cred *cred = current_cred(); in SYSCALL_DEFINE3() local
1431 const struct cred *cred = current_cred(), *tcred; in check_prlimit_permission() local
1809 const struct cred *cred = current_cred(); in validate_prctl_map() local
Dcapability.c500 const struct cred *cred; in ptracer_capable() local
Dauditsc.c360 const struct cred *cred, in audit_field_compare()
446 const struct cred *cred; in audit_filter_rules() local
Dptrace.c270 const struct cred *cred = current_cred(), *tcred; in __ptrace_may_access() local
Dsignal.c704 const struct cred *cred = current_cred(); in kill_ok_by_cred() local
1329 static int kill_as_cred_perm(const struct cred *cred, in kill_as_cred_perm()
1341 const struct cred *cred, u32 secid) in kill_pid_info_as_cred()
Daudit.c1911 const struct cred *cred; in audit_log_task_info() local
Dcgroup.c2849 const struct cred *cred = current_cred(); in cgroup_procs_write_permission() local
/kernel/sched/
Dcore.c4152 const struct cred *cred = current_cred(), *pcred; in check_same_owner() local