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:05:21 +0000 (14:05 -0400)
commit59a41fc4a023c6976a72621dc7cd978e34b5cb1c
tree6b3915b434da0239d012a016fe992f1eba386cdd
parent0848dba71d2480ec08ae6561f44e26e24d18738e
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.026501 seconds and 5 git commands to generate.