Fix: allow racy tracepoint string input from kernel and userspace
[lttng-modules.git] / lttng-events.h
index 6b39304f8d114e92387308cac22d74c72e0f5a98..037467da655dcfe06cb477e7ad27b99696995286 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.024822 seconds and 4 git commands to generate.