Re: [RESEND PATCH v4 2/2] arm64: Add seccomp support

From: Will Deacon
Date: Thu Jul 10 2014 - 04:48:41 EST


On Thu, Jul 10, 2014 at 05:33:50AM +0100, AKASHI Takahiro wrote:
> Will,
>
> > (1) Updating syscallno based on w8, but this ties us to the current ABI
> > and could get messy if this register changes in the future.
>
> So, is this the conclusion that I should follow?

I think so, with the exception that if the tracer/debugger sets it to -1 to
abort the syscall, then we should restore the original value.

Will
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/