Home
last modified time | relevance | path

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

/security/selinux/
Dxfrm.c61 static inline int selinux_authorizable_ctx(struct xfrm_sec_ctx *ctx) in selinux_authorizable_ctx()
80 int selinux_xfrm_policy_lookup(struct xfrm_sec_ctx *ctx, u32 fl_secid, u8 dir) in selinux_xfrm_policy_lookup()
176 struct xfrm_sec_ctx *ctx = x->security; in selinux_xfrm_decode_session() local
202 struct xfrm_sec_ctx *ctx = NULL; in selinux_xfrm_sec_ctx_alloc() local
328 void selinux_xfrm_policy_free(struct xfrm_sec_ctx *ctx) in selinux_xfrm_policy_free()
337 int selinux_xfrm_policy_delete(struct xfrm_sec_ctx *ctx) in selinux_xfrm_policy_delete()
381 struct xfrm_sec_ctx *ctx = x->security; in selinux_xfrm_state_delete() local
412 struct xfrm_sec_ctx *ctx = x->security; in selinux_xfrm_sock_rcv_skb() local
Dhooks.c1683 struct task_struct *ctx) in may_create_key()
5622 static int selinux_inode_notifysecctx(struct inode *inode, void *ctx, u32 ctxlen) in selinux_inode_notifysecctx()
5630 static int selinux_inode_setsecctx(struct dentry *dentry, void *ctx, u32 ctxlen) in selinux_inode_setsecctx()
5635 static int selinux_inode_getsecctx(struct inode *inode, void **ctx, u32 *ctxlen) in selinux_inode_getsecctx()
/security/integrity/ima/
Dima_crypto.c50 char ctx[crypto_shash_descsize(ima_shash_tfm)]; in ima_calc_file_hash() member
102 char ctx[crypto_shash_descsize(ima_shash_tfm)]; in ima_calc_buffer_hash() member
129 char ctx[crypto_shash_descsize(ima_shash_tfm)]; in ima_calc_boot_aggregate() member
/security/
Dcapability.c781 static void cap_xfrm_policy_free_security(struct xfrm_sec_ctx *ctx) in cap_xfrm_policy_free_security()
785 static int cap_xfrm_policy_delete_security(struct xfrm_sec_ctx *ctx) in cap_xfrm_policy_delete_security()
806 static int cap_xfrm_policy_lookup(struct xfrm_sec_ctx *ctx, u32 sk_sid, u8 dir) in cap_xfrm_policy_lookup()
854 static int cap_inode_notifysecctx(struct inode *inode, void *ctx, u32 ctxlen) in cap_inode_notifysecctx()
859 static int cap_inode_setsecctx(struct dentry *dentry, void *ctx, u32 ctxlen) in cap_inode_setsecctx()
864 static int cap_inode_getsecctx(struct inode *inode, void **ctx, u32 *ctxlen) in cap_inode_getsecctx()
Dsecurity.c1088 int security_inode_notifysecctx(struct inode *inode, void *ctx, u32 ctxlen) in security_inode_notifysecctx()
1094 int security_inode_setsecctx(struct dentry *dentry, void *ctx, u32 ctxlen) in security_inode_setsecctx()
1100 int security_inode_getsecctx(struct inode *inode, void **ctx, u32 *ctxlen) in security_inode_getsecctx()
1334 void security_xfrm_policy_free(struct xfrm_sec_ctx *ctx) in security_xfrm_policy_free()
1340 int security_xfrm_policy_delete(struct xfrm_sec_ctx *ctx) in security_xfrm_policy_delete()
1374 int security_xfrm_policy_lookup(struct xfrm_sec_ctx *ctx, u32 fl_secid, u8 dir) in security_xfrm_policy_lookup()
/security/selinux/ss/
Dservices.c1321 struct context *ctx, in string_to_context_struct()
1867 struct context ctx; in convert_context() local
3296 struct context *ctx; in security_netlbl_secattr_to_sid() local
3366 struct context *ctx; in security_netlbl_sid_to_secattr() local
/security/smack/
Dsmack_lsm.c3374 static int smack_inode_notifysecctx(struct inode *inode, void *ctx, u32 ctxlen) in smack_inode_notifysecctx()
3379 static int smack_inode_setsecctx(struct dentry *dentry, void *ctx, u32 ctxlen) in smack_inode_setsecctx()
3384 static int smack_inode_getsecctx(struct inode *inode, void **ctx, u32 *ctxlen) in smack_inode_getsecctx()
/security/keys/encrypted-keys/
Dencrypted.c59 char ctx[]; member
/security/keys/
Dtrusted.c39 char ctx[]; member