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


Groups > linux.kernel > #1315339

Re: [PATCH 2/2] sysctl: allow CLONE_NEWUSER to be disabled

From Kees Cook <keescook@chromium.org>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] sysctl: allow CLONE_NEWUSER to be disabled
Date 2016-01-23 00:10 +0100
Message-ID <qTT06-2t8-15@gated-at.bofh.it> (permalink)
References <qTSx5-20U-27@gated-at.bofh.it> <qTSx5-20U-25@gated-at.bofh.it> <qTSGJ-24Y-1@gated-at.bofh.it> <qTSQq-28S-19@gated-at.bofh.it> <qTSQq-28S-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Jan 22, 2016 at 2:55 PM, Robert Święcki <robert@swiecki.net> wrote:
> 2016-01-22 23:50 GMT+01:00 Kees Cook <keescook@chromium.org>:
>
>>> Seems that Debian and some older Ubuntu versions are already using
>>>
>>> $ sysctl -a | grep usern
>>> kernel.unprivileged_userns_clone = 0
>>>
>>> Shall we be consistent wit it?
>>
>> Oh! I didn't see that on systems I checked. On which version did you find that?
>
> $ uname -a
> Linux bc1 4.3.0-0.bpo.1-amd64 #1 SMP Debian 4.3.3-5~bpo8+1
> (2016-01-07) x86_64 GNU/Linux
> $ cat /etc/debian_version
> 8.2

Ah-ha, Debian only, though it looks like this was just committed to
the Ubuntu kernel tree too:


> IIRC some older kernels delivered with Ubuntu Precise were also using
> it (but maybe I'm mistaken)

I don't see it there.

I think my patch is more complete, but I'm happy to change the name if
this sysctl has already started to enter the global consciousness. ;)

Serge, Ben, what do you think?

-Kees


-- 
Kees Cook
Chrome OS & Brillo Security

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


Thread

[PATCH 2/2] sysctl: allow CLONE_NEWUSER to be disabled Kees Cook <keescook@chromium.org> - 2016-01-22 23:40 +0100
  Re: [PATCH 2/2] sysctl: allow CLONE_NEWUSER to be disabled Robert Święcki <robert@swiecki.net> - 2016-01-22 23:50 +0100
    Re: [PATCH 2/2] sysctl: allow CLONE_NEWUSER to be disabled Robert Święcki <robert@swiecki.net> - 2016-01-23 00:00 +0100
      Re: [PATCH 2/2] sysctl: allow CLONE_NEWUSER to be disabled Kees Cook <keescook@chromium.org> - 2016-01-23 00:10 +0100
        Re: [PATCH 2/2] sysctl: allow CLONE_NEWUSER to be disabled Serge Hallyn <serge.hallyn@ubuntu.com> - 2016-01-23 01:50 +0100
        Re: [PATCH 2/2] sysctl: allow CLONE_NEWUSER to be disabled Serge Hallyn <serge.hallyn@ubuntu.com> - 2016-01-23 01:50 +0100
        Re: [kernel-hardening] Re: [PATCH 2/2] sysctl: allow CLONE_NEWUSER  to be disabled Ben Hutchings <ben@decadent.org.uk> - 2016-01-23 02:10 +0100
          Re: [kernel-hardening] Re: [PATCH 2/2] sysctl: allow CLONE_NEWUSER to  be disabled Kees Cook <keescook@chromium.org> - 2016-01-24 22:00 +0100
            Re: [kernel-hardening] Re: [PATCH 2/2] sysctl: allow CLONE_NEWUSER to  be disabled Andy Lutomirski <luto@amacapital.net> - 2016-01-24 23:30 +0100
              Re: [kernel-hardening] Re: [PATCH 2/2] sysctl: allow CLONE_NEWUSER to  be disabled Kees Cook <keescook@chromium.org> - 2016-01-25 20:00 +0100
    Re: [PATCH 2/2] sysctl: allow CLONE_NEWUSER to be disabled Kees Cook <keescook@chromium.org> - 2016-01-23 00:00 +0100

csiph-web