ui-utilcpp 1.10.1
|
Helper class to get a scope executed with some other effective uid. More...
#include <Misc.hpp>
Public Types | |
enum | ErrorCode { SetEuidErr_ = 1 } |
Error codes for exceptions. | |
typedef CodeException< ErrorCode > | Exception |
This classes exceptions. | |
Public Member Functions | |
EUIDSwap (uid_t uid=Sys::getuid()) | |
uid_t | getOrigUID () const |
Get the original effective user id. | |
Helper class to get a scope executed with some other effective uid.