X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Fmain.c;h=1ea2d2c08e5d96b0a894b43bbf33c7a48c3e4b41;hb=f59fac67be2ca857268aa65aaf5984b91a4f82e5;hp=1ac975660b5ada3a9fe30a2bd5330b22ca1b94aa;hpb=b95ad2e1035a3a09c0df6215a38c8a51459a313b;p=lttng-tools.git diff --git a/src/bin/lttng-relayd/main.c b/src/bin/lttng-relayd/main.c index 1ac975660..1ea2d2c08 100644 --- a/src/bin/lttng-relayd/main.c +++ b/src/bin/lttng-relayd/main.c @@ -2715,15 +2715,6 @@ int main(int argc, char **argv) goto exit_init_data; } - /* Check if daemon is UID = 0 */ - if (!getuid()) { - if (control_uri->port < 1024 || data_uri->port < 1024 || live_uri->port < 1024) { - ERR("Need to be root to use ports < 1024"); - retval = -1; - goto exit_init_data; - } - } - /* Setup the thread apps communication pipe. */ if (create_relay_conn_pipe()) { retval = -1;