/security/safesetid/ |
D | lsm.c | 153 static bool id_permitted_for_cred(const struct cred *old, kid_t new_id, enum setid_type new_type) in id_permitted_for_cred() 197 const struct cred *old, in safesetid_task_fix_setuid() 221 const struct cred *old, in safesetid_task_fix_setgid()
|
/security/ |
D | commoncap.c | 243 const struct cred *old, in cap_capset() 799 const struct cred *old = current_cred(); in handle_privileged_root() local 837 static inline bool __is_setuid(struct cred *new, const struct cred *old) in __is_setuid() 840 static inline bool __is_setgid(struct cred *new, const struct cred *old) in __is_setgid() 860 static inline bool nonroot_raised_pE(struct cred *new, const struct cred *old, in nonroot_raised_pE() 896 const struct cred *old = current_cred(); in cap_bprm_creds_from_file() local 1092 static inline void cap_emulate_setxuid(struct cred *new, const struct cred *old) in cap_emulate_setxuid() 1131 int cap_task_fix_setuid(struct cred *new, const struct cred *old, int flags) in cap_task_fix_setuid() 1276 const struct cred *old = current_cred(); in cap_task_prctl() local
|
D | security.c | 794 int security_capset(struct cred *new, const struct cred *old, in security_capset() 1080 const struct cred *old, struct cred *new) in security_dentry_create_files_as() 1723 int security_prepare_creds(struct cred *new, const struct cred *old, gfp_t gfp) in security_prepare_creds() 1736 void security_transfer_creds(struct cred *new, const struct cred *old) in security_transfer_creds() 1817 int security_task_fix_setuid(struct cred *new, const struct cred *old, in security_task_fix_setuid() 1823 int security_task_fix_setgid(struct cred *new, const struct cred *old, in security_task_fix_setgid()
|
/security/keys/ |
D | process_keys.c | 320 struct key *old; in install_session_keyring_to_cred() local 839 const struct cred *old; in join_session_keyring() local 913 const struct cred *old = current_cred(); in key_change_session_keyring() local
|
/security/landlock/ |
D | cred.c | 18 const struct cred *const old, const gfp_t gfp) in hook_cred_prepare()
|
/security/apparmor/include/ |
D | task.h | 57 const struct aa_task_ctx *old) in aa_dup_task_ctx()
|
D | policy_unpack.h | 22 struct aa_profile *old; member
|
/security/apparmor/ |
D | task.c | 43 struct aa_label *old = aa_current_raw_label(); in aa_replace_current_label() local
|
D | resource.c | 145 struct aa_profile *old, *new; in __aa_transition_rlimits() local
|
D | policy.c | 741 static void __replace_profile(struct aa_profile *old, struct aa_profile *new) in __replace_profile() 813 static void share_name(struct aa_profile *old, struct aa_profile *new) in share_name()
|
D | file.c | 183 static u32 map_old_perms(u32 old) in map_old_perms() 489 struct aa_label *l, *old; in update_file_ctx() local
|
D | label.c | 88 static void __proxy_share(struct aa_label *old, struct aa_label *new) in __proxy_share() 627 static bool __label_replace(struct aa_label *old, struct aa_label *new) in __label_replace() 793 bool aa_label_replace(struct aa_label *old, struct aa_label *new) in aa_label_replace()
|
D | lsm.c | 84 static int apparmor_cred_prepare(struct cred *new, const struct cred *old, in apparmor_cred_prepare() 94 static void apparmor_cred_transfer(struct cred *new, const struct cred *old) in apparmor_cred_transfer()
|
D | apparmorfs.c | 845 struct multi_transaction *old; in multi_transaction_set() local 1532 void __aafs_profile_migrate_dents(struct aa_profile *old, in __aafs_profile_migrate_dents()
|
/security/tomoyo/ |
D | tomoyo.c | 36 static int tomoyo_cred_prepare(struct cred *new, const struct cred *old, in tomoyo_cred_prepare() 496 struct tomoyo_task *old = tomoyo_task(current); in tomoyo_task_alloc() local
|
/security/smack/ |
D | smack_lsm.c | 1947 static int smack_cred_prepare(struct cred *new, const struct cred *old, in smack_cred_prepare() 1972 static void smack_cred_transfer(struct cred *new, const struct cred *old) in smack_cred_transfer() 4686 const struct cred *old, in smack_dentry_create_files_as()
|
/security/selinux/ |
D | hooks.c | 877 struct superblock_security_struct *old = selinux_superblock(oldsb); in selinux_cmp_sb_context() local 2170 static int selinux_capset(struct cred *new, const struct cred *old, in selinux_capset() 2967 const struct cred *old, in selinux_dentry_create_files_as() 4085 static int selinux_cred_prepare(struct cred *new, const struct cred *old, in selinux_cred_prepare() 4098 static void selinux_cred_transfer(struct cred *new, const struct cred *old) in selinux_cred_transfer()
|
D | avc.c | 462 struct avc_node *new, struct avc_node *old) in avc_node_replace()
|