CernVM-FS
2.12.0
|
#include <clientctx.h>
Public Member Functions | |
ClientCtxGuard (uid_t uid, gid_t gid, pid_t pid, InterruptCue *ic) | |
~ClientCtxGuard () | |
Private Attributes | |
bool | set_on_construction_ |
uid_t | old_uid_ |
gid_t | old_gid_ |
pid_t | old_pid_ |
InterruptCue * | old_interrupt_cue_ |
RAII form of the ClientCtx. On construction, automatically sets the context via the constructor; on destruction, restores to the previous values.
Meant to be allocated on the stack.
Definition at line 69 of file clientctx.h.
|
inline |
|
inline |
|
private |
Definition at line 100 of file clientctx.h.
Referenced by ClientCtxGuard(), and ~ClientCtxGuard().
|
private |
Definition at line 102 of file clientctx.h.
Referenced by ClientCtxGuard(), and ~ClientCtxGuard().
|
private |
Definition at line 101 of file clientctx.h.
Referenced by ClientCtxGuard(), and ~ClientCtxGuard().
|
private |
Definition at line 99 of file clientctx.h.
Referenced by ClientCtxGuard(), and ~ClientCtxGuard().
|
private |
Definition at line 98 of file clientctx.h.
Referenced by ClientCtxGuard(), and ~ClientCtxGuard().