Use lttng_credentials instead of bespoke uid/gid members in ua_sess
[lttng-tools.git] / src / bin / lttng-sessiond / ust-consumer.c
index c39a87fba7895da17d663bee882c85c480e7f4d3..5207bfa74f740200d10dcaa50a6c5d6c98710069 100644 (file)
@@ -214,10 +214,11 @@ static int ask_channel_creation(struct ust_app_session *ua_sess,
                        ua_chan->tracefile_count,
                        ua_sess->id,
                        ua_sess->output_traces,
-                       ua_sess->uid,
+                       ua_sess->real_credentials.uid,
                        ua_chan->attr.blocking_timeout,
                        root_shm_path, shm_path,
-                       trace_chunk);
+                       trace_chunk,
+                       &ua_sess->effective_credentials);
 
        health_code_update();
 
This page took 0.023098 seconds and 4 git commands to generate.