source/ariba/utility/transport/tcpip/protlib/setuid.h File Reference

#include <sys/types.h>
#include <pthread.h>
#include <string>
#include "protlib_types.h"
#include "cleanuphandler.h"
Include dependency graph for setuid.h:
This graph shows which files directly or indirectly include this file:

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)

Detailed Description

----------------------------------------*- mode: C++; -*--

Change effective user ID in a thread-safe way ----------------------------------------------------------

Id
setuid.h 2549 2007-04-02 22:17:37Z bless
HeadURL
https://svn.ipv6.tm.uka.de/nsis/protlib/trunk/include/setuid.h

Definition in file setuid.h.


Generated on Fri Dec 10 11:09:20 2010 for Ariba by  doxygen 1.6.1