Fix: allow racy tracepoint string input from kernel and userspace
[lttng-modules.git] / lttng-events.h
index aeb2a6b25631242f76b81cf7ffb698a93ae9cee3..e1de1af8974da959230ab8f1920d92f290f2a23b 100644 (file)
@@ -236,6 +236,10 @@ struct lttng_channel_ops {
                                      const void *src, size_t len);
        void (*event_memset)(struct lib_ring_buffer_ctx *ctx,
                             int c, size_t len);
+       void (*event_strcpy)(struct lib_ring_buffer_ctx *ctx, const char *src,
+                            size_t len);
+       void (*event_strcpy_from_user)(struct lib_ring_buffer_ctx *ctx,
+                                      const char __user *src, size_t len);
        /*
         * packet_avail_size returns the available size in the current
         * packet. Note that the size returned is only a hint, since it
This page took 0.023237 seconds and 4 git commands to generate.