Secure.hpp File Reference

#include "blocxx/BLOCXX_config.h"
#include "blocxx/Exception.hpp"
#include "blocxx/CommonFwd.hpp"
#include "blocxx/Types.hpp"

Go to the source code of this file.

Namespaces

namespace  BLOCXX_NAMESPACE
namespace  BLOCXX_NAMESPACE::Secure

Classes

class  BLOCXX_NAMESPACE::Secure::ProcessAbortException
 Secure::ProcessAbortException should be caught only at the top level of the program. More...

Enumerations

enum  BLOCXX_NAMESPACE::Secure::EChildGroupAction { BLOCXX_NAMESPACE::Secure::E_NO_EXTENDED_GROUPS = 0, BLOCXX_NAMESPACE::Secure::E_SOURCE_EXTENDED_GROUPS }

Functions

void BLOCXX_NAMESPACE::Secure::dropPrivilegesPermanently (uid_t newuid, gid_t newgid, EChildGroupAction extendedGroupAction)
 Changes both the effective and actual user ID to newuid, and the effective and actual group IDs to newgid, clearing out all of root's auxiliary groups.
void BLOCXX_NAMESPACE::Secure::runAs (char const *username, EChildGroupAction extendedGroupAction=E_SOURCE_EXTENDED_GROUPS)
 Look up user ID and group ID for username in password file, chdir to "/", then drop privileges and run with that user ID and group ID.
StringArray BLOCXX_NAMESPACE::Secure::minimalEnvironment ()


Generated on Wed Feb 25 19:05:00 2009 for blocxx by  doxygen 1.5.6