* tests/add_key.c: Include "scno.h" after <asm/unistd.h>.
* tests/copy_file_range.c: Likewise.
* tests/execveat.c: Likewise.
* tests/kexec_file_load.c: Likewise.
* tests/membarrier.c: Likewise.
* tests/memfd_create.c: Likewise.
* tests/mlock2.c: Likewise.
* tests/pkey_alloc.c: Likewise.
* tests/pkey_free.c: Likewise.
* tests/pkey_mprotect.c: Likewise.
* tests/preadv2-pwritev2.c: Likewise.
* tests/userfaultfd.c: Likewise.
12 files changed:
*/
#include "tests.h"
-
#include <asm/unistd.h>
+#include "scno.h"
#ifdef __NR_add_key
#include "tests.h"
#include <asm/unistd.h>
+#include "scno.h"
#if defined __NR_copy_file_range
*/
#include "tests.h"
-#include <stdio.h>
-#include <unistd.h>
#include <asm/unistd.h>
+#include "scno.h"
#ifdef __NR_execveat
+# include <stdio.h>
+# include <unistd.h>
+
# define FILENAME "test.execveat\nfilename"
# define Q_FILENAME "test.execveat\\nfilename"
*/
#include "tests.h"
-
#include <asm/unistd.h>
+#include "scno.h"
#ifdef __NR_kexec_file_load
#include "tests.h"
#include <asm/unistd.h>
+#include "scno.h"
#ifdef __NR_membarrier
#include "tests.h"
#include <asm/unistd.h>
+#include "scno.h"
#ifdef __NR_memfd_create
#include "tests.h"
#include <asm/unistd.h>
+#include "scno.h"
#ifdef __NR_mlock2
*/
#include "tests.h"
-
#include <asm/unistd.h>
+#include "scno.h"
-#if defined __NR_pkey_alloc
+#ifdef __NR_pkey_alloc
# include <stdio.h>
# include <unistd.h>
*/
#include "tests.h"
-
#include <asm/unistd.h>
+#include "scno.h"
-#if defined __NR_pkey_free
+#ifdef __NR_pkey_free
# include <stdio.h>
# include <unistd.h>
*/
#include "tests.h"
-
#include <asm/unistd.h>
+#include "scno.h"
-#if defined __NR_pkey_mprotect
+#ifdef __NR_pkey_mprotect
# include <stdio.h>
# include <unistd.h>
-
-#include <sys/mman.h>
+# include <sys/mman.h>
const char *
sprintptr(kernel_ulong_t ptr)
#include "tests.h"
#include <asm/unistd.h>
+#include "scno.h"
#if defined __NR_preadv2 && defined __NR_pwritev2
#include "tests.h"
#include <fcntl.h>
#include <asm/unistd.h>
+#include "scno.h"
#if defined __NR_userfaultfd && defined O_CLOEXEC