]> git.proxmox.com Git - mirror_iproute2.git/commit - misc/rtacct.c
arpd/ifstat/nstat/rtacct: use daemon()
authorMike Frysinger <vapier@gentoo.org>
Fri, 6 Nov 2009 11:04:39 +0000 (06:04 -0500)
committerStephen Hemminger <stephen.hemminger@vyatta.com>
Tue, 10 Nov 2009 18:41:44 +0000 (10:41 -0800)
commita7a9ddbb675b7fbd184c3ab40817265b0b207a23
treec5753b69dfbf254a2a9f0c219e8049c6867b9073
parent7f03191fda39ff09640f093b7ad84f461ffd65b2
arpd/ifstat/nstat/rtacct: use daemon()

A bunch of misc utils basically reimplement the daemon() function (the
whole fork/close/chdir/etc...).  Rather than do that, use daemon() as
that will work under nommu Linux systems that lack fork().

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
misc/arpd.c
misc/ifstat.c
misc/nstat.c
misc/rtacct.c