Fix: lttng-relayd allow binding of privileged ports for non-root users
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 3 Jun 2016 18:05:21 +0000 (14:05 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 3 Jun 2016 18:13:09 +0000 (14:13 -0400)
commit730a7a913cae1cb36dcf8d541f805f4247cb2b80
tree3982d8505e22363a80515619bb3999227267fea9
parentf23ace63e2688a8d1da2c681136b5257808ade17
Fix: lttng-relayd allow binding of privileged ports for non-root users

Non-root users could use authbind to bind to low-numbered ports.
Moreover, the check was inverted; !getuid() will only be true
for the root user.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-relayd/main.c
This page took 0.025084 seconds and 4 git commands to generate.