]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
privsep: Delay control startup after starting privsep
authorRoy Marples <roy@marples.name>
Thu, 9 Jan 2020 15:39:18 +0000 (15:39 +0000)
committerRoy Marples <roy@marples.name>
Thu, 9 Jan 2020 15:39:18 +0000 (15:39 +0000)
commita7ae35c4cc3bb69d07dade7bac79120e85eb6408
tree7c46914cbb6cd890425477524c52ad5d3b06bb30
parent7f26a3de371a7818f91205bf615fde90a88614a8
privsep: Delay control startup after starting privsep

This means we don't need to close it for other processes.
Add ps_init so that we can change directory permissions before
starting privsep itself.
src/control.c
src/control.h
src/dhcpcd.c
src/privsep.c
src/privsep.h