From a5098c3b4c95cb156e430412757d4a190ef554d8 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 12 May 2020 11:46:19 +0100 Subject: [PATCH] Update comment for capsicum --- src/dhcpcd.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/dhcpcd.c b/src/dhcpcd.c index c2d10617..c4e46809 100644 --- a/src/dhcpcd.c +++ b/src/dhcpcd.c @@ -2263,11 +2263,13 @@ printpidfile: #ifdef PRIVSEP if (ctx.options & DHCPCD_PRIVSEP) { - /* - * PSF_CAP_ENTER is not set because the following functions - * won't work in it: - * getifaddrs(3), gethostname(3), uname(3). + * PSF_CAP_ENTER is not set because getifaddrs(3) won't + * 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) { logerr("ps_dropprivs"); -- 2.47.2