Home
last modified time | relevance | path

Searched defs:ctx (Results 1 – 18 of 18) sorted by relevance

/security/selinux/
Dxfrm.c55 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
Dhooks.c2864 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/
Dtask.c44 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
Dlsm.c428 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 …]
Ddomain.c877 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/
Dtask.h42 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()
Dfile.h57 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/
Dprocess_keys.c191 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
Drequest_key.c22 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
Dkeyring.c460 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
Drequest_key_auth.c250 struct keyring_search_context ctx = { in key_get_instantiation_authkey() local
Dproc.c163 struct keyring_search_context ctx = { in proc_keys_show() local
Ddh.c84 char ctx[]; member
Dtrusted.c39 char ctx[]; member
/security/integrity/
Dintegrity.h236 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/
Dsecurity.c952 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/
Dservices.c1388 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/
Dsmack_lsm.c4493 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()