Re: [lttng-dev] Problem with application changing UID

2019-09-24 Thread Jonathan Rajotte-Julien
On Tue, Sep 24, 2019 at 02:32:41PM +, Kramer, Zach wrote: > Hi, > > Is LTTng intended to support userspace applications that change their UID at > run-time? As in, is there an expected behavior for when this happens? > > For example: > > 1. Embedded device boots > 2. My daemon is laun

Re: [lttng-dev] Problem with application changing UID

2019-09-24 Thread Jonathan Rajotte-Julien
Hi Zach, Thanks for reaching out. lttng-ust does not support the change of uid once the application is registered to the lttng-sessiond daemon. I think that we use the uid received on registration for all subsequent operations. Gabriel Pollo-Guilbert actually worked on this this summer. You can

[lttng-dev] Problem with application changing UID

2019-09-24 Thread Kramer, Zach
Hi, Is LTTng intended to support userspace applications that change their UID at run-time? As in, is there an expected behavior for when this happens? For example: 1. Embedded device boots 2. My daemon is launched as root via systemd 3. Runs privileged code 4. Changes UID to a less