exec_target.c 253 B

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