SoW-2019-0002: Dynamic Snapshot
[lttng-tools.git] / src / bin / lttng-sessiond / rotate.c
index e2a3ef9eaac221ef97cc611004db602d7af347f0..6813ce8c27d502a1d91b1a4e68cd9d12a6d2af1c 100644 (file)
@@ -88,6 +88,9 @@ int subscribe_session_consumed_size_rotation(struct ltt_session *session, uint64
                goto end;
        }
 
+       lttng_trigger_set_credentials(
+                       session->rotate_trigger, session->uid, session->gid);
+
        nc_status = lttng_notification_channel_subscribe(
                        rotate_notification_channel, session->rotate_condition);
        if (nc_status != LTTNG_NOTIFICATION_CHANNEL_STATUS_OK) {
This page took 0.023241 seconds and 5 git commands to generate.