summaryrefslogtreecommitdiffstats
path: root/src/providers/proxy/proxy.c
Commit message (Collapse)AuthorAgeFilesLines
* Proxy provider PAM handling in child processStephen Gallagher2010-05-271-0/+2502
This patch adds a new tevent_req to the proxy provider, which will spawn short-lived child processes to handle PAM requests. These processes then call the proxied PAM stack and return the results via SBUS method reply. Once it is returned, the parent process kills the child. There is a maximum of ten child processes running simultaneously, after which requests will be queued for sending once a child slot frees up. The maximum processes will be made configurable at a later date (as this would violate string freeze).