Home
last modified time | relevance | path

Searched defs:ctx (Results 1 – 8 of 8) 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
327 void selinux_xfrm_policy_free(struct xfrm_sec_ctx *ctx) in selinux_xfrm_policy_free()
335 int selinux_xfrm_policy_delete(struct xfrm_sec_ctx *ctx) in selinux_xfrm_policy_delete()
373 struct xfrm_sec_ctx *ctx = x->security; in selinux_xfrm_state_free() local
383 struct xfrm_sec_ctx *ctx = x->security; in selinux_xfrm_state_delete() local
418 struct xfrm_sec_ctx *ctx = x->security; in selinux_xfrm_sock_rcv_skb() local
Dhooks.c1665 struct task_struct *ctx) in may_create_key()
5581 static int selinux_inode_notifysecctx(struct inode *inode, void *ctx, u32 ctxlen) in selinux_inode_notifysecctx()
5589 static int selinux_inode_setsecctx(struct dentry *dentry, void *ctx, u32 ctxlen) in selinux_inode_setsecctx()
5594 static int selinux_inode_getsecctx(struct inode *inode, void **ctx, u32 *ctxlen) in selinux_inode_getsecctx()
/security/
Dcapability.c755 static void cap_xfrm_policy_free_security(struct xfrm_sec_ctx *ctx) in cap_xfrm_policy_free_security()
759 static int cap_xfrm_policy_delete_security(struct xfrm_sec_ctx *ctx) in cap_xfrm_policy_delete_security()
780 static int cap_xfrm_policy_lookup(struct xfrm_sec_ctx *ctx, u32 sk_sid, u8 dir) in cap_xfrm_policy_lookup()
828 static int cap_inode_notifysecctx(struct inode *inode, void *ctx, u32 ctxlen) in cap_inode_notifysecctx()
833 static int cap_inode_setsecctx(struct dentry *dentry, void *ctx, u32 ctxlen) in cap_inode_setsecctx()
838 static int cap_inode_getsecctx(struct inode *inode, void **ctx, u32 *ctxlen) in cap_inode_getsecctx()
Dsecurity.c1009 int security_inode_notifysecctx(struct inode *inode, void *ctx, u32 ctxlen) in security_inode_notifysecctx()
1015 int security_inode_setsecctx(struct dentry *dentry, void *ctx, u32 ctxlen) in security_inode_setsecctx()
1021 int security_inode_getsecctx(struct inode *inode, void **ctx, u32 *ctxlen) in security_inode_getsecctx()
1232 void security_xfrm_policy_free(struct xfrm_sec_ctx *ctx) in security_xfrm_policy_free()
1238 int security_xfrm_policy_delete(struct xfrm_sec_ctx *ctx) in security_xfrm_policy_delete()
1272 int security_xfrm_policy_lookup(struct xfrm_sec_ctx *ctx, u32 fl_secid, u8 dir) in security_xfrm_policy_lookup()
/security/selinux/ss/
Dservices.c1320 struct context *ctx, in string_to_context_struct()
1866 struct context ctx; in convert_context() local
3297 struct context *ctx; in security_netlbl_secattr_to_sid() local
3367 struct context *ctx; in security_netlbl_sid_to_secattr() local
/security/smack/
Dsmack_lsm.c3482 static int smack_inode_notifysecctx(struct inode *inode, void *ctx, u32 ctxlen) in smack_inode_notifysecctx()
3487 static int smack_inode_setsecctx(struct dentry *dentry, void *ctx, u32 ctxlen) in smack_inode_setsecctx()
3492 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