]> mj.ucw.cz Git - libucw.git/commit
Be able to preserve caps across daemon start
authorMichal 'vorner' Vaner <vorner@vorner.cz>
Sat, 5 Jul 2014 18:33:49 +0000 (20:33 +0200)
committerMichal 'vorner' Vaner <vorner@vorner.cz>
Sat, 5 Jul 2014 18:33:49 +0000 (20:33 +0200)
commitc65acebe95211c1abcd00e324408c2825cdb7d09
tree348699585005484799b5ff49deecb9cd6a6ef468
parentec6703bb4d58e504fde8ea8429f9b26ab6632696
Be able to preserve caps across daemon start

Be able to preserve some linux capabilities across setuid in daemon_run,
so we can switch to normal user but still be able to eg. bind low ports.

Still needs detection if capabilities are available on the system.
ucw/Makefile
ucw/daemon.c
ucw/daemon.h