]> git.ipfire.org Git - thirdparty/lldpd.git/commit
privsep: IO should specify the context
authorVincent Bernat <bernat@luffy.cx>
Fri, 13 Dec 2013 21:48:41 +0000 (22:48 +0100)
committerVincent Bernat <bernat@luffy.cx>
Tue, 31 Dec 2013 14:17:34 +0000 (15:17 +0100)
commitd2a289bba82ff4924f4bf7513225a63b43f84388
tree8a68f77fc8360f4b1c55380a31aae0831ac97b8e
parent8b0ca98ef399ab838cf89a80ee5e7c9e05b573e4
privsep: IO should specify the context

Currently, the context is not needed because IO is always done to the
"remote" process. If we remove privilege separation, the remote process
is ourselves and we need to know which file descriptor to use.
src/daemon/lldpd.h
src/daemon/priv-linux.c
src/daemon/priv.c
src/daemon/privsep_io.c