← Commit list

9b44deac0

Denys Vlasenko
Denys Vlasenko
2020-12-15
SUCCESS Duration: 152s

Subject

ntpd: allow non-root to run it (e.g. with -w option)

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

networking/ntpd.c+0 -3
@@ -2462,9 +2462,6 @@ static NOINLINE void ntp_init(char **argv)
srand(getpid());
- if (getuid())
- bb_simple_error_msg_and_die(bb_msg_you_must_be_root);
-
/* Set some globals */
G.discipline_jitter = G_precision_sec;
G.stratum = MAXSTRAT;