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

Commit 24f32924 authored by Daniel Kurtz's avatar Daniel Kurtz
Browse files

Revert "seccomp: arm64: Fix compile time errors"



This reverts commit 54257282.

To be replaced with arm64 seccomp from mainline v3.19.

Signed-off-by: default avatarDaniel Kurtz <djkurtz@google.com>
parent e623b152
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() == -1)
	if (secure_computing(regs->syscallno) == -1)
		return RET_SKIP_SYSCALL_TRACE;

	if (test_thread_flag(TIF_SYSCALL_TRACE))