forked from falcosecurity/libs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
driver_config.h.in
34 lines (23 loc) · 1012 Bytes
/
driver_config.h.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// SPDX-License-Identifier: GPL-2.0-only OR MIT
/*
Copyright (C) 2023 The Falco Authors.
This file is dual licensed under either the MIT or GPL 2. See MIT.txt
or GPL2.txt for full copies of the license.
*/
#pragma once
/* taken from driver/API_VERSION */
#define PPM_API_CURRENT_VERSION_MAJOR ${PPM_API_CURRENT_VERSION_MAJOR}
#define PPM_API_CURRENT_VERSION_MINOR ${PPM_API_CURRENT_VERSION_MINOR}
#define PPM_API_CURRENT_VERSION_PATCH ${PPM_API_CURRENT_VERSION_PATCH}
/* taken from driver/SCHEMA_VERSION */
#define PPM_SCHEMA_CURRENT_VERSION_MAJOR ${PPM_SCHEMA_CURRENT_VERSION_MAJOR}
#define PPM_SCHEMA_CURRENT_VERSION_MINOR ${PPM_SCHEMA_CURRENT_VERSION_MINOR}
#define PPM_SCHEMA_CURRENT_VERSION_PATCH ${PPM_SCHEMA_CURRENT_VERSION_PATCH}
#include "ppm_api_version.h"
#define DRIVER_VERSION "${DRIVER_VERSION}"
#define DRIVER_NAME "${DRIVER_NAME}"
#define DRIVER_DEVICE_NAME "${DRIVER_DEVICE_NAME}"
#define DRIVER_COMMIT "${GIT_COMMIT}"
#ifndef KBUILD_MODNAME
#define KBUILD_MODNAME DRIVER_NAME
#endif