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


Groups > linux.kernel > #1672825

Re: seccomp ptrace selftest failures with 4.4-stable [Was: Re: LTS testing with latest kselftests - some failures]

From Kees Cook <keescook@chromium.org>
Newsgroups linux.kernel
Subject Re: seccomp ptrace selftest failures with 4.4-stable [Was: Re: LTS testing with latest kselftests - some failures]
Date 2017-06-22 19:00 +0200
Message-ID <tVdCy-7lD-5@gated-at.bofh.it> (permalink)
References <tVcZR-77P-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Jun 22, 2017 at 9:18 AM, Sumit Semwal <sumit.semwal@linaro.org> wrote:
> Hi Kees, Andy,
>
> On 15 June 2017 at 23:26, Sumit Semwal <sumit.semwal@linaro.org> wrote:
>> 3. 'seccomp ptrace hole closure' patches got added in 4.7 [3] -
>> feature and test together.
>> - This one also seems like a security hole being closed, and the
>> 'feature' could be a candidate for stable backports, but Arnd tried
>> that, and it was quite non-trivial. So perhaps  we'll need some help
>> from the subsystem developers here.
>
> Could you please help us sort this out? Our goal is to help Greg with
> testing stable kernels, and currently the seccomp tests fail due to
> missing feature (seccomp ptrace hole closure) getting tested via
> latest kselftest.
>
> If you feel the feature isn't a stable candidate, then could you
> please help make the test degrade gracefully in its absence?

I don't really want to have that change be a backport -- it's quite
invasive across multiple architectures.

I would say just add a kernel version check to the test. This is
probably not the only selftest that will need such things. :)

I'd be happy to review such changes!

-Kees

-- 
Kees Cook
Pixel Security

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


Thread

seccomp ptrace selftest failures with 4.4-stable [Was: Re: LTS  testing with latest kselftests - some failures] Sumit Semwal <sumit.semwal@linaro.org> - 2017-06-22 18:20 +0200
  Re: seccomp ptrace selftest failures with 4.4-stable [Was: Re: LTS  testing with latest kselftests - some failures] Kees Cook <keescook@chromium.org> - 2017-06-22 19:00 +0200
    Re: seccomp ptrace selftest failures with 4.4-stable [Was: Re: LTS  testing with latest kselftests - some failures] Shuah Khan <shuah@kernel.org> - 2017-06-22 19:20 +0200
      Re: seccomp ptrace selftest failures with 4.4-stable [Was: Re: LTS  testing with latest kselftests - some failures] Andy Lutomirski <luto@kernel.org> - 2017-06-22 19:50 +0200
        Re: seccomp ptrace selftest failures with 4.4-stable [Was: Re: LTS  testing with latest kselftests - some failures] Kees Cook <keescook@chromium.org> - 2017-06-22 20:00 +0200
          Re: seccomp ptrace selftest failures with 4.4-stable [Was: Re: LTS  testing with latest kselftests - some failures] Shuah Khan <shuah@kernel.org> - 2017-06-22 21:10 +0200
            Re: seccomp ptrace selftest failures with 4.4-stable [Was: Re: LTS  testing with latest kselftests - some failures] Tom Gall <tom.gall@linaro.org> - 2017-06-22 21:50 +0200
              Re: seccomp ptrace selftest failures with 4.4-stable [Was: Re: LTS  testing with latest kselftests - some failures] Shuah Khan <shuah@kernel.org> - 2017-06-22 22:30 +0200
                Re: seccomp ptrace selftest failures with 4.4-stable [Was: Re: LTS  testing with latest kselftests - some failures] Sumit Semwal <sumit.semwal@linaro.org> - 2017-06-23 06:10 +0200
                Re: seccomp ptrace selftest failures with 4.4-stable [Was: Re: LTS  testing with latest kselftests - some failures] Shuah Khan <shuah@kernel.org> - 2017-06-23 17:40 +0200
              Re: seccomp ptrace selftest failures with 4.4-stable [Was: Re: LTS  testing with latest kselftests - some failures] Shuah Khan <shuah@kernel.org> - 2017-06-23 21:10 +0200
                Re: seccomp ptrace selftest failures with 4.4-stable [Was: Re: LTS  testing with latest kselftests - some failures] Tom Gall <tom.gall@linaro.org> - 2017-06-23 21:50 +0200
          Re: seccomp ptrace selftest failures with 4.4-stable [Was: Re: LTS  testing with latest kselftests - some failures] Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-06-23 04:00 +0200
            Re: seccomp ptrace selftest failures with 4.4-stable [Was: Re: LTS  testing with latest kselftests - some failures] Andy Lutomirski <luto@kernel.org> - 2017-06-23 04:50 +0200
              Re: seccomp ptrace selftest failures with 4.4-stable [Was: Re: LTS  testing with latest kselftests - some failures] Kees Cook <keescook@chromium.org> - 2017-06-23 06:10 +0200
              Re: seccomp ptrace selftest failures with 4.4-stable [Was: Re: LTS  testing with latest kselftests - some failures] "Luis R. Rodriguez" <mcgrof@kernel.org> - 2017-06-24 02:40 +0200
                Re: seccomp ptrace selftest failures with 4.4-stable [Was: Re: LTS  testing with latest kselftests - some failures] Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-06-24 06:50 +0200
                Re: seccomp ptrace selftest failures with 4.4-stable [Was: Re: LTS  testing with latest kselftests - some failures] "Luis R. Rodriguez" <mcgrof@kernel.org> - 2017-06-26 23:50 +0200
              Re: seccomp ptrace selftest failures with 4.4-stable [Was: Re: LTS  testing with latest kselftests - some failures] Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-06-24 06:50 +0200

csiph-web