]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
compat: Use libbsd's setproctitle(3)
authorRoy Marples <roy@marples.name>
Fri, 9 Oct 2020 19:21:52 +0000 (20:21 +0100)
committerRoy Marples <roy@marples.name>
Fri, 9 Oct 2020 19:21:52 +0000 (20:21 +0100)
commit86df6737c2a944db5d6c01c65d3586ef72e40636
treedc99c0d1e9e6198da84bfe2979ff9ede49137b2d
parent908b028ca6c944774454eb37e7c286d79691ecba
compat: Use libbsd's setproctitle(3)

Linux PRCTL variant, although more light weight, doesn't work on
some kernels.
This weighs in around 1k more, but always works.
It does play around with environ and args but unlike other
similar variants doesn't appear to stamp on what you actually
use in the program.
compat/setproctitle.c
compat/setproctitle.h
src/dhcpcd.c