/security/selinux/ |
D | xfrm.c | 55 static inline int selinux_authorizable_ctx(struct xfrm_sec_ctx *ctx) in selinux_authorizable_ctx() 80 struct xfrm_sec_ctx *ctx = NULL; in selinux_xfrm_alloc_user() local 124 static void selinux_xfrm_free(struct xfrm_sec_ctx *ctx) in selinux_xfrm_free() 136 static int selinux_xfrm_delete(struct xfrm_sec_ctx *ctx) in selinux_xfrm_delete() 153 int selinux_xfrm_policy_lookup(struct xfrm_sec_ctx *ctx, u32 fl_secid) in selinux_xfrm_policy_lookup() 239 struct xfrm_sec_ctx *ctx = x->security; in selinux_xfrm_skb_sid_ingress() local 317 void selinux_xfrm_policy_free(struct xfrm_sec_ctx *ctx) in selinux_xfrm_policy_free() 325 int selinux_xfrm_policy_delete(struct xfrm_sec_ctx *ctx) in selinux_xfrm_policy_delete() 348 struct xfrm_sec_ctx *ctx; in selinux_xfrm_state_alloc_acquire() local 417 struct xfrm_sec_ctx *ctx = x->security; in selinux_xfrm_sock_rcv_skb() local
|
D | hooks.c | 2948 const struct qstr *name, void **ctx, in selinux_dentry_init_security() 6717 static int selinux_inode_notifysecctx(struct inode *inode, void *ctx, u32 ctxlen) in selinux_inode_notifysecctx() 6728 static int selinux_inode_setsecctx(struct dentry *dentry, void *ctx, u32 ctxlen) in selinux_inode_setsecctx() 6734 static int selinux_inode_getsecctx(struct inode *inode, void **ctx, u32 *ctxlen) in selinux_inode_getsecctx()
|
/security/apparmor/ |
D | task.c | 44 struct aa_task_ctx *ctx = task_ctx(current); in aa_replace_current_label() local 95 struct aa_task_ctx *ctx = task_ctx(current); in aa_set_current_onexec() local 117 struct aa_task_ctx *ctx = task_ctx(current); in aa_set_current_hat() local 157 struct aa_task_ctx *ctx = task_ctx(current); in aa_restore_previous_label() local
|
D | lsm.c | 447 struct aa_file_ctx *ctx = file_ctx(file); in apparmor_file_alloc_security() local 458 struct aa_file_ctx *ctx = file_ctx(file); in apparmor_file_free_security() local 603 struct aa_task_ctx *ctx = task_ctx(current); in apparmor_getprocattr() local 783 struct aa_sk_ctx *ctx; in apparmor_sk_alloc_security() local 799 struct aa_sk_ctx *ctx = SK_CTX(sk); in apparmor_sk_free_security() local 813 struct aa_sk_ctx *ctx = SK_CTX(sk); in apparmor_sk_clone_security() local 870 struct aa_sk_ctx *ctx = SK_CTX(sock->sk); in apparmor_socket_post_create() local 1055 struct aa_sk_ctx *ctx = SK_CTX(sk); in apparmor_socket_sock_rcv_skb() local 1068 struct aa_sk_ctx *ctx = SK_CTX(sk); in sk_peer_label() local 1152 struct aa_sk_ctx *ctx = SK_CTX(sk); in apparmor_sock_graft() local [all …]
|
D | domain.c | 856 struct aa_task_ctx *ctx; in apparmor_bprm_creds_for_exec() local 1152 struct aa_task_ctx *ctx = task_ctx(current); in aa_change_hat() local 1302 struct aa_task_ctx *ctx = task_ctx(current); in aa_change_profile() local
|
/security/apparmor/include/ |
D | task.h | 42 static inline void aa_free_task_ctx(struct aa_task_ctx *ctx) in aa_free_task_ctx() 69 static inline void aa_clear_task_ctx_trans(struct aa_task_ctx *ctx) in aa_clear_task_ctx_trans()
|
D | file.h | 57 struct aa_file_ctx *ctx; in aa_alloc_file_ctx() local 71 static inline void aa_free_file_ctx(struct aa_file_ctx *ctx) in aa_free_file_ctx() 79 static inline struct aa_label *aa_get_file_label(struct aa_file_ctx *ctx) in aa_get_file_label()
|
/security/keys/ |
D | process_keys.c | 191 struct keyring_search_context ctx = { in get_user_session_keyring_rcu() local 422 key_ref_t search_cred_keyrings_rcu(struct keyring_search_context *ctx) in search_cred_keyrings_rcu() 539 key_ref_t search_process_keyrings_rcu(struct keyring_search_context *ctx) in search_process_keyrings_rcu() 614 struct keyring_search_context ctx = { in lookup_user_key() local
|
D | request_key.c | 22 static struct key *check_cached_key(struct keyring_search_context *ctx) in check_cached_key() 369 static int construct_alloc_key(struct keyring_search_context *ctx, in construct_alloc_key() 489 static struct key *construct_key_and_link(struct keyring_search_context *ctx, in construct_key_and_link() 583 struct keyring_search_context ctx = { in request_key_and_link() local 786 struct keyring_search_context ctx = { in request_key_rcu() local
|
D | keyring.c | 460 struct keyring_read_iterator_context *ctx = data; in keyring_read_iterator() local 484 struct keyring_read_iterator_context ctx; in keyring_read() local 576 struct keyring_search_context *ctx = iterator_data; in keyring_search_iterator() local 646 static int search_keyring(struct key *keyring, struct keyring_search_context *ctx) in search_keyring() 664 struct keyring_search_context *ctx) in search_nested_keyrings() 900 struct keyring_search_context *ctx) in keyring_search_rcu() 942 struct keyring_search_context ctx = { in keyring_search() local 1192 struct keyring_search_context *ctx = iterator_data; in keyring_detect_cycle_iterator() local 1215 struct keyring_search_context ctx = { in keyring_detect_cycle() local
|
D | request_key_auth.c | 249 struct keyring_search_context ctx = { in key_get_instantiation_authkey() local
|
D | proc.c | 165 struct keyring_search_context ctx = { in proc_keys_show() local
|
D | dh.c | 84 char ctx[]; member
|
/security/keys/trusted-keys/ |
D | trusted_tpm2.c | 101 struct tpm2_key_context ctx; in tpm2_key_decode() local 133 struct tpm2_key_context *ctx = context; in tpm2_key_parent() local 168 struct tpm2_key_context *ctx = context; in tpm2_key_pub() local 180 struct tpm2_key_context *ctx = context; in tpm2_key_priv() local
|
D | trusted_tee.c | 53 struct tee_context *ctx; member
|
D | trusted_tpm1.c | 32 char ctx[]; member
|
/security/integrity/ |
D | integrity.h | 250 integrity_audit_log_start(struct audit_context *ctx, gfp_t gfp_mask, int type) in integrity_audit_log_start() 272 integrity_audit_log_start(struct audit_context *ctx, gfp_t gfp_mask, int type) in integrity_audit_log_start()
|
/security/ |
D | security.c | 1070 const struct qstr *name, void **ctx, in security_dentry_init_security() 2152 int security_inode_notifysecctx(struct inode *inode, void *ctx, u32 ctxlen) in security_inode_notifysecctx() 2158 int security_inode_setsecctx(struct dentry *dentry, void *ctx, u32 ctxlen) in security_inode_setsecctx() 2164 int security_inode_getsecctx(struct inode *inode, void **ctx, u32 *ctxlen) in security_inode_getsecctx() 2481 void security_xfrm_policy_free(struct xfrm_sec_ctx *ctx) in security_xfrm_policy_free() 2487 int security_xfrm_policy_delete(struct xfrm_sec_ctx *ctx) in security_xfrm_policy_delete() 2516 int security_xfrm_policy_lookup(struct xfrm_sec_ctx *ctx, u32 fl_secid) in security_xfrm_policy_lookup()
|
/security/selinux/ss/ |
D | services.c | 1443 struct context *ctx, in string_to_context_struct() 3886 struct context *ctx; in security_netlbl_secattr_to_sid() local 3962 struct context *ctx; in security_netlbl_sid_to_secattr() local
|
/security/smack/ |
D | smack_lsm.c | 4626 static int smack_inode_notifysecctx(struct inode *inode, void *ctx, u32 ctxlen) in smack_inode_notifysecctx() 4632 static int smack_inode_setsecctx(struct dentry *dentry, void *ctx, u32 ctxlen) in smack_inode_setsecctx() 4638 static int smack_inode_getsecctx(struct inode *inode, void **ctx, u32 *ctxlen) in smack_inode_getsecctx()
|