Home
last modified time | relevance | path

Searched refs:ucred (Results 1 – 9 of 9) sorted by relevance

/system/core/logd/
DLogListener.cpp51 alignas(4) char control[CMSG_SPACE(sizeof(struct ucred))]; in onDataAvailable()
69 struct ucred* cred = nullptr; in onDataAvailable()
75 cred = (struct ucred*)CMSG_DATA(cmsg); in onDataAvailable()
81 struct ucred fake_cred; in onDataAvailable()
/system/core/libcutils/
Duevent.cpp56 char control[CMSG_SPACE(sizeof(struct ucred))]; in uevent_kernel_recv()
60 struct ucred* cred; in uevent_kernel_recv()
74 cred = (struct ucred*)CMSG_DATA(cmsg); in uevent_kernel_recv()
/system/core/init/
Dproperty_service.cpp99 const ucred* cr;
122 ucred cr = {.pid = 0, .uid = 0, .gid = 0}; in CanReadProperty()
130 const char* source_context, const ucred& cr) { in CheckMacPerms()
276 ucred cr = {.pid = 1, .uid = 0, .gid = 0}; in InitPropertySet()
288 SocketConnection(int socket, const ucred& cred) : socket_(socket), cred_(cred) {} in SocketConnection()
334 const ucred& cred() { return cred_; } in cred()
412 ucred cred_;
418 const std::string& source_context, const ucred& cr) { in CheckControlPropertyPerms()
448 const std::string& source_context, const ucred& cr, std::string* error) { in CheckPermissions()
484 const std::string& source_context, const ucred& cr, std::string* error) { in HandlePropertySet()
[all …]
Dproperty_service.h34 const std::string& source_context, const ucred& cr, std::string* error);
Dhost_init_stubs.h45 const std::string& source_context, const ucred& cr, std::string* error);
Dhost_init_stubs.cpp41 uint32_t HandlePropertySet(const std::string&, const std::string&, const std::string&, const ucred&, in HandlePropertySet() argument
Dsubcontext.cpp313 ucred cr = {.pid = pid_, .uid = 0, .gid = 0}; in Execute()
/system/core/libsysutils/src/
DSocketClient.cpp55 struct ucred creds; in init()
/system/core/debuggerd/tombstoned/
Dtombstoned.cpp312 ucred cr = {}; in crash_request_cb()