diff options
author | 2016-02-23 14:51:13 +0000 | |
---|---|---|
committer | 2016-02-23 14:51:13 +0000 | |
commit | 62c0ff56a0c73c7ee351e9bc2f28a03ac395b49e (patch) | |
tree | d6a7d81aece4591a6431bdbbdba2a0bf58330fdd | |
parent | openssh-7.2 (diff) | |
download | wireguard-openbsd-62c0ff56a0c73c7ee351e9bc2f28a03ac395b49e.tar.xz wireguard-openbsd-62c0ff56a0c73c7ee351e9bc2f28a03ac395b49e.zip |
I just stumbled on this and noticed that eigrpd requires inet and rpath in pledge(2) call to make "reload",
without that, daemon will crash on SIGHUP signal....
as discurssed/OK renato@
commit it now, deraadt@
-rw-r--r-- | usr.sbin/eigrpd/eigrpd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/eigrpd/eigrpd.c b/usr.sbin/eigrpd/eigrpd.c index ffb58548f4a..1f9ffdcece6 100644 --- a/usr.sbin/eigrpd/eigrpd.c +++ b/usr.sbin/eigrpd/eigrpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: eigrpd.c,v 1.7 2016/02/21 18:56:49 renato Exp $ */ +/* $OpenBSD: eigrpd.c,v 1.8 2016/02/23 14:51:13 gsoares Exp $ */ /* * Copyright (c) 2015 Renato Westphal <renato@openbsd.org> @@ -272,7 +272,7 @@ main(int argc, char *argv[]) eigrpd_conf->rdomain) == -1) fatalx("kr_init failed"); - if (pledge("stdio proc", NULL) == -1) + if (pledge("inet rpath stdio proc", NULL) == -1) fatal("pledge"); event_dispatch(); |