]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
dhcpcd: Move the script file from per interface to global context
authorRoy Marples <roy@marples.name>
Thu, 21 May 2020 17:28:27 +0000 (18:28 +0100)
committerRoy Marples <roy@marples.name>
Thu, 21 May 2020 17:28:27 +0000 (18:28 +0100)
commitb06b1423c89de4014e075a58239841b4e1028b77
tree5ab4a83fffe2351057cb73d1e55e78b70f9e02d2
parent79db244442f6d77b3031a277d4fa536d7a84860d
dhcpcd: Move the script file from per interface to global context

This *should* affect no-one, but you never know.
The primary motivation for this is to ensure that nothing arbitary
can be executed by the root process if anyone breaks into the
chrooted unprivileged master process.

It also makes for smaller code.
src/dhcpcd.c
src/dhcpcd.h
src/if-options.c
src/if-options.h
src/privsep-root.c
src/privsep-root.h
src/script.c
src/script.h