Re: [PATCH v3] selftests/seccomp: build and pass on arm64

2015-10-15 Thread Shuah Khan
On 10/15/2015 05:02 PM, Kees Cook wrote: > On Thu, Oct 15, 2015 at 4:01 PM, Shuah Khan wrote: >> On 10/15/2015 05:00 PM, Shuah Khan wrote: >>> On 10/15/2015 04:07 PM, Kees Cook wrote: On Thu, Oct 15, 2015 at 1:06 PM, Shuah Khan wrote: > On 10/15/2015 12:42 PM, Kees Cook wrote:

Re: [PATCH v3] selftests/seccomp: build and pass on arm64

2015-10-15 Thread Kees Cook
On Thu, Oct 15, 2015 at 4:01 PM, Shuah Khan wrote: > On 10/15/2015 05:00 PM, Shuah Khan wrote: >> On 10/15/2015 04:07 PM, Kees Cook wrote: >>> On Thu, Oct 15, 2015 at 1:06 PM, Shuah Khan wrote: On 10/15/2015 12:42 PM, Kees Cook wrote: > On Thu, Oct 15, 2015 at 7:07 AM, Shuah Khan

Re: [PATCH v3] selftests/seccomp: build and pass on arm64

2015-10-15 Thread Shuah Khan
On 10/15/2015 05:00 PM, Shuah Khan wrote: > On 10/15/2015 04:07 PM, Kees Cook wrote: >> On Thu, Oct 15, 2015 at 1:06 PM, Shuah Khan wrote: >>> On 10/15/2015 12:42 PM, Kees Cook wrote: On Thu, Oct 15, 2015 at 7:07 AM, Shuah Khan wrote: > On 10/06/2015 01:30 PM, Kees Cook wrote:

Re: [PATCH v3] selftests/seccomp: build and pass on arm64

2015-10-15 Thread Shuah Khan
On 10/15/2015 04:07 PM, Kees Cook wrote: > On Thu, Oct 15, 2015 at 1:06 PM, Shuah Khan wrote: >> On 10/15/2015 12:42 PM, Kees Cook wrote: >>> On Thu, Oct 15, 2015 at 7:07 AM, Shuah Khan wrote: On 10/06/2015 01:30 PM, Kees Cook wrote: > Changing arm64 syscalls is done via a specific

Re: [PATCH v3] selftests/seccomp: build and pass on arm64

2015-10-15 Thread Kees Cook
On Thu, Oct 15, 2015 at 1:06 PM, Shuah Khan wrote: > On 10/15/2015 12:42 PM, Kees Cook wrote: >> On Thu, Oct 15, 2015 at 7:07 AM, Shuah Khan wrote: >>> On 10/06/2015 01:30 PM, Kees Cook wrote: Changing arm64 syscalls is done via a specific register set, more like s390 than like arm

Re: [PATCH v3] selftests/seccomp: build and pass on arm64

2015-10-15 Thread Shuah Khan
On 10/15/2015 12:42 PM, Kees Cook wrote: > On Thu, Oct 15, 2015 at 7:07 AM, Shuah Khan wrote: >> On 10/06/2015 01:30 PM, Kees Cook wrote: >>> Changing arm64 syscalls is done via a specific register set, more like s390 >>> than like arm (specific ptrace call) and x86 (part of general registers).

Re: [PATCH v3] selftests/seccomp: build and pass on arm64

2015-10-15 Thread Kees Cook
On Thu, Oct 15, 2015 at 7:07 AM, Shuah Khan wrote: > On 10/06/2015 01:30 PM, Kees Cook wrote: >> Changing arm64 syscalls is done via a specific register set, more like s390 >> than like arm (specific ptrace call) and x86 (part of general registers). >> Since (restarting) poll doesn't exist on

Re: [PATCH v3] selftests/seccomp: build and pass on arm64

2015-10-15 Thread Shuah Khan
On 10/06/2015 01:30 PM, Kees Cook wrote: > Changing arm64 syscalls is done via a specific register set, more like s390 > than like arm (specific ptrace call) and x86 (part of general registers). > Since (restarting) poll doesn't exist on arm64, switch to using nanosleep > for testing

