Noteworthy changes in release ?.? (????-??-??)
==============================================
+* Bug fixes
+ * Fixed build on no-MMU architectures.
+
Noteworthy changes in release 5.3 (2019-09-25)
==============================================
# endif
};
-# ifdef ENABLE_COVERAGE_GCOV
+# ifdef HAVE_FORK
+
+# ifdef ENABLE_COVERAGE_GCOV
extern void __gcov_flush(void);
-# endif
+# endif
static void ATTRIBUTE_NORETURN
check_seccomp_order_do_child(void)
perror_func_msg_and_die("PTRACE_TRACEME");
}
-# ifdef ENABLE_COVERAGE_GCOV
+# ifdef ENABLE_COVERAGE_GCOV
__gcov_flush();
-# endif
+# endif
kill(pid, SIGSTOP);
syscall(__NR_gettid);
return pid;
}
+# endif /* HAVE_FORK */
static void
check_seccomp_order(void)
{
seccomp_filtering = false;
+ /* NOMMU provides no forks necessary for the test. */
+# ifdef HAVE_FORK
int pid = fork();
if (pid < 0) {
perror_func_msg("fork");
break;
}
}
+# endif /* HAVE_FORK */
}
static bool
static void
check_seccomp_filter_properties(void)
{
- if (NOMMU_SYSTEM) {
- seccomp_filtering = false;
- return;
- }
-
int rc = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, NULL, 0, 0);
seccomp_filtering = rc < 0 && errno != EINVAL;
if (!seccomp_filtering)