Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1248075

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

From Kees Cook <keescook@chromium.org>
Newsgroups linux.kernel
Subject Re: [PATCH v3] selftests/seccomp: build and pass on arm64
Date 2015-10-15 20:50 +0200
Message-ID <qjVLb-6zi-7@gated-at.bofh.it> (permalink)
References <qgGfE-7en-23@gated-at.bofh.it> <qjRog-dR-53@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Oct 15, 2015 at 7:07 AM, Shuah Khan <shuahkh@osg.samsung.com> 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 arm64, switch to using nanosleep
>> for testing restart_syscall. And since it looks like the syscall ABI is
>> inconsistent on arm-compat, so we must work around it (and document it) in
>> the test.
>>
>> Signed-off-by: Kees Cook <keescook@chromium.org>
>> ---
>> v3:
>>  - correctly set syscall number on native arm64.
>> v2:
>>  - switch to nanosleep from a bad mix of poll and ppoll for testing restart.
>> ---
>
> Is this good to go? Failed to apply to linux-kselftest next.
> If you can rebase and resend. I can get this into 4.4-rc1

Yes please. :)

Thanks!

-Kees

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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3] selftests/seccomp: build and pass on arm64 Kees Cook <keescook@chromium.org> - 2015-10-06 21:40 +0200
  Re: [PATCH v3] selftests/seccomp: build and pass on arm64 Shuah Khan <shuahkh@osg.samsung.com> - 2015-10-15 16:10 +0200
    Re: [PATCH v3] selftests/seccomp: build and pass on arm64 Kees Cook <keescook@chromium.org> - 2015-10-15 20:50 +0200
      Re: [PATCH v3] selftests/seccomp: build and pass on arm64 Shuah Khan <shuahkh@osg.samsung.com> - 2015-10-15 22:10 +0200
        Re: [PATCH v3] selftests/seccomp: build and pass on arm64 Kees Cook <keescook@chromium.org> - 2015-10-16 00:10 +0200
          Re: [PATCH v3] selftests/seccomp: build and pass on arm64 Shuah Khan <shuahkh@osg.samsung.com> - 2015-10-16 01:10 +0200
            Re: [PATCH v3] selftests/seccomp: build and pass on arm64 Kees Cook <keescook@chromium.org> - 2015-10-16 01:10 +0200
              Re: [PATCH v3] selftests/seccomp: build and pass on arm64 Shuah Khan <shuahkh@osg.samsung.com> - 2015-10-16 04:20 +0200
          Re: [PATCH v3] selftests/seccomp: build and pass on arm64 Shuah Khan <shuahkh@osg.samsung.com> - 2015-10-16 01:10 +0200

csiph-web