Home
last modified time | relevance | path

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

/kernel/
Dcred.c65 static inline void set_cred_subscribers(struct cred *cred, int n) in set_cred_subscribers()
72 static inline int read_cred_subscribers(const struct cred *cred) in read_cred_subscribers()
84 struct cred *cred = (struct cred *) _cred; in alter_cred_subscribers() local
95 struct cred *cred = container_of(rcu, struct cred, rcu); in put_cred_rcu() local
132 void __put_cred(struct cred *cred) in __put_cred()
159 struct cred *cred; in exit_creds() local
195 const struct cred *cred; in get_task_cred() local
790 bool creds_are_invalid(const struct cred *cred) in creds_are_invalid()
801 static void dump_invalid_creds(const struct cred *cred, const char *label, in dump_invalid_creds()
838 void __invalid_creds(const struct cred *cred, const char *file, unsigned line) in __invalid_creds()
Dgroups.c155 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
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
Duser_namespace.c42 static void set_cred_user_ns(struct cred *cred, struct user_namespace *user_ns) in set_cred_user_ns()
156 struct cred *cred; in unshare_userns() local
1088 const struct cred *cred = file->f_cred; in new_idmap_permitted() local
1259 struct cred *cred; in userns_install() local
Dsys.c160 const struct cred *cred = current_cred(), *pcred = __task_cred(p); in set_one_prio_perm() local
202 const struct cred *cred = current_cred(); in SYSCALL_DEFINE3() local
272 const struct cred *cred = current_cred(); in SYSCALL_DEFINE2() local
695 const struct cred *cred = current_cred(); in SYSCALL_DEFINE3() local
774 const struct cred *cred = current_cred(); in SYSCALL_DEFINE3() local
1589 const struct cred *cred = current_cred(), *tcred; in check_prlimit_permission() local
Dptrace.c267 static bool ptrace_has_cap(const struct cred *cred, struct user_namespace *ns, in ptrace_has_cap()
283 const struct cred *cred = current_cred(), *tcred; in __ptrace_may_access() local
Dcapability.c521 const struct cred *cred; in ptracer_capable() local
Dauditsc.c355 const struct cred *cred, in audit_field_compare()
445 const struct cred *cred; in audit_filter_rules() local
Dsignal.c808 const struct cred *cred = current_cred(); in kill_ok_by_cred() local
1464 static inline bool kill_as_cred_perm(const struct cred *cred, in kill_as_cred_perm()
1501 struct pid *pid, const struct cred *cred) in kill_pid_usb_asyncio()
Daudit.c2123 const struct cred *cred; in audit_log_task_info() local
/kernel/cgroup/
Dcgroup-v1.c496 const struct cred *cred, *tcred; in __cgroup1_procs_write() local
/kernel/sched/
Dcore.c4740 const struct cred *cred = current_cred(), *pcred; in check_same_owner() local