Re: [PATCH v3] selftests/seccomp: build and pass on arm64

2015-10-15 Thread Shuah Khan
On 10/06/2015 01:30 PM, Kees Cook wrote: > Changing arm64 syscalls is done via a specific register set, more like s390 > than like arm (specific ptrace call) and x86 (part of general registers). > Since (restarting) poll doesn't exist on arm64, switch to using nanosleep > for testing

Re: [PATCH v3] selftests/seccomp: build and pass on arm64

2015-10-15 Thread Shuah Khan
On 10/15/2015 12:42 PM, Kees Cook wrote: > On Thu, Oct 15, 2015 at 7:07 AM, Shuah Khan wrote: >> On 10/06/2015 01:30 PM, Kees Cook wrote: >>> Changing arm64 syscalls is done via a specific register set, more like s390 >>> than like arm (specific ptrace call) and x86 (part

Re: [PATCH v3] selftests/seccomp: build and pass on arm64

2015-10-15 Thread Kees Cook
On Thu, Oct 15, 2015 at 4:01 PM, Shuah Khan wrote: > On 10/15/2015 05:00 PM, Shuah Khan wrote: >> On 10/15/2015 04:07 PM, Kees Cook wrote: >>> On Thu, Oct 15, 2015 at 1:06 PM, Shuah Khan wrote: On 10/15/2015 12:42 PM, Kees Cook wrote: >

Re: [PATCH v3] selftests/seccomp: build and pass on arm64

2015-10-15 Thread Shuah Khan
On 10/15/2015 05:00 PM, Shuah Khan wrote: > On 10/15/2015 04:07 PM, Kees Cook wrote: >> On Thu, Oct 15, 2015 at 1:06 PM, Shuah Khan wrote: >>> On 10/15/2015 12:42 PM, Kees Cook wrote: On Thu, Oct 15, 2015 at 7:07 AM, Shuah Khan wrote:

Re: [PATCH v3] selftests/seccomp: build and pass on arm64

2015-10-15 Thread Shuah Khan
On 10/15/2015 05:02 PM, Kees Cook wrote: > On Thu, Oct 15, 2015 at 4:01 PM, Shuah Khan wrote: >> On 10/15/2015 05:00 PM, Shuah Khan wrote: >>> On 10/15/2015 04:07 PM, Kees Cook wrote: On Thu, Oct 15, 2015 at 1:06 PM, Shuah Khan wrote:

Re: [PATCH v3] selftests/seccomp: build and pass on arm64

2015-10-15 Thread Shuah Khan
On 10/15/2015 04:07 PM, Kees Cook wrote: > On Thu, Oct 15, 2015 at 1:06 PM, Shuah Khan wrote: >> On 10/15/2015 12:42 PM, Kees Cook wrote: >>> On Thu, Oct 15, 2015 at 7:07 AM, Shuah Khan wrote: On 10/06/2015 01:30 PM, Kees Cook wrote: >

Re: [PATCH v3] selftests/seccomp: build and pass on arm64

2015-10-15 Thread Kees Cook
On Thu, Oct 15, 2015 at 1:06 PM, Shuah Khan wrote: > On 10/15/2015 12:42 PM, Kees Cook wrote: >> On Thu, Oct 15, 2015 at 7:07 AM, Shuah Khan wrote: >>> On 10/06/2015 01:30 PM, Kees Cook wrote: Changing arm64 syscalls is done via a specific

Re: [PATCH v3] selftests/seccomp: build and pass on arm64

2015-10-15 Thread Kees Cook
On Thu, Oct 15, 2015 at 7:07 AM, Shuah Khan wrote: > On 10/06/2015 01:30 PM, Kees Cook wrote: >> Changing arm64 syscalls is done via a specific register set, more like s390 >> than like arm (specific ptrace call) and x86 (part of general registers). >> Since (restarting)