|
Apache Mesos
|
#include <errno.h>#include <grp.h>#include <limits.h>#include <pwd.h>#include <unistd.h>#include <sys/syscall.h>#include <string>#include <vector>#include <stout/error.hpp>#include <stout/none.hpp>#include <stout/nothing.hpp>#include <stout/option.hpp>#include <stout/result.hpp>#include <stout/try.hpp>#include <stout/unreachable.hpp>Go to the source code of this file.
Namespaces | |
| os | |
Functions | |
| Result< uid_t > | os::getuid (const Option< std::string > &user=None()) |
| Try< Nothing > | os::setuid (uid_t uid) |
| Result< gid_t > | os::getgid (const Option< std::string > &user=None()) |
| Try< Nothing > | os::setgid (gid_t gid) |
| Try< std::vector< gid_t > > | os::getgrouplist (const std::string &user) |
| Try< Nothing > | os::setgroups (const std::vector< gid_t > &gids, const Option< uid_t > &uid=None()) |
| Result< std::string > | os::user (Option< uid_t > uid=None()) |
| Try< Nothing > | os::su (const std::string &user) |
1.8.11