Loading cmds/servicemanager/binder.c +0 −2 Original line number Diff line number Diff line Loading @@ -154,9 +154,7 @@ int binder_become_context_manager(struct binder_state *bs) // fallback to original method if (result != 0) { #ifndef VENDORSERVICEMANAGER android_errorWriteLog(0x534e4554, "121035042"); #endif result = ioctl(bs->fd, BINDER_SET_CONTEXT_MGR, 0); } Loading cmds/servicemanager/service_manager.c +0 −2 Original line number Diff line number Diff line Loading @@ -77,11 +77,9 @@ static bool check_mac_perms(pid_t spid, const char* sid, uid_t uid, const char * ad.uid = uid; ad.name = name; #ifndef VENDORSERVICEMANAGER if (sid == NULL) { android_errorWriteLog(0x534e4554, "121035042"); } #endif int result = selinux_check_access(sid ? sid : lookup_sid, tctx, class, perm, (void *) &ad); allowed = (result == 0); Loading Loading
cmds/servicemanager/binder.c +0 −2 Original line number Diff line number Diff line Loading @@ -154,9 +154,7 @@ int binder_become_context_manager(struct binder_state *bs) // fallback to original method if (result != 0) { #ifndef VENDORSERVICEMANAGER android_errorWriteLog(0x534e4554, "121035042"); #endif result = ioctl(bs->fd, BINDER_SET_CONTEXT_MGR, 0); } Loading
cmds/servicemanager/service_manager.c +0 −2 Original line number Diff line number Diff line Loading @@ -77,11 +77,9 @@ static bool check_mac_perms(pid_t spid, const char* sid, uid_t uid, const char * ad.uid = uid; ad.name = name; #ifndef VENDORSERVICEMANAGER if (sid == NULL) { android_errorWriteLog(0x534e4554, "121035042"); } #endif int result = selinux_check_access(sid ? sid : lookup_sid, tctx, class, perm, (void *) &ad); allowed = (result == 0); Loading