Home
last modified time | relevance | path

Searched refs:socketcon (Results 1 – 2 of 2) sorted by relevance

/system/core/init/
Dutil.cpp90 gid_t gid, const std::string& socketcon) { in CreateSocket() argument
91 if (!socketcon.empty()) { in CreateSocket()
92 if (setsockcreatecon(socketcon.c_str()) == -1) { in CreateSocket()
93 return ErrnoError() << "setsockcreatecon(\"" << socketcon << "\") failed"; in CreateSocket()
102 if (!socketcon.empty()) setsockcreatecon(nullptr); in CreateSocket()
Dutil.h48 gid_t gid, const std::string& socketcon);