diff options
author | Chris Kuethe <chris.kuethe@gmail.com> | 2006-11-29 05:58:07 +0000 |
---|---|---|
committer | Chris Kuethe <chris.kuethe@gmail.com> | 2006-11-29 05:58:07 +0000 |
commit | 5999e86621b60948fd0a006705834cb7e4a04a94 (patch) | |
tree | c056cbd50d9ba3cb0ec258e7c20ea58b305ddb78 /gpsd.h | |
parent | cb3bb51b406a3f070191b44a58f547d502965dcb (diff) | |
download | gpsd-5999e86621b60948fd0a006705834cb7e4a04a94.tar.gz |
We temporarily need root privs to set up the nmea line discipline on OpenBSD.
This diff makes that happen, and tries to be forthcoming about
when it is making gpsd run as root.
Diffstat (limited to 'gpsd.h')
-rw-r--r-- | gpsd.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -31,6 +31,9 @@ /* this is where we choose the confidence level to use in reports */ #define GPSD_CONFIDENCE CEP95_SIGMA +/* several places in the code try setuid. put our preferred username here */ +#define GPSD_USER "nobody" + /* a few bits of ISGPS magic */ enum isgpsstat_t { ISGPS_NO_SYNC, ISGPS_SYNC, ISGPS_SKIP, ISGPS_MESSAGE, |