(root)/
strace-6.5/
tests-mx32/
chown.c
       1  /*
       2   * Copyright (c) 2016-2019 The strace developers.
       3   * All rights reserved.
       4   *
       5   * SPDX-License-Identifier: GPL-2.0-or-later
       6   */
       7  
       8  #include "tests.h"
       9  #include "scno.h"
      10  
      11  #ifdef __NR_chown
      12  
      13  # define SYSCALL_NR __NR_chown
      14  # define SYSCALL_NAME "chown"
      15  
      16  # if defined __NR_chown32 && __NR_chown != __NR_chown32
      17  #  define UGID_TYPE_IS_SHORT
      18  # endif
      19  
      20  # include "xchownx.c"
      21  
      22  #else
      23  
      24  SKIP_MAIN_UNDEFINED("__NR_chown")
      25  
      26  #endif