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:18 +0000 (14:13 -0400)
commitf59fac67be2ca857268aa65aaf5984b91a4f82e5
tree7545a31ccce937895c7e9d7171e8fc425bf9bdc0
parentb95ad2e1035a3a09c0df6215a38c8a51459a313b
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.026893 seconds and 4 git commands to generate.