From 95f668029e0f4362cf3cbe2659eea001e8aaefaa Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 11 Aug 2011 19:18:46 -0400 Subject: Improved explanation of the priv-dropping problem. All regression tests pass. --- gpsd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gpsd.c') diff --git a/gpsd.c b/gpsd.c index 82c42052..a9957ee8 100644 --- a/gpsd.c +++ b/gpsd.c @@ -1993,10 +1993,10 @@ int main(int argc, char *argv[]) * Drop privileges. * * Yes, the test for this is non-orthogonal and ugly. The problem - * is that there are two calls in the PPS support, way later on, - * that require root (see ntpmshm.c and look for "requires - * root"). We've overloaded -N with the meaning "don't drop - * privileges" pending a better solution. + * is that there is a line-discipline setup call in the PPS + * support, way later on, that require root (see ntpmshm.c and + * look for "requires root"). We've overloaded -N with the meaning + * "don't drop privileges" pending a better solution. */ if (getuid() == 0 && go_background) { struct passwd *pw; -- cgit v1.2.1