/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 | 2864 const struct qstr *name, void **ctx, in selinux_dentry_init_security() 6493 static int selinux_inode_notifysecctx(struct inode *inode, void *ctx, u32 ctxlen) in selinux_inode_notifysecctx() 6504 static int selinux_inode_setsecctx(struct dentry *dentry, void *ctx, u32 ctxlen) in selinux_inode_setsecctx() 6509 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 843 struct aa_sk_ctx *ctx = SK_CTX(sock->sk); in apparmor_socket_post_create() local 1028 struct aa_sk_ctx *ctx = SK_CTX(sk); in apparmor_socket_sock_rcv_skb() local 1041 struct aa_sk_ctx *ctx = SK_CTX(sk); in sk_peer_label() local 1125 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 1169 struct aa_task_ctx *ctx = task_ctx(current); in aa_change_hat() local 1319 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() 366 static int construct_alloc_key(struct keyring_search_context *ctx, in construct_alloc_key() 473 static struct key *construct_key_and_link(struct keyring_search_context *ctx, in construct_key_and_link() 567 struct keyring_search_context ctx = { in request_key_and_link() local 770 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 488 struct keyring_read_iterator_context ctx; in keyring_read() local 580 struct keyring_search_context *ctx = iterator_data; in keyring_search_iterator() local 650 static int search_keyring(struct key *keyring, struct keyring_search_context *ctx) in search_keyring() 668 struct keyring_search_context *ctx) in search_nested_keyrings() 904 struct keyring_search_context *ctx) in keyring_search_rcu() 946 struct keyring_search_context ctx = { in keyring_search() local 1194 struct keyring_search_context *ctx = iterator_data; in keyring_detect_cycle_iterator() local 1217 struct keyring_search_context ctx = { in keyring_detect_cycle() local
|
D | request_key_auth.c | 250 struct keyring_search_context ctx = { in key_get_instantiation_authkey() local
|
D | proc.c | 163 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 | 236 integrity_audit_log_start(struct audit_context *ctx, gfp_t gfp_mask, int type) in integrity_audit_log_start() 250 integrity_audit_log_start(struct audit_context *ctx, gfp_t gfp_mask, int type) in integrity_audit_log_start()
|
/security/ |
D | security.c | 952 const struct qstr *name, void **ctx, in security_dentry_init_security() 1942 int security_inode_notifysecctx(struct inode *inode, void *ctx, u32 ctxlen) in security_inode_notifysecctx() 1948 int security_inode_setsecctx(struct dentry *dentry, void *ctx, u32 ctxlen) in security_inode_setsecctx() 1954 int security_inode_getsecctx(struct inode *inode, void **ctx, u32 *ctxlen) in security_inode_getsecctx() 2242 void security_xfrm_policy_free(struct xfrm_sec_ctx *ctx) in security_xfrm_policy_free() 2248 int security_xfrm_policy_delete(struct xfrm_sec_ctx *ctx) in security_xfrm_policy_delete() 2277 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 | 1388 struct context *ctx, in string_to_context_struct() 3640 struct context *ctx; in security_netlbl_secattr_to_sid() local 3708 struct context *ctx; in security_netlbl_sid_to_secattr() local
|
/security/smack/ |
D | smack_lsm.c | 4493 static int smack_inode_notifysecctx(struct inode *inode, void *ctx, u32 ctxlen) in smack_inode_notifysecctx() 4498 static int smack_inode_setsecctx(struct dentry *dentry, void *ctx, u32 ctxlen) in smack_inode_setsecctx() 4503 static int smack_inode_getsecctx(struct inode *inode, void **ctx, u32 *ctxlen) in smack_inode_getsecctx()
|