-/* $OpenBSD: ntpd.c,v 1.130 2021/07/12 15:09:21 beck Exp $ */
+/* $OpenBSD: ntpd.c,v 1.131 2021/07/16 14:34:37 mestre Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
* Constraint processes are forked with certificates in memory,
* then privdrop into chroot before speaking to the outside world.
*/
- if (unveil(tls_default_ca_cert_file(), "r") == -1)
- err(1, "unveil %s", tls_default_ca_cert_file());
if (unveil("/usr/sbin/ntpd", "x") == -1)
err(1, "unveil /usr/sbin/ntpd");
- if (pledge("stdio rpath inet settime proc exec id", NULL) == -1)
+ if (pledge("stdio inet settime proc exec id", NULL) == -1)
err(1, "pledge");
while (quit == 0) {