/security/ |
D | commoncap.c | 242 const struct cred *old, in cap_capset() 718 const struct cred *old = current_cred(); in handle_privileged_root() local 756 static inline bool __is_setuid(struct cred *new, const struct cred *old) in __is_setuid() 759 static inline bool __is_setgid(struct cred *new, const struct cred *old) in __is_setgid() 779 static inline bool nonroot_raised_pE(struct cred *new, const struct cred *old, in nonroot_raised_pE() 811 const struct cred *old = current_cred(); in cap_bprm_set_creds() local 999 static inline void cap_emulate_setxuid(struct cred *new, const struct cred *old) in cap_emulate_setxuid() 1036 int cap_task_fix_setuid(struct cred *new, const struct cred *old, int flags) in cap_task_fix_setuid() 1172 const struct cred *old = current_cred(); in cap_task_prctl() local
|
D | security.c | 715 int security_capset(struct cred *new, const struct cred *old, in security_capset() 962 const struct cred *old, struct cred *new) in security_dentry_create_files_as() 1553 int security_prepare_creds(struct cred *new, const struct cred *old, gfp_t gfp) in security_prepare_creds() 1566 void security_transfer_creds(struct cred *new, const struct cred *old) in security_transfer_creds() 1632 int security_task_fix_setuid(struct cred *new, const struct cred *old, in security_task_fix_setuid()
|
/security/safesetid/ |
D | lsm.c | 100 static bool uid_permitted_for_cred(const struct cred *old, kuid_t new_uid) in uid_permitted_for_cred() 129 const struct cred *old, in safesetid_task_fix_setuid()
|
/security/keys/ |
D | process_keys.c | 320 struct key *old; in install_session_keyring_to_cred() local 840 const struct cred *old; in join_session_keyring() local 914 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 | 192 static u32 map_old_perms(u32 old) in map_old_perms() 490 struct aa_label *l, *old; in update_file_ctx() local
|
D | policy.c | 740 static void __replace_profile(struct aa_profile *old, struct aa_profile *new) in __replace_profile() 812 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() 599 static bool __label_replace(struct aa_label *old, struct aa_label *new) in __label_replace() 765 bool aa_label_replace(struct aa_label *old, struct aa_label *new) in aa_label_replace()
|
D | lsm.c | 74 static int apparmor_cred_prepare(struct cred *new, const struct cred *old, in apparmor_cred_prepare() 84 static void apparmor_cred_transfer(struct cred *new, const struct cred *old) in apparmor_cred_transfer()
|
D | apparmorfs.c | 846 struct multi_transaction *old; in multi_transaction_set() local 1443 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() 504 struct tomoyo_task *old = tomoyo_task(current); in tomoyo_task_alloc() local
|
/security/smack/ |
D | smack_lsm.c | 1946 static int smack_cred_prepare(struct cred *new, const struct cred *old, in smack_cred_prepare() 1971 static void smack_cred_transfer(struct cred *new, const struct cred *old) in smack_cred_transfer() 4551 const struct cred *old, in smack_dentry_create_files_as()
|
/security/selinux/ |
D | hooks.c | 889 struct superblock_security_struct *old = oldsb->s_security; in selinux_cmp_sb_context() local 2159 static int selinux_capset(struct cred *new, const struct cred *old, in selinux_capset() 2883 const struct cred *old, in selinux_dentry_create_files_as() 3887 static int selinux_cred_prepare(struct cred *new, const struct cred *old, in selinux_cred_prepare() 3900 static void selinux_cred_transfer(struct cred *new, const struct cred *old) in selinux_cred_transfer()
|
D | avc.c | 454 struct avc_node *new, struct avc_node *old) in avc_node_replace()
|