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()
161 struct cred *cred; in exit_creds() local
192 const struct cred *cred; in get_task_cred() local
728 bool creds_are_invalid(const struct cred *cred) in creds_are_invalid()
752 static void dump_invalid_creds(const struct cred *cred, const char *label, in dump_invalid_creds()
789 void __invalid_creds(const struct cred *cred, const char *file, unsigned line) in __invalid_creds()
Dgroups.c192 const struct cred *cred = current_cred(); in SYSCALL_DEFINE2() local
258 const struct cred *cred = current_cred(); in in_group_p() local
270 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.c33 static void set_cred_user_ns(struct cred *cred, struct user_namespace *user_ns) in set_cred_user_ns()
120 struct cred *cred; in unshare_userns() local
819 const struct cred *cred = file->f_cred; in new_idmap_permitted() local
971 struct cred *cred; in userns_install() local
Dsys.c141 const struct cred *cred = current_cred(), *pcred = __task_cred(p); in set_one_prio_perm() local
183 const struct cred *cred = current_cred(); in SYSCALL_DEFINE3() local
253 const struct cred *cred = current_cred(); in SYSCALL_DEFINE2() local
651 const struct cred *cred = current_cred(); in SYSCALL_DEFINE3() local
725 const struct cred *cred = current_cred(); in SYSCALL_DEFINE3() local
1431 const struct cred *cred = current_cred(), *tcred; in check_prlimit_permission() local
1802 const struct cred *cred = current_cred(); in validate_prctl_map() local
Dcapability.c500 const struct cred *cred; in ptracer_capable() local
Dauditsc.c361 const struct cred *cred, in audit_field_compare()
447 const struct cred *cred; in audit_filter_rules() local
Dptrace.c257 const struct cred *cred = current_cred(), *tcred; in __ptrace_may_access() local
Dsignal.c760 const struct cred *cred = current_cred(); in kill_ok_by_cred() local
1385 static int kill_as_cred_perm(const struct cred *cred, in kill_as_cred_perm()
1397 const struct cred *cred, u32 secid) in kill_pid_info_as_cred()
Daudit.c1889 const struct cred *cred; in audit_log_task_info() local
Dcgroup.c2687 const struct cred *cred = current_cred(); in cgroup_procs_write_permission() local
/kernel/sched/
Dcore.c3913 const struct cred *cred = current_cred(), *pcred; in check_same_owner() local