#ifndef __PLUGINS_KSYMS_H__
#define __PLUGINS_KSYMS_H__
/*
* DO NOT MODIFY.
*
* This file was generated by Kbuild
*/
#ifdef __ASSEMBLER__
#error This header is not meant to be included in asm sources!
#endif
typedef unsigned int gfp_t;
typedef unsigned int slab_flags_t;
enum ksym__gfp_bits {
ksym____GFP_DMA_BIT,
ksym____GFP_HIGHMEM_BIT,
ksym____GFP_DMA32_BIT,
ksym____GFP_MOVABLE_BIT,
ksym____GFP_RECLAIMABLE_BIT,
ksym____GFP_HIGH_BIT,
ksym____GFP_IO_BIT,
ksym____GFP_FS_BIT,
ksym____GFP_ZERO_BIT,
ksym____GFP_UNUSED_BIT,
ksym____GFP_DIRECT_RECLAIM_BIT,
ksym____GFP_KSWAPD_RECLAIM_BIT,
ksym____GFP_WRITE_BIT,
ksym____GFP_NOWARN_BIT,
ksym____GFP_RETRY_MAYFAIL_BIT,
ksym____GFP_NOFAIL_BIT,
ksym____GFP_NORETRY_BIT,
ksym____GFP_MEMALLOC_BIT,
ksym____GFP_COMP_BIT,
ksym____GFP_NOMEMALLOC_BIT,
ksym____GFP_HARDWALL_BIT,
ksym____GFP_THISNODE_BIT,
ksym____GFP_ACCOUNT_BIT,
ksym____GFP_ZEROTAGS_BIT,
ksym____GFP_NOZERO_BIT,
ksym____GFP_LAST_BIT,
ksym____GFP_USERCOPY_BIT = 31,
};
enum ksym_zone_type {
ksym_ZONE_DMA32,
ksym_ZONE_NORMAL,
ksym_ZONE_MOVABLE,
ksym___MAX_NR_ZONES
};
enum ksym__slab_flag_bits {
ksym__SLAB_NO_SANITIZE,
ksym__SLAB_USERCOPY,
ksym__SLAB_RAND_PAD,
ksym__SLAB_MAY_LEAK,
ksym__SLAB_CONSISTENCY_CHECKS,
ksym__SLAB_RED_ZONE,
ksym__SLAB_POISON,
ksym__SLAB_KMALLOC,
ksym__SLAB_HWCACHE_ALIGN,
ksym__SLAB_CACHE_DMA,
ksym__SLAB_CACHE_DMA32,
ksym__SLAB_STORE_USER,
ksym__SLAB_PANIC,
ksym__SLAB_TYPESAFE_BY_RCU,
ksym__SLAB_MEM_SPREAD,
ksym__SLAB_TRACE,
ksym__SLAB_NOLEAKTRACE,
ksym__SLAB_NO_MERGE,
ksym__SLAB_ACCOUNT,
ksym__SLAB_NO_USER_FLAGS,
ksym__SLAB_RECLAIM_ACCOUNT,
ksym__SLAB_OBJECT_POISON,
ksym__SLAB_CMPXCHG_DOUBLE,
ksym__SLAB_FLAGS_LAST_BIT
};
static const struct __plugin_ksyms {
/* General Linux constants */
typeof("6.6.116-grsec-jammy-dirty") ksym_UTS_RELEASE;
#ifdef SRCTREE
typeof(SRCTREE) ksym_SRCTREE;
#endif
#ifdef KBUILD_EXTMOD
typeof(KBUILD_EXTMOD) ksym_KBUILD_EXTMOD;
#endif
#ifdef MODULE
typeof(MODULE) ksym_MODULE;
#endif
typeof(((1UL) << (6))) ksym_SMP_CACHE_BYTES;
typeof("# rap_safe_asm\n\t") ksym_RAP_SAFE_ASM;
/* AUTOSLAB plugin */
#ifdef KBUILD_MODNAME
typeof(KBUILD_MODNAME) ksym_KBUILD_MODNAME;
#endif
#ifdef AUTOSLAB_BASENAME
typeof(AUTOSLAB_BASENAME) ksym_AUTOSLAB_BASENAME;
#endif
enum ksym__gfp_bits ksym____GFP_DIRECT_RECLAIM_BIT;
enum ksym__gfp_bits ksym____GFP_DMA_BIT;
enum ksym__gfp_bits ksym____GFP_DMA32_BIT;
enum ksym__gfp_bits ksym____GFP_HIGHMEM_BIT;
enum ksym__gfp_bits ksym____GFP_MOVABLE_BIT;
enum ksym__gfp_bits ksym____GFP_RECLAIMABLE_BIT;
enum ksym__gfp_bits ksym____GFP_USERCOPY_BIT;
enum ksym__gfp_bits ksym____GFP_ZERO_BIT;
typeof(((((1UL))) << (ksym____GFP_DIRECT_RECLAIM_BIT))) ksym___GFP_DIRECT_RECLAIM;
typeof(((((1UL))) << (ksym____GFP_DMA_BIT))) ksym___GFP_DMA;
typeof(((((1UL))) << (ksym____GFP_DMA32_BIT))) ksym___GFP_DMA32;
typeof(((((1UL))) << (ksym____GFP_HIGHMEM_BIT))) ksym___GFP_HIGHMEM;
typeof(((((1UL))) << (ksym____GFP_MOVABLE_BIT))) ksym___GFP_MOVABLE;
typeof(((((1UL))) << (ksym____GFP_RECLAIMABLE_BIT))) ksym___GFP_RECLAIMABLE;
typeof(0) ksym___GFP_SEALED;
typeof(0) ksym___GFP_HIDDEN;
typeof(((((1UL))) << (ksym____GFP_USERCOPY_BIT))) ksym___GFP_USERCOPY;
enum ksym_zone_type ksym_ZONE_DMA;
enum ksym_zone_type ksym_ZONE_DMA32;
enum ksym_zone_type ksym_ZONE_NORMAL;
enum ksym_zone_type ksym___MAX_NR_ZONES;
typeof(__alignof__(unsigned long long)) ksym_ARCH_KMALLOC_MINALIGN;
typeof((1 << 3)) ksym_KMALLOC_MIN_SIZE;
typeof((1UL << (10U + 12))) ksym_KMALLOC_MAX_SIZE;
typeof((1UL << (12 + 1))) ksym_KMALLOC_MAX_CACHE_SIZE;
typeof((10U + 12)) ksym_KMALLOC_SHIFT_MAX;
enum ksym__slab_flag_bits ksym__SLAB_CACHE_DMA;
enum ksym__slab_flag_bits ksym__SLAB_CACHE_DMA32;
enum ksym__slab_flag_bits ksym__SLAB_RECLAIM_ACCOUNT;
enum ksym__slab_flag_bits ksym__SLAB_SEALED;
enum ksym__slab_flag_bits ksym__SLAB_USERCOPY;
typeof(((slab_flags_t )(1U << (ksym__SLAB_CACHE_DMA)))) ksym_SLAB_CACHE_DMA;
typeof(((slab_flags_t )(1U << (ksym__SLAB_CACHE_DMA32)))) ksym_SLAB_CACHE_DMA32;
typeof(((slab_flags_t )(1U << (ksym__SLAB_RECLAIM_ACCOUNT)))) ksym_SLAB_RECLAIM_ACCOUNT;
typeof(((slab_flags_t )(0U))) ksym_SLAB_SEALED;
typeof(((slab_flags_t )(1U << (ksym__SLAB_USERCOPY)))) ksym_SLAB_USERCOPY;
typeof(((void *)(-4095 -1L))) ksym_ZERO_SIZE_PTR;
typeof(512) ksym_KSYM_NAME_LEN;
typeof((((1UL) << 12) << (2 + 0))) ksym_THREAD_SIZE;
struct autoslab_info ksym_autoslab_info;
struct autoslab_infos ksym_autoslab_infos;
#ifdef CONFIG_PAX_AUTOSLAB_PLUGIN_AUTOSTACK
typeof(convert_autostack) *ksym_convert_autostack;
#endif
#ifdef CONFIG_PAX_AUTOSLAB_PLUGIN_AUTOSTACK
typeof(free_autostack) *ksym_free_autostack;
#endif
typeof(kfree) *ksym_kfree;
typeof(kfree_sensitive) *ksym_kfree_sensitive;
typeof(kmem_cache_create_usercopy_typename_typesize_print) *ksym_kmem_cache_create_usercopy_typename_typesize_print;
/* RAP plugin */
typeof(2048) ksym_ERAPVIOLATION;
typeof((5 + 1 + 2)) ksym_RAP_RET_HASH_OFFSET;
/* nolocal attr */
typeof((((1UL) << 12) - sizeof(struct task_struct *))) ksym_NOLOCALS_SIZE;
typeof(((1UL) << (6))) ksym_NOLOCALS_ALIGN;
#ifdef CONFIG_PAX_PRIVATE_KSTACKS
typeof(alloc_nolocal) *ksym_alloc_nolocal;
#endif
#ifdef CONFIG_PAX_PRIVATE_KSTACKS
typeof(free_nolocal) *ksym_free_nolocal;
#endif
/* SIZE_OVERFLOW plugin */
typeof(report_size_overflow) *ksym_report_size_overflow;
/* STACKLEAK plugin */
typeof((2 * ((1UL) << (6)))) ksym_STACKLEAK_SEARCH_DEPTH;
typeof(pax_track_stack) *ksym_pax_track_stack;
/* CONSTIFY plugin */
typeof(pax_open_kernel) *ksym_pax_open_kernel;
typeof(pax_close_kernel) *ksym_pax_close_kernel;
/* LATENT_ENTROPY plugin */
typeof(latent_entropy) *ksym_latent_entropy;
#ifdef RESPECTRE_PLUGIN
typeof(array_index_mask_nospec) *ksym_array_index_mask_nospec;
#endif
#ifdef RESPECTRE_PLUGIN
typeof(array_index_mask_nospec_extra) *ksym_array_index_mask_nospec_extra;
#endif
#ifdef RESPECTRE_PLUGIN
typeof(array_index_mask_nospec_ll) *ksym_array_index_mask_nospec_ll;
#endif
#ifdef RESPECTRE_PLUGIN
typeof(array_index_mask_nospec_extra_ll) *ksym_array_index_mask_nospec_extra_ll;
#endif
#ifdef RESPECTRE_PLUGIN
typeof(array_index_nospec_u8) *ksym_array_index_nospec_u8;
#endif
#ifdef RESPECTRE_PLUGIN
typeof(array_index_nospec_s8) *ksym_array_index_nospec_s8;
#endif
#ifdef RESPECTRE_PLUGIN
typeof(array_index_nospec_u16) *ksym_array_index_nospec_u16;
#endif
#ifdef RESPECTRE_PLUGIN
typeof(array_index_nospec_s16) *ksym_array_index_nospec_s16;
#endif
#ifdef RESPECTRE_PLUGIN
typeof(array_index_nospec_u32) *ksym_array_index_nospec_u32;
#endif
#ifdef RESPECTRE_PLUGIN
typeof(array_index_nospec_s32) *ksym_array_index_nospec_s32;
#endif
#ifdef RESPECTRE_PLUGIN
typeof(array_index_nospec_u64) *ksym_array_index_nospec_u64;
#endif
#ifdef RESPECTRE_PLUGIN
typeof(array_index_nospec_s64) *ksym_array_index_nospec_s64;
#endif
#ifdef RESPECTRE_PLUGIN
typeof(barrier_nospec) *ksym_barrier_nospec;
#endif
#ifdef RESPECTRE_PLUGIN
typeof(barrier_ssb) *ksym_barrier_ssb;
#endif
typeof(__context__) *ksym_context_function;
typeof(__context_error__) *ksym_context_error;
} __plugin_ksyms __attribute__((__unused__)) = {
/* General Linux constants */
.ksym_UTS_RELEASE = "6.6.116-grsec-jammy-dirty",
#ifdef SRCTREE
.ksym_SRCTREE = SRCTREE,
#endif
#ifdef KBUILD_EXTMOD
.ksym_KBUILD_EXTMOD = KBUILD_EXTMOD,
#endif
#ifdef MODULE
.ksym_MODULE = MODULE,
#endif
.ksym_SMP_CACHE_BYTES = ((1UL) << (6)),
.ksym_RAP_SAFE_ASM = "# rap_safe_asm\n\t",
/* AUTOSLAB plugin */
#ifdef KBUILD_MODNAME
.ksym_KBUILD_MODNAME = KBUILD_MODNAME,
#endif
#ifdef AUTOSLAB_BASENAME
.ksym_AUTOSLAB_BASENAME = AUTOSLAB_BASENAME,
#endif
.ksym___GFP_DIRECT_RECLAIM = ((((1UL))) << (ksym____GFP_DIRECT_RECLAIM_BIT)),
.ksym___GFP_DMA = ((((1UL))) << (ksym____GFP_DMA_BIT)),
.ksym___GFP_DMA32 = ((((1UL))) << (ksym____GFP_DMA32_BIT)),
.ksym___GFP_HIGHMEM = ((((1UL))) << (ksym____GFP_HIGHMEM_BIT)),
.ksym___GFP_MOVABLE = ((((1UL))) << (ksym____GFP_MOVABLE_BIT)),
.ksym___GFP_RECLAIMABLE = ((((1UL))) << (ksym____GFP_RECLAIMABLE_BIT)),
.ksym___GFP_SEALED = 0,
.ksym___GFP_HIDDEN = 0,
.ksym___GFP_USERCOPY = ((((1UL))) << (ksym____GFP_USERCOPY_BIT)),
.ksym_ARCH_KMALLOC_MINALIGN = __alignof__(unsigned long long),
.ksym_KMALLOC_MIN_SIZE = (1 << 3),
.ksym_KMALLOC_MAX_SIZE = (1UL << (10U + 12)),
.ksym_KMALLOC_MAX_CACHE_SIZE = (1UL << (12 + 1)),
.ksym_KMALLOC_SHIFT_MAX = (10U + 12),
.ksym_SLAB_CACHE_DMA = ((slab_flags_t )(1U << (ksym__SLAB_CACHE_DMA))),
.ksym_SLAB_CACHE_DMA32 = ((slab_flags_t )(1U << (ksym__SLAB_CACHE_DMA32))),
.ksym_SLAB_RECLAIM_ACCOUNT = ((slab_flags_t )(1U << (ksym__SLAB_RECLAIM_ACCOUNT))),
.ksym_SLAB_SEALED = ((slab_flags_t )(0U)),
.ksym_SLAB_USERCOPY = ((slab_flags_t )(1U << (ksym__SLAB_USERCOPY))),
.ksym_ZERO_SIZE_PTR = ((void *)(-4095 -1L)),
.ksym_KSYM_NAME_LEN = 512,
.ksym_THREAD_SIZE = (((1UL) << 12) << (2 + 0)),
#ifdef CONFIG_PAX_AUTOSLAB_PLUGIN_AUTOSTACK
.ksym_convert_autostack = &convert_autostack,
#endif
#ifdef CONFIG_PAX_AUTOSLAB_PLUGIN_AUTOSTACK
.ksym_free_autostack = &free_autostack,
#endif
.ksym_kfree = &kfree,
.ksym_kfree_sensitive = &kfree_sensitive,
.ksym_kmem_cache_create_usercopy_typename_typesize_print = &kmem_cache_create_usercopy_typename_typesize_print,
/* RAP plugin */
.ksym_ERAPVIOLATION = 2048,
.ksym_RAP_RET_HASH_OFFSET = (5 + 1 + 2),
/* nolocal attr */
.ksym_NOLOCALS_SIZE = (((1UL) << 12) - sizeof(struct task_struct *)),
.ksym_NOLOCALS_ALIGN = ((1UL) << (6)),
#ifdef CONFIG_PAX_PRIVATE_KSTACKS
.ksym_alloc_nolocal = &alloc_nolocal,
#endif
#ifdef CONFIG_PAX_PRIVATE_KSTACKS
.ksym_free_nolocal = &free_nolocal,
#endif
/* SIZE_OVERFLOW plugin */
.ksym_report_size_overflow = &report_size_overflow,
/* STACKLEAK plugin */
.ksym_STACKLEAK_SEARCH_DEPTH = (2 * ((1UL) << (6))),
.ksym_pax_track_stack = &pax_track_stack,
/* CONSTIFY plugin */
.ksym_pax_open_kernel = &pax_open_kernel,
.ksym_pax_close_kernel = &pax_close_kernel,
/* LATENT_ENTROPY plugin */
.ksym_latent_entropy = &latent_entropy,
#ifdef RESPECTRE_PLUGIN
.ksym_array_index_mask_nospec = &array_index_mask_nospec,
#endif
#ifdef RESPECTRE_PLUGIN
.ksym_array_index_mask_nospec_extra = &array_index_mask_nospec_extra,
#endif
#ifdef RESPECTRE_PLUGIN
.ksym_array_index_mask_nospec_ll = &array_index_mask_nospec_ll,
#endif
#ifdef RESPECTRE_PLUGIN
.ksym_array_index_mask_nospec_extra_ll = &array_index_mask_nospec_extra_ll,
#endif
#ifdef RESPECTRE_PLUGIN
.ksym_array_index_nospec_u8 = &array_index_nospec_u8,
#endif
#ifdef RESPECTRE_PLUGIN
.ksym_array_index_nospec_s8 = &array_index_nospec_s8,
#endif
#ifdef RESPECTRE_PLUGIN
.ksym_array_index_nospec_u16 = &array_index_nospec_u16,
#endif
#ifdef RESPECTRE_PLUGIN
.ksym_array_index_nospec_s16 = &array_index_nospec_s16,
#endif
#ifdef RESPECTRE_PLUGIN
.ksym_array_index_nospec_u32 = &array_index_nospec_u32,
#endif
#ifdef RESPECTRE_PLUGIN
.ksym_array_index_nospec_s32 = &array_index_nospec_s32,
#endif
#ifdef RESPECTRE_PLUGIN
.ksym_array_index_nospec_u64 = &array_index_nospec_u64,
#endif
#ifdef RESPECTRE_PLUGIN
.ksym_array_index_nospec_s64 = &array_index_nospec_s64,
#endif
#ifdef RESPECTRE_PLUGIN
.ksym_barrier_nospec = &barrier_nospec,
#endif
#ifdef RESPECTRE_PLUGIN
.ksym_barrier_ssb = &barrier_ssb,
#endif
.ksym_context_function = &__context__,
.ksym_context_error = &__context_error__,
};
#endif