Searched refs:xfrm_sec_ctx (Results 1 – 11 of 11) sorted by relevance
/Linux-v4.19/security/selinux/ |
D | xfrm.c | 58 static inline int selinux_authorizable_ctx(struct xfrm_sec_ctx *ctx) in selinux_authorizable_ctx() 77 static int selinux_xfrm_alloc_user(struct xfrm_sec_ctx **ctxp, in selinux_xfrm_alloc_user() 83 struct xfrm_sec_ctx *ctx = NULL; in selinux_xfrm_alloc_user() 127 static void selinux_xfrm_free(struct xfrm_sec_ctx *ctx) in selinux_xfrm_free() 139 static int selinux_xfrm_delete(struct xfrm_sec_ctx *ctx) in selinux_xfrm_delete() 156 int selinux_xfrm_policy_lookup(struct xfrm_sec_ctx *ctx, u32 fl_secid, u8 dir) in selinux_xfrm_policy_lookup() 241 struct xfrm_sec_ctx *ctx = x->security; in selinux_xfrm_skb_sid_ingress() 287 int selinux_xfrm_policy_alloc(struct xfrm_sec_ctx **ctxp, in selinux_xfrm_policy_alloc() 298 int selinux_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx, in selinux_xfrm_policy_clone() 299 struct xfrm_sec_ctx **new_ctxp) in selinux_xfrm_policy_clone() [all …]
|
/Linux-v4.19/security/selinux/include/ |
D | xfrm.h | 13 int selinux_xfrm_policy_alloc(struct xfrm_sec_ctx **ctxp, 16 int selinux_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx, 17 struct xfrm_sec_ctx **new_ctxp); 18 void selinux_xfrm_policy_free(struct xfrm_sec_ctx *ctx); 19 int selinux_xfrm_policy_delete(struct xfrm_sec_ctx *ctx); 23 struct xfrm_sec_ctx *polsec, u32 secid); 26 int selinux_xfrm_policy_lookup(struct xfrm_sec_ctx *ctx, u32 fl_secid, u8 dir);
|
/Linux-v4.19/include/linux/ |
D | security.h | 54 struct xfrm_sec_ctx; 1496 int security_xfrm_policy_alloc(struct xfrm_sec_ctx **ctxp, 1498 int security_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx, struct xfrm_sec_ctx **new_ctxp); 1499 void security_xfrm_policy_free(struct xfrm_sec_ctx *ctx); 1500 int security_xfrm_policy_delete(struct xfrm_sec_ctx *ctx); 1503 struct xfrm_sec_ctx *polsec, u32 secid); 1506 int security_xfrm_policy_lookup(struct xfrm_sec_ctx *ctx, u32 fl_secid, u8 dir); 1515 static inline int security_xfrm_policy_alloc(struct xfrm_sec_ctx **ctxp, in security_xfrm_policy_alloc() 1522 static inline int security_xfrm_policy_clone(struct xfrm_sec_ctx *old, struct xfrm_sec_ctx **new_ct… in security_xfrm_policy_clone() 1527 static inline void security_xfrm_policy_free(struct xfrm_sec_ctx *ctx) in security_xfrm_policy_free() [all …]
|
D | lsm_hooks.h | 1729 int (*xfrm_policy_alloc_security)(struct xfrm_sec_ctx **ctxp, 1732 int (*xfrm_policy_clone_security)(struct xfrm_sec_ctx *old_ctx, 1733 struct xfrm_sec_ctx **new_ctx); 1734 void (*xfrm_policy_free_security)(struct xfrm_sec_ctx *ctx); 1735 int (*xfrm_policy_delete_security)(struct xfrm_sec_ctx *ctx); 1739 struct xfrm_sec_ctx *polsec, 1743 int (*xfrm_policy_lookup)(struct xfrm_sec_ctx *ctx, u32 fl_secid,
|
/Linux-v4.19/security/ |
D | security.c | 1624 int security_xfrm_policy_alloc(struct xfrm_sec_ctx **ctxp, in security_xfrm_policy_alloc() 1632 int security_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx, in security_xfrm_policy_clone() 1633 struct xfrm_sec_ctx **new_ctxp) in security_xfrm_policy_clone() 1638 void security_xfrm_policy_free(struct xfrm_sec_ctx *ctx) in security_xfrm_policy_free() 1644 int security_xfrm_policy_delete(struct xfrm_sec_ctx *ctx) in security_xfrm_policy_delete() 1657 struct xfrm_sec_ctx *polsec, u32 secid) in security_xfrm_state_alloc_acquire() 1673 int security_xfrm_policy_lookup(struct xfrm_sec_ctx *ctx, u32 fl_secid, u8 dir) in security_xfrm_policy_lookup()
|
/Linux-v4.19/include/net/ |
D | xfrm.h | 244 struct xfrm_sec_ctx *security; 597 struct xfrm_sec_ctx *security; 964 static inline bool xfrm_sec_ctx_match(struct xfrm_sec_ctx *s1, struct xfrm_sec_ctx *s2) in xfrm_sec_ctx_match() 973 static inline bool xfrm_sec_ctx_match(struct xfrm_sec_ctx *s1, struct xfrm_sec_ctx *s2) in xfrm_sec_ctx_match() 1721 struct xfrm_sec_ctx *ctx, int delete,
|
/Linux-v4.19/include/uapi/linux/ |
D | xfrm.h | 31 struct xfrm_sec_ctx { struct
|
/Linux-v4.19/net/xfrm/ |
D | xfrm_user.c | 462 static inline unsigned int xfrm_user_sec_ctx_size(struct xfrm_sec_ctx *xfrm_ctx) in xfrm_user_sec_ctx_size() 792 static int copy_sec_ctx(struct xfrm_sec_ctx *s, struct sk_buff *skb) in copy_sec_ctx() 1873 struct xfrm_sec_ctx *ctx; in xfrm_get_policy() 2173 struct xfrm_sec_ctx *ctx; in xfrm_add_pol_expire() 2552 [XFRMA_SEC_CTX] = { .len = sizeof(struct xfrm_sec_ctx) },
|
D | xfrm_policy.c | 812 struct xfrm_sec_ctx *ctx, int delete, in xfrm_policy_bysel_ctx() 2967 struct xfrm_sec_ctx *ctx = xp->security; in xfrm_audit_common_policyinfo()
|
D | xfrm_state.c | 2392 struct xfrm_sec_ctx *ctx = x->security; in xfrm_audit_helper_sainfo()
|
/Linux-v4.19/net/key/ |
D | af_key.c | 789 struct xfrm_sec_ctx *xfrm_ctx; in __pfkey_xfrm_state2msg() 2023 struct xfrm_sec_ctx *xfrm_ctx = xp->security; in pfkey_xfrm_policy2sec_ctx_size() 2076 struct xfrm_sec_ctx *xfrm_ctx; in pfkey_xfrm_policy2msg() 2375 struct xfrm_sec_ctx *pol_ctx = NULL; in pfkey_spddelete() 3151 struct xfrm_sec_ctx *xfrm_ctx; in pfkey_send_acquire()
|