(root)/
strace-6.5/
tests-m32/
fchown.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_fchown
      12  
      13  # define SYSCALL_NR __NR_fchown
      14  # define SYSCALL_NAME "fchown"
      15  # define ACCESS_BY_DESCRIPTOR
      16  
      17  # if defined __NR_fchown32 && __NR_fchown != __NR_fchown32
      18  #  define UGID_TYPE_IS_SHORT
      19  # endif
      20  
      21  # include "xchownx.c"
      22  
      23  #else
      24  
      25  SKIP_MAIN_UNDEFINED("__NR_fchown")
      26  
      27  #endif