]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
privsep: Only unlink control sockets if we created them
authorRoy Marples <roy@marples.name>
Sun, 2 Jul 2023 00:28:34 +0000 (01:28 +0100)
committerRoy Marples <roy@marples.name>
Sun, 2 Jul 2023 00:28:34 +0000 (01:28 +0100)
commit327e19a5cce11e0250f086695641b4a3b238ee4f
tree54d3c73b78ef9fbf348060111a9dce9e8d1bf1c2
parentf7035a2f3fcceddae062da0a6a023b9d381cc690
privsep: Only unlink control sockets if we created them

Fixes a segfault when trying to start dhcpcd as a non root user.
Closes #219 without an explicit test for being the root user.
src/control.c