#include <sys/types.h>#include <pthread.h>#include <string>#include "protlib_types.h"#include "cleanuphandler.h"

Go to the source code of this file.
Classes | |
| class | protlib::setuid |
| Thread-safe setuid. More... | |
Namespaces | |
| namespace | protlib |
Defines | |
| #define | BEGIN_SETUID_MODE protlib::setuid::on(); install_cleanup(call_void_fun,protlib::setuid::off) |
| Turn on setuid mode and install cleanup handler. | |
| #define | END_SETUID_MODE uninstall_cleanup(1) |
----------------------------------------*- mode: C++; -*--
Change effective user ID in a thread-safe way ----------------------------------------------------------
Definition in file setuid.h.
1.6.1