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

Commit bbdb928c authored by Kyle Yan's avatar Kyle Yan
Browse files

Revert "android: binder: Enable preemption for security_binder_transfer_file"



This reverts commit cc2dec9c.

Change no longer needed due to introduction of fine-grained locking.

Change-Id: I84c9d28f2e778a9606e13296fbd526fcf53d721a
Signed-off-by: default avatarKyle Yan <kyan@codeaurora.org>
parent 1f5fefc6
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1694,9 +1694,7 @@ static int binder_translate_fd(int fd,
		ret = -EBADF;
		goto err_fget;
	}
	preempt_enable_no_resched();
	ret = security_binder_transfer_file(proc->tsk, target_proc->tsk, file);
	preempt_disable();
	if (ret < 0) {
		ret = -EPERM;
		goto err_security;