From: Roy Marples Date: Tue, 12 May 2020 18:00:36 +0000 (+0100) Subject: Note that capsicum does allow gethostname X-Git-Tag: v9.1.0~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=985f61907b9d8eb2c70cb12d60d6a3c61a7587e4;p=thirdparty%2Fdhcpcd.git Note that capsicum does allow gethostname --- diff --git a/src/dhcpcd.c b/src/dhcpcd.c index c4e46809..e64e1c36 100644 --- a/src/dhcpcd.c +++ b/src/dhcpcd.c @@ -2268,7 +2268,6 @@ printpidfile: * work in it. This is a huge challenge because it's the * only portable interface to work stuff out and it's * non trivial to IPC for privsep. - * gethostname(3) can be trivially done. * There could be more blockers, it's as far as I've got. */ if (ps_dropprivs(&ctx, PSF_PLEDGE) == -1) {