#include "gdef.h"
#include "gprocess.h"
#include "gidentity.h"
#include "gstr.h"
#include "gfile.h"
#include "gpath.h"
#include "glimits.h"
#include "glog.h"
#include <iostream>
#include <stdexcept>
#include <array>
#include <cstring>
#include <climits>
#include <cerrno>
#include <fcntl.h>
Go to the source code of this file.
|
namespace | G |
| Low-level classes.
|
|
|
void | G::ProcessImp::noCloseOnExec (int fd) noexcept |
|
void | G::ProcessImp::reopen (int fd, int mode) |
|
mode_t | G::ProcessImp::umaskValue (G::Process::Umask::Mode mode) |
|
bool | G::ProcessImp::readlink_ (const char *path, std::string &value) |
|
bool | G::ProcessImp::setRealUser (Identity id, std::nothrow_t) noexcept |
|
bool | G::ProcessImp::setRealGroup (Identity id, std::nothrow_t) noexcept |
|
void | G::ProcessImp::setEffectiveUser (Identity id) |
|
bool | G::ProcessImp::setEffectiveUser (Identity id, std::nothrow_t) noexcept |
|
void | G::ProcessImp::setEffectiveGroup (Identity id) |
|
bool | G::ProcessImp::setEffectiveGroup (Identity id, std::nothrow_t) noexcept |
|
void | G::ProcessImp::throwError () |
|
void | G::ProcessImp::beSpecial (Identity special_identity, bool change_group) |
|
void | G::ProcessImp::beSpecialForExit (SignalSafe, Identity special_identity) noexcept |
|
Identity | G::ProcessImp::beOrdinaryAtStartup (Identity, bool change_group) |
|
Identity | G::ProcessImp::beOrdinary (Identity, bool change_group) |
|
void | G::ProcessImp::beOrdinaryForExec (Identity run_as_id) noexcept |
|
void | G::ProcessImp::revokeExtraGroups () |
|
◆ beOrdinary()
◆ beOrdinaryForExec()
void G::ProcessImp::beOrdinaryForExec |
( |
Identity |
run_as_id | ) |
|
|
noexcept |
◆ beSpecial()
void G::ProcessImp::beSpecial |
( |
Identity |
special_identity, |
|
|
bool |
change_group |
|
) |
| |
◆ beSpecialForExit()
◆ noCloseOnExec()
void G::ProcessImp::noCloseOnExec |
( |
int |
fd | ) |
|
|
noexcept |
◆ readlink_()
bool G::ProcessImp::readlink_ |
( |
const char * |
path, |
|
|
std::string & |
value |
|
) |
| |
◆ reopen()
void G::ProcessImp::reopen |
( |
int |
fd, |
|
|
int |
mode |
|
) |
| |
◆ revokeExtraGroups()
void G::ProcessImp::revokeExtraGroups |
( |
| ) |
|
◆ setEffectiveGroup() [1/2]
void G::ProcessImp::setEffectiveGroup |
( |
Identity |
id | ) |
|
◆ setEffectiveGroup() [2/2]
bool G::ProcessImp::setEffectiveGroup |
( |
Identity |
id, |
|
|
std::nothrow_t |
|
|
) |
| |
|
noexcept |
◆ setEffectiveUser() [1/2]
void G::ProcessImp::setEffectiveUser |
( |
Identity |
id | ) |
|
◆ setEffectiveUser() [2/2]
bool G::ProcessImp::setEffectiveUser |
( |
Identity |
id, |
|
|
std::nothrow_t |
|
|
) |
| |
|
noexcept |
◆ setRealGroup()
bool G::ProcessImp::setRealGroup |
( |
Identity |
id, |
|
|
std::nothrow_t |
|
|
) |
| |
|
noexcept |
◆ setRealUser()
bool G::ProcessImp::setRealUser |
( |
Identity |
id, |
|
|
std::nothrow_t |
|
|
) |
| |
|
noexcept |
◆ throwError()
void G::ProcessImp::throwError |
( |
| ) |
|
◆ umaskValue()
mode_t G::ProcessImp::umaskValue |
( |
G::Process::Umask::Mode |
mode | ) |
|