Searched refs:spid (Results 1 - 3 of 3) sorted by relevance
/frameworks/native/cmds/servicemanager/ |
H A D | service_manager.c | 64 static bool check_mac_perms(pid_t spid, uid_t uid, const char *tctx, const char *perm, const char *name) argument 71 if (getpidcon(spid, &sctx) < 0) { 72 ALOGE("SELinux: getpidcon(pid=%d) failed to retrieve pid context.\n", spid); 76 ad.pid = spid; 87 static bool check_mac_perms_from_getcon(pid_t spid, uid_t uid, const char *perm) argument 89 return check_mac_perms(spid, uid, service_manager_context, perm, NULL); 92 static bool check_mac_perms_from_lookup(pid_t spid, uid_t uid, const char *perm, const char *name) argument 107 allowed = check_mac_perms(spid, uid, tctx, perm, name); 112 static int svc_can_register(const uint16_t *name, size_t name_len, pid_t spid, uid_t uid) argument 120 return check_mac_perms_from_lookup(spid, ui 123 svc_can_list(pid_t spid, uid_t uid) argument 129 svc_can_find(const uint16_t *name, size_t name_len, pid_t spid, uid_t uid) argument 177 do_find_service(const uint16_t *s, size_t len, uid_t uid, pid_t spid) argument 201 do_add_service(struct binder_state *bs, const uint16_t *s, size_t len, uint32_t handle, uid_t uid, int allow_isolated, pid_t spid) argument [all...] |
/frameworks/av/drm/drmserver/ |
H A D | DrmManagerService.cpp | 61 bool DrmManagerService::selinuxIsProtectedCallAllowed(pid_t spid, drm_perm_t perm) { argument 70 if (getpidcon(spid, &sctx) != 0) { 71 ALOGE("SELinux: getpidcon(pid=%d) failed.\n", spid); 88 pid_t spid = ipcState->getCallingPid(); local 92 return selinuxIsProtectedCallAllowed(spid, perm);
|
H A D | DrmManagerService.h | 63 static bool selinuxIsProtectedCallAllowed(pid_t spid, drm_perm_t perm);
|
Completed in 68 milliseconds