Searched refs:socketcon (Results 1 – 2 of 2) sorted by relevance
90 gid_t gid, const std::string& socketcon) { in CreateSocket() argument91 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()
48 gid_t gid, const std::string& socketcon);