Author: markj
Date: Fri Feb 28 17:23:53 2020
New Revision: 358436
URL: https://svnweb.freebsd.org/changeset/base/358436
Log:
sy_call_t and systrace_args_func_t need to be visible to userspace.
Reported by: Jenkins
Modified:
head/sys/sys/sysent.h
Modified: head/sys/sys/sysent.h
==============================================================================
--- head/sys/sys/sysent.h Fri Feb 28 17:05:27 2020 (r358435)
+++ head/sys/sys/sysent.h Fri Feb 28 17:23:53 2020 (r358436)
@@ -42,7 +42,6 @@ struct thread;
struct ksiginfo;
struct syscall_args;
-#ifdef _KERNEL
enum systrace_probe_t {
SYSTRACE_ENTRY,
SYSTRACE_RETURN,
@@ -57,6 +56,7 @@ typedef void (*systrace_args_func_t)(int, void *,
uint
extern systrace_probe_func_t systrace_probe_func;
extern bool systrace_enabled;
+#ifdef _KERNEL
#ifdef KDTRACE_HOOKS
#define SYSTRACE_ENABLED() (systrace_enabled)
#else
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"