ntp-4.2.8-ipc-caps.patch 471 B

1234567891011121314151617
  1. http://bugs.ntp.org/show_bug.cgi?id=2646
  2. https://bugs.gentoo.org/533966
  3. --- a/ntpd/ntpd.c
  4. +++ a/ntpd/ntpd.c
  5. @@ -971,8 +971,8 @@ getgroup:
  6. char *captext;
  7. captext = (0 != interface_interval)
  8. - ? "cap_sys_time,cap_net_bind_service=pe"
  9. - : "cap_sys_time=pe";
  10. + ? "cap_ipc_lock,cap_sys_time,cap_net_bind_service=pe"
  11. + : "cap_ipc_lock,cap_sys_time=pe";
  12. caps = cap_from_text(captext);
  13. if (!caps) {
  14. msyslog(LOG_ERR,