Searched refs:xfrm_sec_ctx (Results 1 - 11 of 11) sorted by relevance

/linux-master/security/selinux/include/
H A Dxfrm.h16 int selinux_xfrm_policy_alloc(struct xfrm_sec_ctx **ctxp,
18 int selinux_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx,
19 struct xfrm_sec_ctx **new_ctxp);
20 void selinux_xfrm_policy_free(struct xfrm_sec_ctx *ctx);
21 int selinux_xfrm_policy_delete(struct xfrm_sec_ctx *ctx);
25 struct xfrm_sec_ctx *polsec, u32 secid);
28 int selinux_xfrm_policy_lookup(struct xfrm_sec_ctx *ctx, u32 fl_secid);
/linux-master/security/selinux/
H A Dxfrm.c55 static inline int selinux_authorizable_ctx(struct xfrm_sec_ctx *ctx)
74 static int selinux_xfrm_alloc_user(struct xfrm_sec_ctx **ctxp,
80 struct xfrm_sec_ctx *ctx = NULL;
121 * Free the xfrm_sec_ctx structure.
123 static void selinux_xfrm_free(struct xfrm_sec_ctx *ctx)
135 static int selinux_xfrm_delete(struct xfrm_sec_ctx *ctx)
151 int selinux_xfrm_policy_lookup(struct xfrm_sec_ctx *ctx, u32 fl_secid)
236 struct xfrm_sec_ctx *ctx = x->security;
282 int selinux_xfrm_policy_alloc(struct xfrm_sec_ctx **ctxp,
293 int selinux_xfrm_policy_clone(struct xfrm_sec_ctx *old_ct
[all...]
/linux-master/include/linux/
H A Dsecurity.h58 struct xfrm_sec_ctx;
1827 int security_xfrm_policy_alloc(struct xfrm_sec_ctx **ctxp,
1829 int security_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx, struct xfrm_sec_ctx **new_ctxp);
1830 void security_xfrm_policy_free(struct xfrm_sec_ctx *ctx);
1831 int security_xfrm_policy_delete(struct xfrm_sec_ctx *ctx);
1834 struct xfrm_sec_ctx *polsec, u32 secid);
1837 int security_xfrm_policy_lookup(struct xfrm_sec_ctx *ctx, u32 fl_secid);
1846 static inline int security_xfrm_policy_alloc(struct xfrm_sec_ctx **ctxp,
1853 static inline int security_xfrm_policy_clone(struct xfrm_sec_ctx *ol
[all...]
H A Dlsm_hook_defs.h380 LSM_HOOK(int, 0, xfrm_policy_alloc_security, struct xfrm_sec_ctx **ctxp,
382 LSM_HOOK(int, 0, xfrm_policy_clone_security, struct xfrm_sec_ctx *old_ctx,
383 struct xfrm_sec_ctx **new_ctx)
385 struct xfrm_sec_ctx *ctx)
386 LSM_HOOK(int, 0, xfrm_policy_delete_security, struct xfrm_sec_ctx *ctx)
390 struct xfrm_sec_ctx *polsec, u32 secid)
393 LSM_HOOK(int, 0, xfrm_policy_lookup, struct xfrm_sec_ctx *ctx, u32 fl_secid)
/linux-master/include/net/
H A Dxfrm.h289 struct xfrm_sec_ctx *security;
548 struct xfrm_sec_ctx *security;
924 static inline bool xfrm_sec_ctx_match(struct xfrm_sec_ctx *s1, struct xfrm_sec_ctx *s2)
933 static inline bool xfrm_sec_ctx_match(struct xfrm_sec_ctx *s1, struct xfrm_sec_ctx *s2)
1744 struct xfrm_sec_ctx *ctx, int delete,
/linux-master/include/uapi/linux/
H A Dxfrm.h32 struct xfrm_sec_ctx { struct
293 XFRMA_SEC_CTX, /* struct xfrm_sec_ctx */
/linux-master/security/
H A Dsecurity.c5058 int security_xfrm_policy_alloc(struct xfrm_sec_ctx **ctxp,
5076 int security_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx,
5077 struct xfrm_sec_ctx **new_ctxp)
5088 void security_xfrm_policy_free(struct xfrm_sec_ctx *ctx)
5102 int security_xfrm_policy_delete(struct xfrm_sec_ctx *ctx)
5138 struct xfrm_sec_ctx *polsec, u32 secid)
5180 int security_xfrm_policy_lookup(struct xfrm_sec_ctx *ctx, u32 fl_secid)
/linux-master/net/key/
H A Daf_key.c771 struct xfrm_sec_ctx *xfrm_ctx;
2018 struct xfrm_sec_ctx *xfrm_ctx = xp->security;
2071 struct xfrm_sec_ctx *xfrm_ctx;
2370 struct xfrm_sec_ctx *pol_ctx = NULL;
3162 struct xfrm_sec_ctx *xfrm_ctx;
/linux-master/net/xfrm/
H A Dxfrm_user.c588 static inline unsigned int xfrm_user_sec_ctx_size(struct xfrm_sec_ctx *xfrm_ctx)
926 static int copy_sec_ctx(struct xfrm_sec_ctx *s, struct sk_buff *skb)
2319 struct xfrm_sec_ctx *ctx;
2631 struct xfrm_sec_ctx *ctx;
H A Dxfrm_policy.c1643 struct xfrm_sec_ctx *ctx)
1665 struct xfrm_sec_ctx *ctx, int delete, int *err)
4366 struct xfrm_sec_ctx *ctx = xp->security;
H A Dxfrm_state.c1632 static inline int clone_security(struct xfrm_state *x, struct xfrm_sec_ctx *security)
2953 struct xfrm_sec_ctx *ctx = x->security;

Completed in 267 milliseconds