Skip to content
GitLab
Next
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Commits on Source (2)
Clean up debug-only error in ntp_proto
· d99f76e6
Hal Murray
authored
Apr 14, 2017
d99f76e6
Allow exit if no DNS ntp_seccomp
· 87ce9e62
Hal Murray
authored
Apr 14, 2017
87ce9e62
Hide whitespace changes
Inline
Side-by-side
ntpd/ntp_proto.c
View file @
87ce9e62
...
...
@@ -2446,13 +2446,6 @@ if (NULL == server->dstadr)
peer_update_hash
(
server
);
peer_xmit
(
server
);
#ifdef HAL_FIXED
DPRINTF
(
1
,
(
"transmit: at %lu %s->%s pool
\n
"
,
current_time
,
latoa
(
lcladr
),
socktoa
(
rmtadr
)));
#else
DPRINTF
(
1
,
(
"transmit: at %lu ->%s pool
\n
"
,
current_time
,
socktoa
(
rmtadr
)));
#endif
msyslog
(
LOG_INFO
,
"Setup server %s"
,
socktoa
(
rmtadr
));
return
;
};
...
...
ntpd/ntp_sandbox.c
View file @
87ce9e62
...
...
@@ -297,6 +297,7 @@ int scmp_sc[] = {
SCMP_SYS
(
clock_settime
),
SCMP_SYS
(
close
),
SCMP_SYS
(
connect
),
SCMP_SYS
(
exit
),
SCMP_SYS
(
exit_group
),
SCMP_SYS
(
fcntl
),
SCMP_SYS
(
fstat
),
...
...
@@ -354,8 +355,7 @@ int scmp_sc[] = {
#ifdef ENABLE_DNS_LOOKUP
SCMP_SYS
(
clone
),
/* threads */
SCMP_SYS
(
exit
),
SCMP_SYS
(
futex
),
/* sem_xxx */
SCMP_SYS
(
futex
),
/* sem_xxx, used by threads */
SCMP_SYS
(
kill
),
/* generate signal */
SCMP_SYS
(
madvise
),
SCMP_SYS
(
mprotect
),
...
...