Home
last modified time | relevance | path

Searched defs:new (Results 1 – 25 of 31) sorted by relevance

12

/security/keys/
Dprocess_keys.c221 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
Dkeyctl.c1151 struct cred *new; in keyctl_change_reqkey_auth() local
1395 struct cred *new; in keyctl_set_reqkey_keyring() local
/security/apparmor/
Dtask.c45 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
Dlabel.c62 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 …]
Ddomain.c563 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
Dpolicy.c741 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()
Dresource.c145 struct aa_profile *old, *new; in __aa_transition_rlimits() local
Dlsm.c84 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/
Dcommoncap.c242 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 …]
Dsecurity.c453 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/
Dlsm.c196 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/
Dhashtab.c132 int hashtab_duplicate(struct hashtab *new, struct hashtab *orig, in hashtab_duplicate()
133 int (*copy)(struct hashtab_node *new, in hashtab_duplicate()
Debitmap.c55 struct ebitmap_node *n, *new, *prev; in ebitmap_cpy() local
280 struct ebitmap_node *n, *prev, *new; in ebitmap_set_bit() local
Dconditional.c606 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()
Davtab.c352 int avtab_alloc_dup(struct avtab *new, const struct avtab *orig) in avtab_alloc_dup()
/security/landlock/
Dcred.c17 static int hook_cred_prepare(struct cred *const new, in hook_cred_prepare()
/security/apparmor/include/
Dtask.h56 static inline void aa_dup_task_ctx(struct aa_task_ctx *new, in aa_dup_task_ctx()
Dpolicy_unpack.h21 struct aa_profile *new; member
/security/tomoyo/
Dtomoyo.c36 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/
Dnetport.c141 struct sel_netport *new; in sel_netport_sid_slow() local
Dibpkey.c133 struct sel_ib_pkey *new = NULL; in sel_ib_pkey_sid_slow() local
Dnetnode.c193 struct sel_netnode *new; in sel_netnode_sid_slow() local
Dnetif.c136 struct sel_netif *new; in sel_netif_sid_slow() local
Dhooks.c878 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/
Dsmack_lsm.c1947 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()

12