]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
privsep: Remove pledges inet and dns from the master process
authorRoy Marples <roy@marples.name>
Fri, 5 Jun 2020 10:12:21 +0000 (11:12 +0100)
committerRoy Marples <roy@marples.name>
Fri, 5 Jun 2020 10:12:21 +0000 (11:12 +0100)
commit14af21e525d20018c73466f4c90afc3c4c2567fc
treece9774419ef10a2842ee505c360d13e54c645bf1
parentd8abf7196114e205e2b6a6318111ea4b3f948668
privsep: Remove pledges inet and dns from the master process

Achieved by adding IPC to ignore interfaces names based on
the interface group.

This means every process just pledges stdio for IPC which the
exception of the master process which also pledges route so it
can access the routing table.
src/dhcpcd.c
src/if-bsd.c
src/if.h
src/privsep-bsd.c
src/privsep-root.h
src/privsep.h