Home
last modified time | relevance | path

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

/system/core/init/
Dutil.cpp102 gid_t gid, const char *socketcon) in create_socket() argument
108 if (socketcon) { in create_socket()
109 if (setsockcreatecon(socketcon) == -1) { in create_socket()
110 ERROR("setsockcreatecon(\"%s\") failed: %s\n", socketcon, strerror(errno)); in create_socket()
121 if (socketcon) in create_socket()
Dservice.cpp50 gid_t gid, int perm, const std::string& socketcon) in SocketInfo() argument
51 : name(name), type(type), uid(uid), gid(gid), perm(perm), socketcon(socketcon) { in SocketInfo()
257 std::string socketcon = args.size() > 6 ? args[6] : ""; in HandleSocket() local
259 sockets_.emplace_back(args[1], args[2], uid, gid, perm, socketcon); in HandleSocket()
402 const char* socketcon = in Start() local
403 !si.socketcon.empty() ? si.socketcon.c_str() : scon.c_str(); in Start()
406 si.uid, si.gid, socketcon); in Start()
Dutil.h32 uid_t uid, gid_t gid, const char *socketcon);
Dservice.h53 gid_t gid, int perm, const std::string& socketcon);
59 std::string socketcon; member