Re: [lttng-dev] [lttng-ust RFC] Add setuid wrapper for per-UID buffers

2019-05-21 Thread Mathieu Desnoyers
- On May 21, 2019, at 2:01 PM, Gabriel-Andrew Pollo-Guilbert gabriel.pollo-guilb...@efficios.com wrote: > In case of a per-UID buffers, events following a setuid() call should be a per-UID buffers -> per-UID buffer > fowarded to buffers of the new UID. In order to do so, we add a wrapper ar

Re: [lttng-dev] [lttng-ust RFC] Add setuid wrapper for per-UID buffers

2019-05-21 Thread Sebastien Boisvert
On 2019-05-21 2:01 p.m., Gabriel-Andrew Pollo-Guilbert wrote: > In case of a per-UID buffers, events following a setuid() call should be > fowarded to buffers of the new UID. In order to do so, we add a wrapper around > setuid() that unregister and re-register the application from the session >

[lttng-dev] [lttng-ust RFC] Add setuid wrapper for per-UID buffers

2019-05-21 Thread Gabriel-Andrew Pollo-Guilbert
In case of a per-UID buffers, events following a setuid() call should be fowarded to buffers of the new UID. In order to do so, we add a wrapper around setuid() that unregister and re-register the application from the session daemon. Signed-off-by: Gabriel-Andrew Pollo-Guilbert --- Makefile.am