Add TODOs for session daemon
[lttng-tools.git] / ltt-sessiond / main.c
index cbd6a3f3f6a7469ddc2be72fb5b313555bf37989..e7ad6f9b140e1c48f05f2befcda5d73fc1ce2803 100644 (file)
@@ -634,6 +634,7 @@ static int create_trace_dir(struct ltt_kernel_session *session)
        /* Create all channel directories */
        cds_list_for_each_entry(chan, &session->channel_list.head, list) {
                DBG("Creating trace directory at %s", chan->pathname);
+               // TODO: recursive create dir
                ret = mkdir(chan->pathname, S_IRWXU | S_IRWXG );
                if (ret < 0) {
                        perror("mkdir trace path");
@@ -1197,6 +1198,8 @@ static void *thread_manage_clients(void *data)
                        continue;
                }
 
+               // TODO: Validate cmd_ctx including sanity check for security purpose.
+
                /*
                 * This function dispatch the work to the kernel or userspace tracer
                 * libs and fill the lttcomm_lttng_msg data structure of all the needed
This page took 0.022445 seconds and 4 git commands to generate.