summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd/ntpd.h
diff options
context:
space:
mode:
authorRicardo Mestre <mestre@cvs.openbsd.org>2018-08-04 11:07:15 +0000
committerRicardo Mestre <mestre@cvs.openbsd.org>2018-08-04 11:07:15 +0000
commit4713e432b4910eeeb2d5bc1124b299e120dabb46 (patch)
treedcc73dae5c0a1c608e4105eb75c02b1b71694a8a /usr.sbin/ntpd/ntpd.h
parentc3b1b62cd78b3c079492ab093dcd7e7bdfe403c0 (diff)
Revert back previous commit, we have decided that socket files don't cause any
harm if not deleted after the daemon is shutdown and at the same time we also tackle another attack surface by not allowing the program to create/delete any more files (by removing "cpath" promise from pledge(2)). Discussion initiated by a question from deraadt@ OK florian@
Diffstat (limited to 'usr.sbin/ntpd/ntpd.h')
-rw-r--r--usr.sbin/ntpd/ntpd.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/ntpd/ntpd.h b/usr.sbin/ntpd/ntpd.h
index 30ef206b472..deaf2a9afa5 100644
--- a/usr.sbin/ntpd/ntpd.h
+++ b/usr.sbin/ntpd/ntpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ntpd.h,v 1.135 2017/05/30 23:30:48 benno Exp $ */
+/* $OpenBSD: ntpd.h,v 1.136 2018/08/04 11:07:14 mestre Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -397,7 +397,6 @@ void ntp_dns(struct ntpd_conf *, struct passwd *);
int control_init(char *);
int control_listen(int);
void control_shutdown(int);
-void control_cleanup(const char *);
int control_accept(int);
struct ctl_conn *control_connbyfd(int);
int control_close(int);