diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-08-11 19:18:46 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-08-11 19:18:46 -0400 |
commit | 95f668029e0f4362cf3cbe2659eea001e8aaefaa (patch) | |
tree | a28db634345521b4ac5715bf729c1127188d80c8 /gpsd.c | |
parent | a3d56651f5e902554440342062538bfa0d36b4a6 (diff) | |
download | gpsd-95f668029e0f4362cf3cbe2659eea001e8aaefaa.tar.gz |
Improved explanation of the priv-dropping problem. All regression tests pass.
Diffstat (limited to 'gpsd.c')
-rw-r--r-- | gpsd.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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; |