(root)/
strace-6.5/
tests-m32/
stat.c
       1  /*
       2   * Copyright (c) 2015-2016 Dmitry V. Levin <ldv@strace.io>
       3   * Copyright (c) 2015-2021 The strace developers.
       4   * All rights reserved.
       5   *
       6   * SPDX-License-Identifier: GPL-2.0-or-later
       7   */
       8  
       9  #include "tests.h"
      10  #include "scno.h"
      11  
      12  #ifdef __NR_stat
      13  
      14  # define TEST_SYSCALL_NR __NR_stat
      15  # define TEST_SYSCALL_STR "stat"
      16  # define SAMPLE_SIZE ((libc_off_t) (kernel_ulong_t) 43147718418ULL)
      17  # include "lstatx.c"
      18  
      19  #else
      20  
      21  SKIP_MAIN_UNDEFINED("__NR_stat")
      22  
      23  #endif