Home
last modified time | relevance | path

Searched refs:xfrm_sec_ctx (Results 1 – 14 of 14) sorted by relevance

/OK3568_Linux_fs/kernel/security/selinux/
H A Dxfrm.c55 static inline int selinux_authorizable_ctx(struct xfrm_sec_ctx *ctx) in selinux_authorizable_ctx()
74 static int selinux_xfrm_alloc_user(struct xfrm_sec_ctx **ctxp, in selinux_xfrm_alloc_user()
80 struct xfrm_sec_ctx *ctx = NULL; in selinux_xfrm_alloc_user()
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()
239 struct xfrm_sec_ctx *ctx = x->security; in selinux_xfrm_skb_sid_ingress()
285 int selinux_xfrm_policy_alloc(struct xfrm_sec_ctx **ctxp, in selinux_xfrm_policy_alloc()
296 int selinux_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx, in selinux_xfrm_policy_clone()
297 struct xfrm_sec_ctx **new_ctxp) in selinux_xfrm_policy_clone()
[all …]
/OK3568_Linux_fs/kernel/security/selinux/include/
H A Dxfrm.h13 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);
/OK3568_Linux_fs/kernel/include/linux/
H A Dsecurity.h55 struct xfrm_sec_ctx;
1647 int security_xfrm_policy_alloc(struct xfrm_sec_ctx **ctxp,
1649 int security_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx, struct xfrm_sec_ctx **new_ctxp);
1650 void security_xfrm_policy_free(struct xfrm_sec_ctx *ctx);
1651 int security_xfrm_policy_delete(struct xfrm_sec_ctx *ctx);
1654 struct xfrm_sec_ctx *polsec, u32 secid);
1657 int security_xfrm_policy_lookup(struct xfrm_sec_ctx *ctx, u32 fl_secid, u8 dir);
1666 static inline int security_xfrm_policy_alloc(struct xfrm_sec_ctx **ctxp, in security_xfrm_policy_alloc()
1673 static inline int security_xfrm_policy_clone(struct xfrm_sec_ctx *old, struct xfrm_sec_ctx **new_ct… in security_xfrm_policy_clone()
1678 static inline void security_xfrm_policy_free(struct xfrm_sec_ctx *ctx) in security_xfrm_policy_free()
[all …]
H A Dlsm_hook_defs.h340 LSM_HOOK(int, 0, xfrm_policy_alloc_security, struct xfrm_sec_ctx **ctxp,
342 LSM_HOOK(int, 0, xfrm_policy_clone_security, struct xfrm_sec_ctx *old_ctx,
343 struct xfrm_sec_ctx **new_ctx)
345 struct xfrm_sec_ctx *ctx)
346 LSM_HOOK(int, 0, xfrm_policy_delete_security, struct xfrm_sec_ctx *ctx)
350 struct xfrm_sec_ctx *polsec, u32 secid)
353 LSM_HOOK(int, 0, xfrm_policy_lookup, struct xfrm_sec_ctx *ctx, u32 fl_secid,
/OK3568_Linux_fs/kernel/include/net/
H A Dxfrm.h258 struct xfrm_sec_ctx *security;
525 struct xfrm_sec_ctx *security;
899 static inline bool xfrm_sec_ctx_match(struct xfrm_sec_ctx *s1, struct xfrm_sec_ctx *s2) in xfrm_sec_ctx_match()
908 static inline bool xfrm_sec_ctx_match(struct xfrm_sec_ctx *s1, struct xfrm_sec_ctx *s2) in xfrm_sec_ctx_match()
1641 struct xfrm_sec_ctx *ctx, int delete,
/OK3568_Linux_fs/kernel/security/
H A Dsecurity.c2343 int security_xfrm_policy_alloc(struct xfrm_sec_ctx **ctxp, in security_xfrm_policy_alloc()
2351 int security_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx, in security_xfrm_policy_clone()
2352 struct xfrm_sec_ctx **new_ctxp) in security_xfrm_policy_clone()
2357 void security_xfrm_policy_free(struct xfrm_sec_ctx *ctx) in security_xfrm_policy_free()
2363 int security_xfrm_policy_delete(struct xfrm_sec_ctx *ctx) in security_xfrm_policy_delete()
2376 struct xfrm_sec_ctx *polsec, u32 secid) in security_xfrm_state_alloc_acquire()
2392 int security_xfrm_policy_lookup(struct xfrm_sec_ctx *ctx, u32 fl_secid, u8 dir) in security_xfrm_policy_lookup()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dxfrm.h31 struct xfrm_sec_ctx { struct
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dxfrm.h31 struct xfrm_sec_ctx { struct
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dxfrm.h31 struct xfrm_sec_ctx { struct
/OK3568_Linux_fs/kernel/net/xfrm/
H A Dxfrm_user.c483 static inline unsigned int xfrm_user_sec_ctx_size(struct xfrm_sec_ctx *xfrm_ctx) in xfrm_user_sec_ctx_size()
813 static int copy_sec_ctx(struct xfrm_sec_ctx *s, struct sk_buff *skb) in copy_sec_ctx()
1938 struct xfrm_sec_ctx *ctx; in xfrm_get_policy()
2240 struct xfrm_sec_ctx *ctx; in xfrm_add_pol_expire()
2627 [XFRMA_SEC_CTX] = { .len = sizeof(struct xfrm_sec_ctx) },
H A Dxfrm_compat.c110 [XFRMA_SEC_CTX] = { .len = sizeof(struct xfrm_sec_ctx) },
H A Dxfrm_policy.c1627 struct xfrm_sec_ctx *ctx) in __xfrm_policy_bysel_ctx()
1649 struct xfrm_sec_ctx *ctx, int delete, int *err) in xfrm_policy_bysel_ctx()
4215 struct xfrm_sec_ctx *ctx = xp->security; in xfrm_audit_common_policyinfo()
H A Dxfrm_state.c1448 static inline int clone_security(struct xfrm_state *x, struct xfrm_sec_ctx *security) in clone_security()
2713 struct xfrm_sec_ctx *ctx = x->security; in xfrm_audit_helper_sainfo()
/OK3568_Linux_fs/kernel/net/key/
H A Daf_key.c775 struct xfrm_sec_ctx *xfrm_ctx; in __pfkey_xfrm_state2msg()
2019 struct xfrm_sec_ctx *xfrm_ctx = xp->security; in pfkey_xfrm_policy2sec_ctx_size()
2072 struct xfrm_sec_ctx *xfrm_ctx; in pfkey_xfrm_policy2msg()
2371 struct xfrm_sec_ctx *pol_ctx = NULL; in pfkey_spddelete()
3163 struct xfrm_sec_ctx *xfrm_ctx; in pfkey_send_acquire()