]> git.ipfire.org Git - thirdparty/lldpd.git/commit
priv: create chroot if it does not exist
authorVincent Bernat <bernat@luffy.cx>
Thu, 17 Jan 2013 08:02:48 +0000 (09:02 +0100)
committerVincent Bernat <bernat@luffy.cx>
Thu, 17 Jan 2013 08:02:48 +0000 (09:02 +0100)
commit6fd393a2ffe201aaac479f4875573fc2199d9b78
treed2b8f1a2d6dd25cbec807bb0226286b1238836fc
parente735a3196e177977b539cce211cade3da4a30af7
priv: create chroot if it does not exist

This is not the ideal situation since the chroot should maybe contain
some additional stuff (like `/etc/localtime` with GNU libc) to make it
work properly, but this is more convenient that leaving the user does
exactly the same things. Packagers are still expected to populate the
chroot correctly before starting lldpd.
src/daemon/lldpd.h
src/daemon/priv.c