sessiond: enforce user-exclusive session access in session_access_ok
[lttng-tools.git] / src / bin / lttng-sessiond / cmd.c
index b1b22012c2701ff8e8b3c2accf9be27674353786..dc442035a3fe21e6b4c487a1007c9f05d1b38c56 100644 (file)
@@ -3715,7 +3715,7 @@ void cmd_list_lttng_sessions(struct lttng_session *sessions,
                /*
                 * Only list the sessions the user can control.
                 */
                /*
                 * Only list the sessions the user can control.
                 */
-               if (!session_access_ok(session, uid, gid) ||
+               if (!session_access_ok(session, uid) ||
                                session->destroyed) {
                        session_put(session);
                        continue;
                                session->destroyed) {
                        session_put(session);
                        continue;
This page took 0.03214 seconds and 4 git commands to generate.