3 ms·
Let's say I received a SIGHUP and I need to reload my configuration after I dropped my right for reading /etc/ and all the syscall for provisioning my resources
by SFjulie1 11y ago
Let's say I received a SIGHUP and I need to reload my configuration after I dropped my right for reading /etc/ and all the syscall for provisioning my resources.
How screwed am I?
- brynet 11y agoYou would have a parent process that retains permissions to read configuration and sends changes to children, i.e: imsg_*(3) on OpenBSD. http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man3/ibuf_add.3 http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man3/...