Home
last modified time | relevance | path

Searched defs:new (Results 1 – 25 of 27) 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
841 struct cred *new; in join_session_keyring() local
915 struct cred *new = container_of(twork, struct cred, rcu); in key_change_session_keyring() local
Dkeyctl.c1075 struct cred *new; in keyctl_change_reqkey_auth() local
1322 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()
392 static void label_free_or_put_new(struct aa_label *label, struct aa_label *new) in label_free_or_put_new()
428 struct aa_label *new; in aa_label_alloc() local
563 static bool __label_remove(struct aa_label *label, struct aa_label *new) in __label_remove()
599 static bool __label_replace(struct aa_label *old, struct aa_label *new) in __label_replace()
638 struct rb_node **new, *parent = NULL; in __label_insert() local
765 bool aa_label_replace(struct aa_label *old, struct aa_label *new) in aa_label_replace()
831 struct aa_label *new; in vec_create_and_insert_label() local
[all …]
Ddomain.c556 struct aa_label *new = NULL; in x_to_label() local
622 struct aa_label *new = NULL; in profile_transition() local
822 struct aa_label *new; in handle_onexec() local
878 struct aa_label *label, *new = NULL; in apparmor_bprm_set_creds() local
1057 struct aa_label *new; in change_hat() local
1170 struct aa_label *label, *previous, *new = NULL, *target = NULL; in aa_change_hat() local
1313 struct aa_label *label, *new = NULL, *target = NULL; in aa_change_profile() local
Dpolicy.c740 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()
824 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.c74 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()
98 struct aa_task_ctx *new = task_ctx(task); in apparmor_task_alloc() local
792 struct aa_sk_ctx *new = SK_CTX(newsk); in apparmor_sk_clone_security() local
Dfile.c194 u32 new = old & 0xf; in map_old_perms() local
Dpolicy_unpack.c104 static int audit_iface(struct aa_profile *new, const char *ns_name, in audit_iface()
Dapparmorfs.c844 struct multi_transaction *new, size_t n) in multi_transaction_set()
1444 struct aa_profile *new) in __aafs_profile_migrate_dents()
/security/
Dcommoncap.c241 int cap_capset(struct cred *new, in cap_capset()
534 struct cred *new = bprm->cred; in bprm_caps_from_vfs_caps() local
719 struct cred *new = bprm->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()
812 struct cred *new = bprm->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()
1143 struct cred *new; in cap_prctl_drop() local
[all …]
Dsecurity.c414 static int lsm_append(const char *new, char **result) in lsm_append()
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()
1354 int security_inode_copy_up(struct dentry *src, struct cred **new) in security_inode_copy_up()
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()
1578 int security_kernel_act_as(struct cred *new, u32 secid) in security_kernel_act_as()
1583 int security_kernel_create_files_as(struct cred *new, struct inode *inode) in security_kernel_create_files_as()
1632 int security_task_fix_setuid(struct cred *new, const struct cred *old, in security_task_fix_setuid()
Ddevice_cgroup.c61 struct dev_exception_item *ex, *tmp, *new; in dev_exceptions_copy() local
/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/selinux/ss/
Debitmap.c54 struct ebitmap_node *n, *new, *prev; in ebitmap_cpy() local
261 struct ebitmap_node *n, *prev, *new; in ebitmap_set_bit() local
/security/safesetid/
Dlsm.c128 static int safesetid_task_fix_setuid(struct cred *new, in safesetid_task_fix_setuid()
/security/tomoyo/
Dtomoyo.c36 static int tomoyo_cred_prepare(struct cred *new, const struct cred *old, in tomoyo_cred_prepare()
505 struct tomoyo_task *new = tomoyo_task(task); in tomoyo_task_alloc() local
/security/selinux/
Dnetport.c142 struct sel_netport *new; in sel_netport_sid_slow() local
Dnetnode.c194 struct sel_netnode *new; in sel_netnode_sid_slow() local
Dibpkey.c134 struct sel_ib_pkey *new = NULL; in sel_ib_pkey_sid_slow() local
Dnetif.c137 struct sel_netif *new; in sel_netif_sid_slow() local
Dhooks.c890 struct superblock_security_struct *new = newsb->s_security; in selinux_cmp_sb_context() local
2159 static int selinux_capset(struct cred *new, const struct cred *old, in selinux_capset()
2884 struct cred *new) in selinux_dentry_create_files_as()
3416 static int selinux_inode_copy_up(struct dentry *src, struct cred **new) in selinux_inode_copy_up()
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()
3917 static int selinux_kernel_act_as(struct cred *new, u32 secid) in selinux_kernel_act_as()
3941 static int selinux_kernel_create_files_as(struct cred *new, struct inode *inode) in selinux_kernel_create_files_as()
6319 struct cred *new; in selinux_setprocattr() local
/security/smack/
Dsmack_lsm.c1946 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()
2008 static int smack_kernel_act_as(struct cred *new, u32 secid) in smack_kernel_act_as()
2024 static int smack_kernel_create_files_as(struct cred *new, in smack_kernel_create_files_as()
3525 struct cred *new; in smack_setprocattr() local
4512 static int smack_inode_copy_up(struct dentry *dentry, struct cred **new) in smack_inode_copy_up()
4552 struct cred *new) in smack_dentry_create_files_as()

12