xfrm.h (762f99f4f3cb41a775b5157dd761217beba65873) xfrm.h (4ad37de496425b1d2bc4cd923cf94f3e582d5dea)
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * SELinux support for the XFRM LSM hooks
4 *
5 * Author : Trent Jaeger, <jaegert@us.ibm.com>
6 * Updated : Venkat Yekkirala, <vyekkirala@TrustedCS.com>
7 */
8#ifndef _SELINUX_XFRM_H_
9#define _SELINUX_XFRM_H_
10
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * SELinux support for the XFRM LSM hooks
4 *
5 * Author : Trent Jaeger, <jaegert@us.ibm.com>
6 * Updated : Venkat Yekkirala, <vyekkirala@TrustedCS.com>
7 */
8#ifndef _SELINUX_XFRM_H_
9#define _SELINUX_XFRM_H_
10
11#include <linux/lsm_audit.h>
11#include <net/flow.h>
12#include <net/flow.h>
13#include <net/xfrm.h>
12
13int selinux_xfrm_policy_alloc(struct xfrm_sec_ctx **ctxp,
14 struct xfrm_user_sec_ctx *uctx,
15 gfp_t gfp);
16int selinux_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx,
17 struct xfrm_sec_ctx **new_ctxp);
18void selinux_xfrm_policy_free(struct xfrm_sec_ctx *ctx);
19int selinux_xfrm_policy_delete(struct xfrm_sec_ctx *ctx);

--- 73 unchanged lines hidden ---
14
15int selinux_xfrm_policy_alloc(struct xfrm_sec_ctx **ctxp,
16 struct xfrm_user_sec_ctx *uctx,
17 gfp_t gfp);
18int selinux_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx,
19 struct xfrm_sec_ctx **new_ctxp);
20void selinux_xfrm_policy_free(struct xfrm_sec_ctx *ctx);
21int selinux_xfrm_policy_delete(struct xfrm_sec_ctx *ctx);

--- 73 unchanged lines hidden ---