/security/keys/ |
D | process_keys.c | 221 int install_thread_keyring_to_cred(struct cred *new) in install_thread_keyring_to_cred() 246 struct cred *new; in install_thread_keyring() local 268 int install_process_keyring_to_cred(struct cred *new) in install_process_keyring_to_cred() 293 struct cred *new; in install_process_keyring() local 358 struct cred *new; in install_session_keyring() local 840 struct cred *new; in join_session_keyring() local 914 struct cred *new = container_of(twork, struct cred, rcu); in key_change_session_keyring() local
|
D | keyctl.c | 1151 struct cred *new; in keyctl_change_reqkey_auth() local 1395 struct cred *new; in keyctl_set_reqkey_keyring() local
|
/security/apparmor/ |
D | task.c | 45 struct cred *new; in aa_replace_current_label() local 118 struct cred *new; in aa_set_current_hat() local 158 struct cred *new; in aa_restore_previous_label() local
|
D | label.c | 62 struct aa_proxy *new; in aa_alloc_proxy() local 73 void __aa_proxy_redirect(struct aa_label *orig, struct aa_label *new) in __aa_proxy_redirect() 88 static void __proxy_share(struct aa_label *old, struct aa_label *new) in __proxy_share() 387 static void label_free_or_put_new(struct aa_label *label, struct aa_label *new) in label_free_or_put_new() 423 struct aa_label *new; in aa_label_alloc() local 591 static bool __label_remove(struct aa_label *label, struct aa_label *new) in __label_remove() 627 static bool __label_replace(struct aa_label *old, struct aa_label *new) in __label_replace() 666 struct rb_node **new, *parent = NULL; in __label_insert() local 793 bool aa_label_replace(struct aa_label *old, struct aa_label *new) in aa_label_replace() 859 struct aa_label *new; in vec_create_and_insert_label() local [all …]
|
D | domain.c | 563 struct aa_label *new = NULL; in x_to_label() local 629 struct aa_label *new = NULL; in profile_transition() local 801 struct aa_label *new; in handle_onexec() local 857 struct aa_label *label, *new = NULL; in apparmor_bprm_creds_for_exec() local 1040 struct aa_label *new; in change_hat() local 1153 struct aa_label *label, *previous, *new = NULL, *target = NULL; in aa_change_hat() local 1296 struct aa_label *label, *new = NULL, *target = NULL; in aa_change_profile() 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() 825 static struct aa_profile *update_to_newest_parent(struct aa_profile *new) in update_to_newest_parent()
|
D | resource.c | 145 struct aa_profile *old, *new; in __aa_transition_rlimits() local
|
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() 108 struct aa_task_ctx *new = task_ctx(task); in apparmor_task_alloc() local 814 struct aa_sk_ctx *new = SK_CTX(newsk); in apparmor_sk_clone_security() local
|
/security/ |
D | commoncap.c | 242 int cap_capset(struct cred *new, in cap_capset() 599 struct cred *new = bprm->cred; in bprm_caps_from_vfs_caps() local 800 struct cred *new = bprm->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() 897 struct cred *new = bprm->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() 1244 struct cred *new; in cap_prctl_drop() local [all …]
|
D | security.c | 453 static int lsm_append(const char *new, char **result) in lsm_append() 794 int security_capset(struct cred *new, const struct cred *old, in security_capset() 1081 const struct cred *old, struct cred *new) in security_dentry_create_files_as() 1485 int security_inode_copy_up(struct dentry *src, struct cred **new) in security_inode_copy_up() 1724 int security_prepare_creds(struct cred *new, const struct cred *old, gfp_t gfp) in security_prepare_creds() 1737 void security_transfer_creds(struct cred *new, const struct cred *old) in security_transfer_creds() 1749 int security_kernel_act_as(struct cred *new, u32 secid) in security_kernel_act_as() 1754 int security_kernel_create_files_as(struct cred *new, struct inode *inode) in security_kernel_create_files_as() 1818 int security_task_fix_setuid(struct cred *new, const struct cred *old, in security_task_fix_setuid() 1824 int security_task_fix_setgid(struct cred *new, const struct cred *old, in security_task_fix_setgid()
|
/security/safesetid/ |
D | lsm.c | 196 static int safesetid_task_fix_setuid(struct cred *new, in safesetid_task_fix_setuid() 220 static int safesetid_task_fix_setgid(struct cred *new, in safesetid_task_fix_setgid()
|
/security/selinux/ss/ |
D | hashtab.c | 132 int hashtab_duplicate(struct hashtab *new, struct hashtab *orig, in hashtab_duplicate() 133 int (*copy)(struct hashtab_node *new, in hashtab_duplicate()
|
D | ebitmap.c | 55 struct ebitmap_node *n, *new, *prev; in ebitmap_cpy() local 280 struct ebitmap_node *n, *prev, *new; in ebitmap_set_bit() local
|
D | conditional.c | 606 static int cond_dup_av_list(struct cond_av_list *new, in cond_dup_av_list() 688 static int cond_bools_copy(struct hashtab_node *new, struct hashtab_node *orig, void *args) in cond_bools_copy() 747 int cond_policydb_dup(struct policydb *new, struct policydb *orig) in cond_policydb_dup()
|
D | avtab.c | 352 int avtab_alloc_dup(struct avtab *new, const struct avtab *orig) in avtab_alloc_dup()
|
/security/landlock/ |
D | cred.c | 17 static int hook_cred_prepare(struct cred *const new, in hook_cred_prepare()
|
/security/apparmor/include/ |
D | task.h | 56 static inline void aa_dup_task_ctx(struct aa_task_ctx *new, in aa_dup_task_ctx()
|
D | policy_unpack.h | 21 struct aa_profile *new; member
|
/security/tomoyo/ |
D | tomoyo.c | 36 static int tomoyo_cred_prepare(struct cred *new, const struct cred *old, in tomoyo_cred_prepare() 497 struct tomoyo_task *new = tomoyo_task(task); in tomoyo_task_alloc() local
|
/security/selinux/ |
D | netport.c | 141 struct sel_netport *new; in sel_netport_sid_slow() local
|
D | ibpkey.c | 133 struct sel_ib_pkey *new = NULL; in sel_ib_pkey_sid_slow() local
|
D | netnode.c | 193 struct sel_netnode *new; in sel_netnode_sid_slow() local
|
D | netif.c | 136 struct sel_netif *new; in sel_netif_sid_slow() local
|
D | hooks.c | 878 struct superblock_security_struct *new = selinux_superblock(newsb); in selinux_cmp_sb_context() local 2170 static int selinux_capset(struct cred *new, const struct cred *old, in selinux_capset() 2972 struct cred *new) in selinux_dentry_create_files_as() 3585 static int selinux_inode_copy_up(struct dentry *src, struct cred **new) in selinux_inode_copy_up() 4089 static int selinux_cred_prepare(struct cred *new, const struct cred *old, in selinux_cred_prepare() 4102 static void selinux_cred_transfer(struct cred *new, const struct cred *old) in selinux_cred_transfer() 4119 static int selinux_kernel_act_as(struct cred *new, u32 secid) in selinux_kernel_act_as() 4143 static int selinux_kernel_create_files_as(struct cred *new, struct inode *inode) in selinux_kernel_create_files_as() 6545 struct cred *new; in selinux_setprocattr() 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() 2009 static int smack_kernel_act_as(struct cred *new, u32 secid) in smack_kernel_act_as() 2025 static int smack_kernel_create_files_as(struct cred *new, in smack_kernel_create_files_as() 3542 struct cred *new; in smack_setprocattr() local 4647 static int smack_inode_copy_up(struct dentry *dentry, struct cred **new) in smack_inode_copy_up() 4687 struct cred *new) in smack_dentry_create_files_as()
|