unbit/uwsgi — pull request #319 by ebpmp (2013-06-16 16:02:46+00:00)
Title: Pre-Drop Privileges Hook

This hook allows code to execute before the child process drops privileges. If the master happens to be running as root (master-as-root option), then the children have the opportunity to read privileged resources, open files, sockets, shared memory etc. that are otherwise restricted by file ownership before they lose their root privileges.