Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e0d55a18 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "SafetyNet logging from vendor."

parents 7ab76b1c 5516d77f
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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);
    }
+0 −2
Original line number Diff line number Diff line
@@ -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);