summaryrefslogtreecommitdiffstats
path: root/runtime/autoconf-probe-kernel.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/autoconf-probe-kernel.c')
-rw-r--r--runtime/autoconf-probe-kernel.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/autoconf-probe-kernel.c b/runtime/autoconf-probe-kernel.c
new file mode 100644
index 00000000..93fbaae6
--- /dev/null
+++ b/runtime/autoconf-probe-kernel.c
@@ -0,0 +1,7 @@
+#include <linux/uaccess.h>
+
+void probe_kernel(void *dst, void *src, size_t size)
+{
+ (void)probe_kernel_read(dst, src, size);
+ (void)probe_kernel_write(dst, src, size);
+}