2019-05-29 07:18:00 -07:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2017-07-10 18:07:09 -07:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2012 Regents of the University of California
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define __ARCH_WANT_SYS_CLONE
|
2018-11-08 12:02:39 -07:00
|
|
|
|
2022-04-05 00:13:05 -07:00
|
|
|
#ifdef CONFIG_COMPAT
|
|
|
|
#define __ARCH_WANT_COMPAT_TRUNCATE64
|
|
|
|
#define __ARCH_WANT_COMPAT_FTRUNCATE64
|
|
|
|
#define __ARCH_WANT_COMPAT_FALLOCATE
|
|
|
|
#define __ARCH_WANT_COMPAT_PREAD64
|
|
|
|
#define __ARCH_WANT_COMPAT_PWRITE64
|
|
|
|
#define __ARCH_WANT_COMPAT_SYNC_FILE_RANGE
|
|
|
|
#define __ARCH_WANT_COMPAT_READAHEAD
|
|
|
|
#define __ARCH_WANT_COMPAT_FADVISE64_64
|
|
|
|
#endif
|
|
|
|
|
2024-04-24 00:14:39 -07:00
|
|
|
#if defined(__LP64__) && !defined(__SYSCALL_COMPAT)
|
|
|
|
#define __ARCH_WANT_NEW_STAT
|
|
|
|
#define __ARCH_WANT_SET_GET_RLIMIT
|
|
|
|
#endif /* __LP64__ */
|
|
|
|
|
|
|
|
#define __ARCH_WANT_MEMFD_SECRET
|
|
|
|
|
|
|
|
|
2017-07-10 18:07:09 -07:00
|
|
|
#include <uapi/asm/unistd.h>
|
2018-12-10 13:43:54 -07:00
|
|
|
|
|
|
|
#define NR_syscalls (__NR_syscalls)
|