diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-07-04 08:06:08 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-07-04 08:06:08 +0100 |
commit | 2a8d2f71d1d9963368e0ef3d641d75979a689d12 (patch) | |
tree | 83e283f960ab2ebbc1a042b8ed6c37b78d47b37b /net-misc/ntp/files/ntp-4.2.8_p18-ipc-caps.patch | |
parent | 8435c842b9e8fbb2bcc80397ab3aa655000459e2 (diff) |
gentoo auto-resync : 04:07:2024 - 08:06:07
Diffstat (limited to 'net-misc/ntp/files/ntp-4.2.8_p18-ipc-caps.patch')
-rw-r--r-- | net-misc/ntp/files/ntp-4.2.8_p18-ipc-caps.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/net-misc/ntp/files/ntp-4.2.8_p18-ipc-caps.patch b/net-misc/ntp/files/ntp-4.2.8_p18-ipc-caps.patch new file mode 100644 index 000000000000..8676603a6cee --- /dev/null +++ b/net-misc/ntp/files/ntp-4.2.8_p18-ipc-caps.patch @@ -0,0 +1,19 @@ +https://bugs.ntp.org/show_bug.cgi?id=2646 +https://bugs.gentoo.org/533966 + +--- a/ntpd/ntpd.c ++++ b/ntpd/ntpd.c +@@ -1299,10 +1299,10 @@ + */ + cap_t caps; + char *captext; +- ++ + captext = (scan_addrs_once) +- ? "cap_sys_time=pe" +- : "cap_sys_time,cap_net_bind_service=pe"; ++ ? "cap_ipc_lock,cap_sys_time=pe" ++ : "cap_ipc_lock,cap_sys_time,cap_net_bind_service=pe"; + caps = cap_from_text(captext); + if (!caps) { + msyslog(LOG_ERR, |