Public Types | |
|
typedef std::shared_ptr < Privilege > | shared |
| typedef Privilege * | ptr |
Public Member Functions | |
| Privilege (const Privilege &other) | |
| Privilege & | operator= (const Privilege &other) throw () |
| bool | operator== (const Privilege &other) const throw () |
| bool | operator!= (const Privilege &other) const throw () |
| void | applyIdentity (void) const throw (PrivilegeException) |
| void | applyEffectiveIdentity (void) const throw (PrivilegeException) |
| void | restoreIdentity (void) const throw (PrivilegeException) |
| void | restoreEffectiveIdentity (void) const throw (PrivilegeException) |
| void | setUID (uid_t &uid, bool setGID=true) throw (PrivilegeException) |
| void | setUID (const std::string &user, bool setGID=true) throw (PrivilegeException) |
| void | setGID (gid_t &gid) throw () |
| void | setGID (const std::string &group) throw (PrivilegeException) |
| const uid_t & | getUID (void) const throw () |
| const uid_t | getCurrentUID (void) const throw () |
| const uid_t | getEffectiveUID (void) const throw () |
| const uid_t & | getOriginalUID (void) const throw () |
| const gid_t & | getGID (void) const throw () |
| const gid_t | getCurrentGID (void) const throw () |
| const gid_t | getEffectiveGID (void) const throw () |
| const gid_t & | getOriginalGID (void) const throw () |
| bool | isRoot (void) const throw () |
| bool | isRootGroup (void) const throw () |
| bool | wasRoot (void) const throw () |
| bool | wasRootGroup (void) const throw () |
| void | clear (void) throw () |
Static Public Member Functions | |
| static const Privilege::shared | shared_ptr (void) throw () |
Definition at line 28 of file Privilege.h.
1.6.1