Android-cuttlefish cvd tool
Namespaces | Functions
users.cpp File Reference
#include "cuttlefish/common/libs/utils/users.h"
#include <grp.h>
#include <pwd.h>
#include <sys/types.h>
#include <unistd.h>
#include <cerrno>
#include <cstring>
#include <mutex>
#include <ostream>
#include <string>
#include <vector>
#include <android-base/file.h>
#include <android-base/logging.h>
#include "cuttlefish/common/libs/utils/contains.h"
#include "cuttlefish/common/libs/utils/result.h"
Include dependency graph for users.cpp:

Namespaces

namespace  cuttlefish
 
namespace  cuttlefish::anonymous_namespace{users.cpp}
 

Functions

std::vector< gid_t > cuttlefish::anonymous_namespace{users.cpp}::GetSuplementaryGroups ()
 
gid_t cuttlefish::GroupIdFromName (const std::string &group_name)
 
bool cuttlefish::InGroup (const std::string &group)
 
Result< std::string > cuttlefish::SystemWideUserHome ()
 
Result< std::string > cuttlefish::CurrentUserName ()