Server: always drop privileges, even in foreground mode.
authorKp <kp@valhallalegends.com>
Sun, 13 Jul 2008 16:47:07 +0000 (11:47 -0500)
committerKp <kp@valhallalegends.com>
Mon, 1 Sep 2008 19:44:47 +0000 (14:44 -0500)
commitb2d306dde2ce3eae11b4729eca5f3242b2109861
tree28400b18020aa56d04fd03a5a0b9549a79275a25
parentad10dc073b3684e02f5fa14449463c1122bd4cb2
Server: always drop privileges, even in foreground mode.

Foreground mode is often used as a debugging aid for live
configurations, so the server may be started with root privileges to let
it bind to its native port.  Since the server already has the ability to
drop root privileges, use that ability to make foreground mode a little
safer.
apps/silcd/silcd.c