====== Cleaning ====== ../../../scripts/Makefile.include:4: *** O=build_tools/ does not exist. Stop. make[1]: *** nsfs: No such file or directory. Stop. ====== Baseline building the tree ====== mount_setattr_test.c:176:19: error: redefinition of ‘sys_open_tree’ 176 | static inline int sys_open_tree(int dfd, const char *filename, unsigned int flags) | ^~~~~~~~~~~~~ In file included from mount_setattr_test.c:23: ../filesystems/overlayfs/wrappers.h:59:19: note: previous definition of ‘sys_open_tree’ with type ‘int(int, const char *, unsigned int)’ 59 | static inline int sys_open_tree(int dfd, const char *filename, unsigned int flags) | ^~~~~~~~~~~~~ make[1]: *** [../lib.mk:222: /home/nipa/net/wt-0/build_tools/kselftest/mount_setattr/mount_setattr_test] Error 1 make[1]: *** nsfs: No such file or directory. Stop. pid_max.c: In function ‘pid_max_cb’: pid_max.c:42:15: error: implicit declaration of function ‘mount’ [-Wimplicit-function-declaration] 42 | ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); | ^~~~~ pid_max.c:42:36: error: ‘MS_PRIVATE’ undeclared (first use in this function); did you mean ‘MAP_PRIVATE’? 42 | ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); | ^~~~~~~~~~ | MAP_PRIVATE pid_max.c:42:36: note: each undeclared identifier is reported only once for each function it appears in pid_max.c:42:49: error: ‘MS_REC’ undeclared (first use in this function) 42 | ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); | ^~~~~~ pid_max.c:48:9: error: implicit declaration of function ‘umount2’; did you mean ‘SYS_umount2’? [-Wimplicit-function-declaration] 48 | umount2("/proc", MNT_DETACH); | ^~~~~~~ | SYS_umount2 pid_max.c:48:26: error: ‘MNT_DETACH’ undeclared (first use in this function) 48 | umount2("/proc", MNT_DETACH); | ^~~~~~~~~~ pid_max.c: In function ‘pid_max_nested_inner’: pid_max.c:88:36: error: ‘MS_PRIVATE’ undeclared (first use in this function); did you mean ‘MAP_PRIVATE’? 88 | ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); | ^~~~~~~~~~ | MAP_PRIVATE pid_max.c:88:49: error: ‘MS_REC’ undeclared (first use in this function) 88 | ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); | ^~~~~~ pid_max.c:94:26: error: ‘MNT_DETACH’ undeclared (first use in this function) 94 | umount2("/proc", MNT_DETACH); | ^~~~~~~~~~ pid_max.c: In function ‘pid_max_nested_outer’: pid_max.c:163:36: error: ‘MS_PRIVATE’ undeclared (first use in this function); did you mean ‘MAP_PRIVATE’? 163 | ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); | ^~~~~~~~~~ | MAP_PRIVATE pid_max.c:163:49: error: ‘MS_REC’ undeclared (first use in this function) 163 | ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); | ^~~~~~ pid_max.c:169:26: error: ‘MNT_DETACH’ undeclared (first use in this function) 169 | umount2("/proc", MNT_DETACH); | ^~~~~~~~~~ pid_max.c: In function ‘pid_max_nested_limit_inner’: pid_max.c:232:36: error: ‘MS_PRIVATE’ undeclared (first use in this function); did you mean ‘MAP_PRIVATE’? 232 | ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); | ^~~~~~~~~~ | MAP_PRIVATE pid_max.c:232:49: error: ‘MS_REC’ undeclared (first use in this function) 232 | ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); | ^~~~~~ pid_max.c:238:26: error: ‘MNT_DETACH’ undeclared (first use in this function) 238 | umount2("/proc", MNT_DETACH); | ^~~~~~~~~~ pid_max.c: In function ‘pid_max_nested_limit_outer’: pid_max.c:289:36: error: ‘MS_PRIVATE’ undeclared (first use in this function); did you mean ‘MAP_PRIVATE’? 289 | ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); | ^~~~~~~~~~ | MAP_PRIVATE pid_max.c:289:49: error: ‘MS_REC’ undeclared (first use in this function) 289 | ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); | ^~~~~~ pid_max.c:295:26: error: ‘MNT_DETACH’ undeclared (first use in this function) 295 | umount2("/proc", MNT_DETACH); | ^~~~~~~~~~ make[1]: *** [../lib.mk:222: /home/nipa/net/wt-0/build_tools/kselftest/pid_namespace/pid_max] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from kublk.c:6: kublk.h:23:10: fatal error: liburing.h: No such file or directory 23 | #include | ^~~~~~~~~~~~ compilation terminated. In file included from null.c:3: kublk.h:23:10: fatal error: liburing.h: No such file or directory 23 | #include | ^~~~~~~~~~~~ compilation terminated. In file included from file_backed.c:3: kublk.h:23:10: fatal error: liburing.h: No such file or directory 23 | #include | ^~~~~~~~~~~~ compilation terminated. In file included from common.c:3: kublk.h:23:10: fatal error: liburing.h: No such file or directory 23 | #include | ^~~~~~~~~~~~ compilation terminated. In file included from stripe.c:3: kublk.h:23:10: fatal error: liburing.h: No such file or directory 23 | #include | ^~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:222: /home/nipa/net/wt-0/build_tools/kselftest/ublk/kublk] Error 1 ====== Building the tree before the patch ====== mount_setattr_test.c:176:19: error: redefinition of ‘sys_open_tree’ 176 | static inline int sys_open_tree(int dfd, const char *filename, unsigned int flags) | ^~~~~~~~~~~~~ In file included from mount_setattr_test.c:23: ../filesystems/overlayfs/wrappers.h:59:19: note: previous definition of ‘sys_open_tree’ with type ‘int(int, const char *, unsigned int)’ 59 | static inline int sys_open_tree(int dfd, const char *filename, unsigned int flags) | ^~~~~~~~~~~~~ make[1]: *** [../lib.mk:222: /home/nipa/net/wt-0/build_tools/kselftest/mount_setattr/mount_setattr_test] Error 1 make[1]: *** nsfs: No such file or directory. Stop. pid_max.c: In function ‘pid_max_cb’: pid_max.c:42:15: error: implicit declaration of function ‘mount’ [-Wimplicit-function-declaration] 42 | ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); | ^~~~~ pid_max.c:42:36: error: ‘MS_PRIVATE’ undeclared (first use in this function); did you mean ‘MAP_PRIVATE’? 42 | ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); | ^~~~~~~~~~ | MAP_PRIVATE pid_max.c:42:36: note: each undeclared identifier is reported only once for each function it appears in pid_max.c:42:49: error: ‘MS_REC’ undeclared (first use in this function) 42 | ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); | ^~~~~~ pid_max.c:48:9: error: implicit declaration of function ‘umount2’; did you mean ‘SYS_umount2’? [-Wimplicit-function-declaration] 48 | umount2("/proc", MNT_DETACH); | ^~~~~~~ | SYS_umount2 pid_max.c:48:26: error: ‘MNT_DETACH’ undeclared (first use in this function) 48 | umount2("/proc", MNT_DETACH); | ^~~~~~~~~~ pid_max.c: In function ‘pid_max_nested_inner’: pid_max.c:88:36: error: ‘MS_PRIVATE’ undeclared (first use in this function); did you mean ‘MAP_PRIVATE’? 88 | ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); | ^~~~~~~~~~ | MAP_PRIVATE pid_max.c:88:49: error: ‘MS_REC’ undeclared (first use in this function) 88 | ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); | ^~~~~~ pid_max.c:94:26: error: ‘MNT_DETACH’ undeclared (first use in this function) 94 | umount2("/proc", MNT_DETACH); | ^~~~~~~~~~ pid_max.c: In function ‘pid_max_nested_outer’: pid_max.c:163:36: error: ‘MS_PRIVATE’ undeclared (first use in this function); did you mean ‘MAP_PRIVATE’? 163 | ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); | ^~~~~~~~~~ | MAP_PRIVATE pid_max.c:163:49: error: ‘MS_REC’ undeclared (first use in this function) 163 | ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); | ^~~~~~ pid_max.c:169:26: error: ‘MNT_DETACH’ undeclared (first use in this function) 169 | umount2("/proc", MNT_DETACH); | ^~~~~~~~~~ pid_max.c: In function ‘pid_max_nested_limit_inner’: pid_max.c:232:36: error: ‘MS_PRIVATE’ undeclared (first use in this function); did you mean ‘MAP_PRIVATE’? 232 | ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); | ^~~~~~~~~~ | MAP_PRIVATE pid_max.c:232:49: error: ‘MS_REC’ undeclared (first use in this function) 232 | ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); | ^~~~~~ pid_max.c:238:26: error: ‘MNT_DETACH’ undeclared (first use in this function) 238 | umount2("/proc", MNT_DETACH); | ^~~~~~~~~~ pid_max.c: In function ‘pid_max_nested_limit_outer’: pid_max.c:289:36: error: ‘MS_PRIVATE’ undeclared (first use in this function); did you mean ‘MAP_PRIVATE’? 289 | ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); | ^~~~~~~~~~ | MAP_PRIVATE pid_max.c:289:49: error: ‘MS_REC’ undeclared (first use in this function) 289 | ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); | ^~~~~~ pid_max.c:295:26: error: ‘MNT_DETACH’ undeclared (first use in this function) 295 | umount2("/proc", MNT_DETACH); | ^~~~~~~~~~ make[1]: *** [../lib.mk:222: /home/nipa/net/wt-0/build_tools/kselftest/pid_namespace/pid_max] Error 1 In file included from kublk.c:6: kublk.h:23:10: fatal error: liburing.h: No such file or directory 23 | #include | ^~~~~~~~~~~~ compilation terminated. In file included from null.c:3: kublk.h:23:10: fatal error: liburing.h: No such file or directory 23 | #include | ^~~~~~~~~~~~ compilation terminated. In file included from file_backed.c:3: kublk.h:23:10: fatal error: liburing.h: No such file or directory 23 | #include | ^~~~~~~~~~~~ compilation terminated. In file included from common.c:3: kublk.h:23:10: fatal error: liburing.h: No such file or directory 23 | #include | ^~~~~~~~~~~~ compilation terminated. In file included from stripe.c:3: kublk.h:23:10: fatal error: liburing.h: No such file or directory 23 | #include | ^~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:222: /home/nipa/net/wt-0/build_tools/kselftest/ublk/kublk] Error 1 ====== Checking if tree is clean ====== ?? arch/x86/Makefile.orig ====== Building the tree with the patch ====== mount_setattr_test.c:176:19: error: redefinition of ‘sys_open_tree’ 176 | static inline int sys_open_tree(int dfd, const char *filename, unsigned int flags) | ^~~~~~~~~~~~~ In file included from mount_setattr_test.c:23: ../filesystems/overlayfs/wrappers.h:59:19: note: previous definition of ‘sys_open_tree’ with type ‘int(int, const char *, unsigned int)’ 59 | static inline int sys_open_tree(int dfd, const char *filename, unsigned int flags) | ^~~~~~~~~~~~~ make[1]: *** [../lib.mk:222: /home/nipa/net/wt-0/build_tools/kselftest/mount_setattr/mount_setattr_test] Error 1 make[1]: *** nsfs: No such file or directory. Stop. pid_max.c: In function ‘pid_max_cb’: pid_max.c:42:15: error: implicit declaration of function ‘mount’ [-Wimplicit-function-declaration] 42 | ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); | ^~~~~ pid_max.c:42:36: error: ‘MS_PRIVATE’ undeclared (first use in this function); did you mean ‘MAP_PRIVATE’? 42 | ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); | ^~~~~~~~~~ | MAP_PRIVATE pid_max.c:42:36: note: each undeclared identifier is reported only once for each function it appears in pid_max.c:42:49: error: ‘MS_REC’ undeclared (first use in this function) 42 | ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); | ^~~~~~ pid_max.c:48:9: error: implicit declaration of function ‘umount2’; did you mean ‘SYS_umount2’? [-Wimplicit-function-declaration] 48 | umount2("/proc", MNT_DETACH); | ^~~~~~~ | SYS_umount2 pid_max.c:48:26: error: ‘MNT_DETACH’ undeclared (first use in this function) 48 | umount2("/proc", MNT_DETACH); | ^~~~~~~~~~ pid_max.c: In function ‘pid_max_nested_inner’: pid_max.c:88:36: error: ‘MS_PRIVATE’ undeclared (first use in this function); did you mean ‘MAP_PRIVATE’? 88 | ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); | ^~~~~~~~~~ | MAP_PRIVATE pid_max.c:88:49: error: ‘MS_REC’ undeclared (first use in this function) 88 | ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); | ^~~~~~ pid_max.c:94:26: error: ‘MNT_DETACH’ undeclared (first use in this function) 94 | umount2("/proc", MNT_DETACH); | ^~~~~~~~~~ pid_max.c: In function ‘pid_max_nested_outer’: pid_max.c:163:36: error: ‘MS_PRIVATE’ undeclared (first use in this function); did you mean ‘MAP_PRIVATE’? 163 | ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); | ^~~~~~~~~~ | MAP_PRIVATE pid_max.c:163:49: error: ‘MS_REC’ undeclared (first use in this function) 163 | ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); | ^~~~~~ pid_max.c:169:26: error: ‘MNT_DETACH’ undeclared (first use in this function) 169 | umount2("/proc", MNT_DETACH); | ^~~~~~~~~~ pid_max.c: In function ‘pid_max_nested_limit_inner’: pid_max.c:232:36: error: ‘MS_PRIVATE’ undeclared (first use in this function); did you mean ‘MAP_PRIVATE’? 232 | ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); | ^~~~~~~~~~ | MAP_PRIVATE pid_max.c:232:49: error: ‘MS_REC’ undeclared (first use in this function) 232 | ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); | ^~~~~~ pid_max.c:238:26: error: ‘MNT_DETACH’ undeclared (first use in this function) 238 | umount2("/proc", MNT_DETACH); | ^~~~~~~~~~ pid_max.c: In function ‘pid_max_nested_limit_outer’: pid_max.c:289:36: error: ‘MS_PRIVATE’ undeclared (first use in this function); did you mean ‘MAP_PRIVATE’? 289 | ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); | ^~~~~~~~~~ | MAP_PRIVATE pid_max.c:289:49: error: ‘MS_REC’ undeclared (first use in this function) 289 | ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); | ^~~~~~ pid_max.c:295:26: error: ‘MNT_DETACH’ undeclared (first use in this function) 295 | umount2("/proc", MNT_DETACH); | ^~~~~~~~~~ make[1]: *** [../lib.mk:222: /home/nipa/net/wt-0/build_tools/kselftest/pid_namespace/pid_max] Error 1 In file included from kublk.c:6: kublk.h:23:10: fatal error: liburing.h: No such file or directory 23 | #include | ^~~~~~~~~~~~ compilation terminated. In file included from null.c:3: kublk.h:23:10: fatal error: liburing.h: No such file or directory 23 | #include | ^~~~~~~~~~~~ compilation terminated. In file included from file_backed.c:3: kublk.h:23:10: fatal error: liburing.h: No such file or directory 23 | #include | ^~~~~~~~~~~~ compilation terminated. In file included from common.c:3: kublk.h:23:10: fatal error: liburing.h: No such file or directory 23 | #include | ^~~~~~~~~~~~ compilation terminated. In file included from stripe.c:3: kublk.h:23:10: fatal error: liburing.h: No such file or directory 23 | #include | ^~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:222: /home/nipa/net/wt-0/build_tools/kselftest/ublk/kublk] Error 1 ====== Checking if tree is clean ====== ?? arch/x86/Makefile.orig