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

Commit 54257282 authored by Ruchi Kandoi's avatar Ruchi Kandoi
Browse files

seccomp: arm64: Fix compile time errors



Upstream patch a4412fc9 changes the function
definition for secure_computing(). This fixes the compile time error caused
by the commit.

Signed-off-by: default avatarRuchi <Kandoi&lt;kandoiruchi@google.com>
parent cf9e8684
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1130,7 +1130,7 @@ asmlinkage int syscall_trace_enter(struct pt_regs *regs)
	unsigned int saved_syscallno = regs->syscallno;

	/* Do the secure computing check first; failures should be fast. */
	if (secure_computing(regs->syscallno) == -1)
	if (secure_computing() == -1)
		return RET_SKIP_SYSCALL_TRACE;

	if (test_thread_flag(TIF_SYSCALL_TRACE))