(root)/
strace-6.5/
tests/
prctl_marker.c
       1  /*
       2   * Invoke a prctl syscall with very specific arguments for use as a marker.
       3   *
       4   * Copyright (c) 2021 Dmitry V. Levin <ldv@strace.io>
       5   * All rights reserved.
       6   *
       7   * SPDX-License-Identifier: GPL-2.0-or-later
       8   */
       9  
      10  #include "tests.h"
      11  #include "scno.h"
      12  #include <unistd.h>
      13  
      14  long
      15  prctl_marker(void)
      16  {
      17  	return syscall(__NR_prctl, -1U,
      18  				   (unsigned long) -2U,
      19  				   (unsigned long) -3U,
      20  				   (unsigned long) -4U,
      21  				   (unsigned long) -5U);
      22  }