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

exec_target.c (253B)


      1// SPDX-License-Identifier: GPL-2.0+
      2
      3/*
      4 * Part of fork context switch microbenchmark.
      5 *
      6 * Copyright 2018, Anton Blanchard, IBM Corp.
      7 */
      8
      9#define _GNU_SOURCE
     10#include <unistd.h>
     11#include <sys/syscall.h>
     12
     13void _start(void)
     14{
     15	syscall(SYS_exit, 0);
     16}