/security/safesetid/ |
D | lsm.c | 156 static bool id_permitted_for_cred(const struct cred *old, kid_t new_id, enum setid_type new_type) in id_permitted_for_cred() 200 const struct cred *old, in safesetid_task_fix_setuid() 224 const struct cred *old, in safesetid_task_fix_setgid()
|
/security/ |
D | commoncap.c | 242 const struct cred *old, in cap_capset() 740 const struct cred *old = current_cred(); in handle_privileged_root() local 778 static inline bool __is_setuid(struct cred *new, const struct cred *old) in __is_setuid() 781 static inline bool __is_setgid(struct cred *new, const struct cred *old) in __is_setgid() 801 static inline bool nonroot_raised_pE(struct cred *new, const struct cred *old, in nonroot_raised_pE() 835 const struct cred *old = current_cred(); in cap_bprm_creds_from_file() local 1022 static inline void cap_emulate_setxuid(struct cred *new, const struct cred *old) in cap_emulate_setxuid() 1059 int cap_task_fix_setuid(struct cred *new, const struct cred *old, int flags) in cap_task_fix_setuid() 1195 const struct cred *old = current_cred(); in cap_task_prctl() local
|
D | security.c | 734 int security_capset(struct cred *new, const struct cred *old, in security_capset() 999 const struct cred *old, struct cred *new) in security_dentry_create_files_as() 1637 int security_prepare_creds(struct cred *new, const struct cred *old, gfp_t gfp) in security_prepare_creds() 1650 void security_transfer_creds(struct cred *new, const struct cred *old) in security_transfer_creds() 1731 int security_task_fix_setuid(struct cred *new, const struct cred *old, in security_task_fix_setuid() 1737 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 838 const struct cred *old; in join_session_keyring() local 912 const struct cred *old = current_cred(); in key_change_session_keyring() local
|
/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 | file.c | 181 static u32 map_old_perms(u32 old) in map_old_perms() 487 struct aa_label *l, *old; in update_file_ctx() 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 | 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() 498 struct tomoyo_task *old = tomoyo_task(current); in tomoyo_task_alloc() local
|
/security/smack/ |
D | smack_lsm.c | 1963 static int smack_cred_prepare(struct cred *new, const struct cred *old, in smack_cred_prepare() 1988 static void smack_cred_transfer(struct cred *new, const struct cred *old) in smack_cred_transfer() 4688 const struct cred *old, in smack_dentry_create_files_as()
|
/security/selinux/ |
D | hooks.c | 840 struct superblock_security_struct *old = oldsb->s_security; in selinux_cmp_sb_context() local 2122 static int selinux_capset(struct cred *new, const struct cred *old, in selinux_capset() 2875 const struct cred *old, in selinux_dentry_create_files_as() 3996 static int selinux_cred_prepare(struct cred *new, const struct cred *old, in selinux_cred_prepare() 4009 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()
|