/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, u8 dir) in selinux_xfrm_policy_lookup() 238 struct xfrm_sec_ctx *ctx = x->security; in selinux_xfrm_skb_sid_ingress() local 316 void selinux_xfrm_policy_free(struct xfrm_sec_ctx *ctx) in selinux_xfrm_policy_free() 324 int selinux_xfrm_policy_delete(struct xfrm_sec_ctx *ctx) in selinux_xfrm_policy_delete() 347 struct xfrm_sec_ctx *ctx; in selinux_xfrm_state_alloc_acquire() local 416 struct xfrm_sec_ctx *ctx = x->security; in selinux_xfrm_sock_rcv_skb() local
|
D | hooks.c | 2882 const struct qstr *name, void **ctx, in selinux_dentry_init_security() 6581 static int selinux_inode_notifysecctx(struct inode *inode, void *ctx, u32 ctxlen) in selinux_inode_notifysecctx() 6592 static int selinux_inode_setsecctx(struct dentry *dentry, void *ctx, u32 ctxlen) in selinux_inode_setsecctx() 6597 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 | 428 struct aa_file_ctx *ctx = file_ctx(file); in apparmor_file_alloc_security() local 439 struct aa_file_ctx *ctx = file_ctx(file); in apparmor_file_free_security() local 581 struct aa_task_ctx *ctx = task_ctx(current); in apparmor_getprocattr() local 761 struct aa_sk_ctx *ctx; in apparmor_sk_alloc_security() local 777 struct aa_sk_ctx *ctx = SK_CTX(sk); in apparmor_sk_free_security() local 791 struct aa_sk_ctx *ctx = SK_CTX(sk); in apparmor_sk_clone_security() local 848 struct aa_sk_ctx *ctx = SK_CTX(sock->sk); in apparmor_socket_post_create() local 1033 struct aa_sk_ctx *ctx = SK_CTX(sk); in apparmor_socket_sock_rcv_skb() local 1046 struct aa_sk_ctx *ctx = SK_CTX(sk); in sk_peer_label() local 1130 struct aa_sk_ctx *ctx = SK_CTX(sk); in apparmor_sock_graft() local [all …]
|
D | domain.c | 877 struct aa_task_ctx *ctx; in apparmor_bprm_set_creds() local 1170 struct aa_task_ctx *ctx = task_ctx(current); in aa_change_hat() local 1320 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 1190 struct keyring_search_context *ctx = iterator_data; in keyring_detect_cycle_iterator() local 1213 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
|
D | trusted.c | 39 char ctx[]; member
|
/security/integrity/ |
D | integrity.h | 238 integrity_audit_log_start(struct audit_context *ctx, gfp_t gfp_mask, int type) in integrity_audit_log_start() 252 integrity_audit_log_start(struct audit_context *ctx, gfp_t gfp_mask, int type) in integrity_audit_log_start()
|
/security/ |
D | security.c | 965 const struct qstr *name, void **ctx, in security_dentry_init_security() 1972 int security_inode_notifysecctx(struct inode *inode, void *ctx, u32 ctxlen) in security_inode_notifysecctx() 1978 int security_inode_setsecctx(struct dentry *dentry, void *ctx, u32 ctxlen) in security_inode_setsecctx() 1984 int security_inode_getsecctx(struct inode *inode, void **ctx, u32 *ctxlen) in security_inode_getsecctx() 2272 void security_xfrm_policy_free(struct xfrm_sec_ctx *ctx) in security_xfrm_policy_free() 2278 int security_xfrm_policy_delete(struct xfrm_sec_ctx *ctx) in security_xfrm_policy_delete() 2307 int security_xfrm_policy_lookup(struct xfrm_sec_ctx *ctx, u32 fl_secid, u8 dir) in security_xfrm_policy_lookup()
|
/security/selinux/ss/ |
D | services.c | 1394 struct context *ctx, in string_to_context_struct() 3675 struct context *ctx; in security_netlbl_secattr_to_sid() local 3743 struct context *ctx; in security_netlbl_sid_to_secattr() local
|
/security/smack/ |
D | smack_lsm.c | 4520 static int smack_inode_notifysecctx(struct inode *inode, void *ctx, u32 ctxlen) in smack_inode_notifysecctx() 4525 static int smack_inode_setsecctx(struct dentry *dentry, void *ctx, u32 ctxlen) in smack_inode_setsecctx() 4530 static int smack_inode_getsecctx(struct inode *inode, void **ctx, u32 *ctxlen) in smack_inode_getsecctx()
|