minix/minix/include
David van Moolenbroek dfc3261535 PFS, inet: use static UID to drop privileges
Previously, services would obtain the user ID of "service" through
getpwnam(3).  While this approach is conceptually better, it also
imposes linking against libc which in turn causes problems with
printf(3), which already led to PFS no longer dropping privileges at
all.  For now, we hardcode SERVICE_UID and use that instead.

In the future, two changes should allow removal of SERVICE_UID again:
- "service edit" should cause RS to request that a service (such as
  PFS) drop privileges through SEF, using the user ID resolved by
  service(8), or something similar;
- a future devfs should make it possible for inet to start without
  root privileges altogether.

Change-Id: Ie02a1e888cde325806fc0ae76909943ac42c9b96
2015-06-06 21:42:48 +00:00
..
arch New sources layout 2014-07-31 16:00:30 +02:00
ddekit Much USB code for ARM USB support 2014-08-29 18:52:49 +02:00
libdde New sources layout 2014-07-31 16:00:30 +02:00
minix PFS, inet: use static UID to drop privileges 2015-06-06 21:42:48 +00:00
net netbsd ping & traceroute 2014-08-21 08:07:39 -04:00
sys Turn PCI into a character driver 2014-11-10 14:43:27 +01:00
configfile.h remove libcompat_minix as library 2014-08-28 18:49:13 +02:00
env.h libsys: resolve clang warnings 2014-09-30 20:08:54 +00:00
fetch.h New sources layout 2014-07-31 16:00:30 +02:00
lib.h New sources layout 2014-07-31 16:00:30 +02:00
libutil.h New sources layout 2014-07-31 16:00:30 +02:00
Makefile remove libcompat_minix as library 2014-08-28 18:49:13 +02:00
varargs.h New sources layout 2014-07-31 16:00:30 +02:00