From 35ca59732221619f0e565d92f946b82fe1a4309b Mon Sep 17 00:00:00 2001 From: Cynthia Revstrom Date: Sat, 22 Dec 2018 19:23:43 +0100 Subject: Initial commit --- taint_flags.h | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 taint_flags.h (limited to 'taint_flags.h') diff --git a/taint_flags.h b/taint_flags.h new file mode 100644 index 0000000..db81ca5 --- /dev/null +++ b/taint_flags.h @@ -0,0 +1,35 @@ +/* + * + * This is a part of taint-info. + * Copyright (C) 2018 Cynthia Revstrom + * + * taint-info is licensed under the MIT License. + * For a full license please refer to the LICENSE file in the root of the taint-info repository. + * + * The taint flag info in this file is from the Linux kernel documentation, available at: https://www.kernel.org/doc/Documentation/sysctl/kernel.txt + * + */ + +#ifndef __TAINT_INFO_FLAGS_H +#define __TAINT_INFO_FLAGS_H + +#define TAINT_NON_GPL 1 +#define TAINT_FORCE_LOAD 2 +#define TAINT_UNSAFE_SMP 4 +#define TAINT_FORCE_UNLOAD 8 +#define TAINT_HW_CHECK_ERR 16 +#define TAINT_BAD_PAGE 32 +#define TAINT_MARK_TAINT 64 +#define TAINT_SYSTEM_DIED 128 +#define TAINT_ACPI_DSDT_OVERRIDE 256 +#define TAINT_KERNEL_WARN 512 +#define TAINT_MOD_STAGING 1024 +#define TAINT_SYS_FW_BUG 2048 +#define TAINT_OOT_MOD 4096 +#define TAINT_UNSIGNED 8192 +#define TAINT_SOFT_LOCKUP 16384 +#define TAINT_LIVE_PATCHED 32768 +#define TAINT_AUX 65536 +#define TAINT_STRUCT_RANDOM 131072 + +#endif -- cgit v1.2.3