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


Groups > linux.kernel > #1344241 > unrolled thread

Re: [lxc-devel] CGroup Namespaces (v10)

Started byAlban Crequy <alban.crequy@gmail.com>
First post2016-02-26 14:20 +0100
Last post2016-02-26 23:50 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [lxc-devel] CGroup Namespaces (v10) Alban Crequy <alban.crequy@gmail.com> - 2016-02-26 14:20 +0100
    Re: [lxc-devel] CGroup Namespaces (v10) Serge Hallyn <serge.hallyn@ubuntu.com> - 2016-02-26 23:50 +0100

#1344241 — Re: [lxc-devel] CGroup Namespaces (v10)

FromAlban Crequy <alban.crequy@gmail.com>
Date2016-02-26 14:20 +0100
SubjectRe: [lxc-devel] CGroup Namespaces (v10)
Message-ID<r6qtk-3P8-9@gated-at.bofh.it>
Hi,

On 29 January 2016 at 09:54,  <serge.hallyn@ubuntu.com> wrote:
> Hi,
>
> following is a revised set of the CGroup Namespace patchset which Aditya
> Kali has previously sent.  The code can also be found in the cgroupns.v10
> branch of
>
> https://git.kernel.org/cgit/linux/kernel/git/sergeh/linux-security.git/
>
> To summarize the semantics:
>
> 1. CLONE_NEWCGROUP re-uses 0x02000000, which was previously CLONE_STOPPED

What's the best way for a userspace application to test at run-time
whether the kernel supports cgroup namespaces? Would you recommend to
test if the file /proc/self/ns/cgroup exists?

Thanks!
Alban

[toc] | [next] | [standalone]


#1344804

FromSerge Hallyn <serge.hallyn@ubuntu.com>
Date2016-02-26 23:50 +0100
Message-ID<r6zmW-1EG-7@gated-at.bofh.it>
In reply to#1344241
Quoting Alban Crequy (alban.crequy@gmail.com):
> Hi,
> 
> On 29 January 2016 at 09:54,  <serge.hallyn@ubuntu.com> wrote:
> > Hi,
> >
> > following is a revised set of the CGroup Namespace patchset which Aditya
> > Kali has previously sent.  The code can also be found in the cgroupns.v10
> > branch of
> >
> > https://git.kernel.org/cgit/linux/kernel/git/sergeh/linux-security.git/
> >
> > To summarize the semantics:
> >
> > 1. CLONE_NEWCGROUP re-uses 0x02000000, which was previously CLONE_STOPPED
> 
> What's the best way for a userspace application to test at run-time
> whether the kernel supports cgroup namespaces? Would you recommend to
> test if the file /proc/self/ns/cgroup exists?

Yup.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web