X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fsession.h;h=d49cf430ac627379459911928f4dc40d63add329;hb=d88aee689d5bd0067f362a323cb69c37717df59f;hp=b90e8f4677f8530227825e3671639cf1b3bf0547;hpb=a4b92340642035d1eafeb1eead0ad01f64d2007d;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/session.h b/src/bin/lttng-sessiond/session.h index b90e8f467..d49cf430a 100644 --- a/src/bin/lttng-sessiond/session.h +++ b/src/bin/lttng-sessiond/session.h @@ -83,8 +83,8 @@ struct ltt_session { */ struct consumer_output *consumer; - /* Indicates whether or not we have to spawn consumer(s) */ - unsigned int start_consumer; + /* Did a start command occured before the kern/ust session creation? */ + unsigned int started; }; /* Prototypes */ @@ -99,4 +99,6 @@ void session_unlock_list(void); struct ltt_session *session_find_by_name(char *name); struct ltt_session_list *session_get_list(void); +int session_access_ok(struct ltt_session *session, uid_t uid, gid_t gid); + #endif /* _LTT_SESSION_H */