Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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?



You 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/...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: