Setting /proc title not working with new libbsd versions
Status: Inactive
Brought to you by:
mtbishop
Setting /proc title (/proc/$pid/cmdline) not working with new libbsd versions, because setproctitle() API changed in new libbsd versions, like this:
before:
setproctitle_init(argc,argv,envp,"prefix: ");
setproctitle("title line");
after:
setproctitle_init(argc,argv,envp);
setproctitle("-prefix: title line");
Known workaround:
grep -v setproctitle configure.in > tmp
mv tmp configure.in
autoreconf -f
It stops using libbsd and enables built-in set_title() function from lib.c