cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

test_subskeleton_lib2.c (336B)


      1// SPDX-License-Identifier: GPL-2.0
      2/* Copyright (c) Meta Platforms, Inc. and affiliates. */
      3
      4#include <linux/bpf.h>
      5#include <bpf/bpf_helpers.h>
      6
      7int var6 = 6;
      8
      9struct {
     10	__uint(type, BPF_MAP_TYPE_HASH);
     11	__type(key, __u32);
     12	__type(value, __u32);
     13	__uint(max_entries, 16);
     14} map2 SEC(".maps");
     15
     16char LICENSE[] SEC("license") = "GPL";