Home
last modified time | relevance | path

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

12

/security/apparmor/include/
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()
66 static inline struct aa_label *aa_get_newest_cred_label_condref(const struct cred *cred, in aa_get_newest_cred_label_condref()
/security/keys/
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
A Dpermission.c26 int key_task_permission(const key_ref_t key_ref, const struct cred *cred, in key_task_permission()
A Drequest_key.c80 static int umh_keys_init(struct subprocess_info *info, struct cred *cred) in umh_keys_init()
122 const struct cred *cred = current_cred(); in call_sbin_request_key() local
268 const struct cred *cred = current_cred(); in construct_get_dest_keyring() local
A Drequest_key_auth.c166 const struct cred *cred = current_cred(); in request_key_auth_new() local
A Dkey.c225 kuid_t uid, kgid_t gid, const struct cred *cred, in key_alloc()
820 const struct cred *cred = current_cred(); in __key_create_or_update() local
A Dkeyctl.c1177 const struct cred *cred = current_cred(); in keyctl_instantiate_key_common() local
1338 const struct cred *cred = current_cred(); in keyctl_reject_key() local
1632 struct cred *cred; in keyctl_session_to_parent() local
A Dinternal.h114 const struct cred *cred; member
/security/
A Dcommoncap.c68 static inline int cap_capable_helper(const struct cred *cred, in cap_capable_helper()
124 int cap_capable(const struct cred *cred, struct user_namespace *target_ns, in cap_capable()
167 const struct cred *cred, *child_cred; in cap_ptrace_access_check() local
204 const struct cred *cred, *child_cred; in cap_ptrace_traceme() local
233 const struct cred *cred; in cap_capget() local
797 static inline bool __is_real(kuid_t uid, struct cred *cred) in __is_real()
800 static inline bool __is_eff(kuid_t uid, struct cred *cred) in __is_eff()
803 static inline bool __is_suid(kuid_t uid, struct cred *cred) in __is_suid()
854 #define __cap_grew(target, source, cred) \ argument
856 #define __cap_full(field, cred) \ argument
A Dsecurity.c699 static int lsm_cred_alloc(struct cred *cred, gfp_t gfp) in lsm_cred_alloc()
710 static void __init lsm_early_cred(struct cred *cred) in lsm_early_cred()
1137 int security_capable(const struct cred *cred, in security_capable()
3225 int security_cred_alloc_blank(struct cred *cred, gfp_t gfp) in security_cred_alloc_blank()
3244 void security_cred_free(struct cred *cred) in security_cred_free()
3623 int security_task_prlimit(const struct cred *cred, const struct cred *tcred, in security_task_prlimit()
3703 int sig, const struct cred *cred) in security_task_kill()
3761 int security_create_user_ns(const struct cred *cred) in security_create_user_ns()
4474 const struct cred *cred, in security_post_notification()
5508 int security_key_alloc(struct key *key, const struct cred *cred, in security_key_alloc()
[all …]
/security/landlock/
A Dcred.h63 landlock_cred(const struct cred *cred) in landlock_cred()
110 landlock_get_applicable_subject(const struct cred *const cred, in landlock_get_applicable_subject()
A Dcred.c38 static void hook_cred_free(struct cred *const cred) in hook_cred_free()
A Dtask.c340 const struct cred *cred) in hook_task_kill()
/security/apparmor/
A Dtask.c226 static int profile_ptrace_perm(const struct cred *cred, in profile_ptrace_perm()
242 static int profile_tracee_perm(const struct cred *cred, in profile_tracee_perm()
254 static int profile_tracer_perm(const struct cred *cred, in profile_tracer_perm()
A Dipc.c78 static int profile_signal_perm(const struct cred *cred, in profile_signal_perm()
A Dlsm.c75 static void apparmor_cred_free(struct cred *cred) in apparmor_cred_free()
84 static int apparmor_cred_alloc_blank(struct cred *cred, gfp_t gfp) in apparmor_cred_alloc_blank()
128 const struct cred *cred; in apparmor_ptrace_access_check() local
147 const struct cred *cred; in apparmor_ptrace_traceme() local
167 const struct cred *cred; in apparmor_capget() local
195 static int apparmor_capable(const struct cred *cred, struct user_namespace *ns, in apparmor_capable()
833 const struct cred *cred = get_task_cred(task); in apparmor_getprocattr() local
1028 int sig, const struct cred *cred) in apparmor_task_kill()
1055 static int apparmor_userns_create(const struct cred *cred) in apparmor_userns_create()
1130 static int unix_connect_perm(const struct cred *cred, struct aa_label *label, in unix_connect_perm()
[all …]
A Dfile.c684 const struct cred *cred; member
700 void aa_inherit_files(const struct cred *cred, struct files_struct *files) in aa_inherit_files()
/security/selinux/
A Dhooks.c438 const struct cred *cred) in may_context_mount_sb_relabel()
455 const struct cred *cred) in may_context_mount_inode_relabel()
640 const struct cred *cred = current_cred(); in selinux_set_mnt_opts() local
2160 const struct cred *cred = current_cred(); in selinux_quotactl() local
2195 const struct cred *cred = current_cred(); in selinux_quota_on() local
2748 const struct cred *cred = current_cred(); in selinux_sb_kern_mount() local
2758 const struct cred *cred = current_cred(); in selinux_sb_statfs() local
2772 const struct cred *cred = current_cred(); in selinux_mount() local
2784 const struct cred *cred = current_cred(); in selinux_move_mount() local
4440 int sig, const struct cred *cred) in selinux_task_kill()
[all …]
/security/safesetid/
A Dlsm.c91 static int safesetid_security_capable(const struct cred *cred, in safesetid_security_capable()
/security/integrity/
A Ddigsig.c102 const struct cred *cred = current_cred(); in __integrity_init_keyring() local
/security/smack/
A Dsmack_lsm.c237 static int smk_bu_credfile(const struct cred *cred, struct file *file, in smk_bu_credfile()
263 #define smk_bu_credfile(cred, file, mode, RC) (RC) argument
2046 static int smack_cred_alloc_blank(struct cred *cred, gfp_t gfp) in smack_cred_alloc_blank()
2058 static void smack_cred_free(struct cred *cred) in smack_cred_free()
2122 static void smack_cred_getsecid(const struct cred *cred, u32 *secid) in smack_cred_getsecid()
2139 static void smack_cred_getlsmprop(const struct cred *cred, in smack_cred_getlsmprop()
2340 int sig, const struct cred *cred) in smack_task_kill()
4475 static int smack_key_alloc(struct key *key, const struct cred *cred, in smack_key_alloc()
4495 const struct cred *cred, in smack_key_permission()
4635 const struct cred *cred, in smack_post_notification()
[all …]
A Dsmack_access.c658 bool smack_privileged_cred(int cap, const struct cred *cred) in smack_privileged_cred()
A Dsmack.h333 static inline struct task_smack *smack_cred(const struct cred *cred) in smack_cred()
407 const struct cred *cred; in smk_of_task_struct_obj() local
/security/integrity/ima/
A Dima_api.c190 const struct cred *cred, struct lsm_prop *prop, int mask, in ima_get_action()
A Dima_policy.c516 const struct cred *cred) in ima_match_rule_data()
570 struct inode *inode, const struct cred *cred, in ima_match_rules()
742 const struct cred *cred, struct lsm_prop *prop, in ima_match_policy()

Completed in 80 milliseconds

12