On Thu, Nov 11, 2010 at 08:28, Mike Meyer <mwm-keyword-apache.b9a...@mired.org> wrote: > Is there a hook that runs after config in the parent, but as the > unprivileged id that I should be using? I couldn't find one (either in
There isn't one, setuid() is called right before the child_init hook. Having said that, can't you open() the file in the parent and have the children mmap() the fd into memory? Just make sure it isn't marked as FD_CLOEXEC.