Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1404587
| From | Aleksa Sarai <asarai@suse.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v4 0/2] cgroup: allow management of subtrees by new cgroup namespaces |
| Date | 2016-05-20 18:40 +0200 |
| Message-ID | <rAVCW-7On-7@gated-at.bofh.it> (permalink) |
| References | (3 earlier) <rAUGS-7fU-25@gated-at.bofh.it> <rAV9T-7EI-5@gated-at.bofh.it> <rAV9T-7EI-9@gated-at.bofh.it> <rAVjA-7HU-13@gated-at.bofh.it> <rAVtf-7Ld-21@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
>> This is stemming from the fact that an unpriv application can't >> create its sub-cgroups without explicit delegation from the root and >> that has always been an explicit design choice. >> It's tied to who's responsible for cleanup afterwards and what >> happens when the process gets migrated to a different cgroup. The >> latter is an important issue on v1 hierarchies because migrating >> tasks sometimes is used as a way to control resource distribution. > > OK, so is the only problem cleanup? If so, what if I proposed that a > cgroup directory could only be created by the owner of the userns > (which would be any old unprivileged user) iff they create a cgroup ns > and the cgroup ns would be responsible for removing it again, so the > cgroup subdirectory would be tied to the cgroup namespace as its holder > and we'd use release of the cgroup to remove all the directories? The only question I'd have is how would we deal with visibility (and should a "parent" cgroup namespace be able to modify things inside the cgroup?). And of course, how would that interact with VFS? -- Aleksa Sarai Software Engineer (Containers) SUSE Linux GmbH https://www.cyphar.com/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v4 0/2] cgroup: allow management of subtrees by new cgroup namespaces Aleksa Sarai <asarai@suse.de> - 2016-05-14 05:30 +0200
[PATCH v4 2/2] cgroup: implement subtree creation on copy_cgroup_ns() Aleksa Sarai <asarai@suse.de> - 2016-05-14 05:30 +0200
Re: [PATCH v4 0/2] cgroup: allow management of subtrees by new cgroup namespaces Aleksa Sarai <asarai@suse.de> - 2016-05-20 16:50 +0200
Re: [PATCH v4 0/2] cgroup: allow management of subtrees by new cgroup namespaces Tejun Heo <tj@kernel.org> - 2016-05-20 17:30 +0200
Re: [PATCH v4 0/2] cgroup: allow management of subtrees by new cgroup namespaces James Bottomley <James.Bottomley@HansenPartnership.com> - 2016-05-20 17:40 +0200
Re: [PATCH v4 0/2] cgroup: allow management of subtrees by new cgroup namespaces Tejun Heo <tj@kernel.org> - 2016-05-20 18:10 +0200
Re: [PATCH v4 0/2] cgroup: allow management of subtrees by new cgroup namespaces James Bottomley <James.Bottomley@HansenPartnership.com> - 2016-05-20 18:10 +0200
Re: [PATCH v4 0/2] cgroup: allow management of subtrees by new cgroup namespaces Tejun Heo <tj@kernel.org> - 2016-05-20 18:20 +0200
Re: [PATCH v4 0/2] cgroup: allow management of subtrees by new cgroup namespaces James Bottomley <James.Bottomley@HansenPartnership.com> - 2016-05-20 18:30 +0200
Re: [PATCH v4 0/2] cgroup: allow management of subtrees by new cgroup namespaces Aleksa Sarai <asarai@suse.de> - 2016-05-20 18:40 +0200
Re: [PATCH v4 0/2] cgroup: allow management of subtrees by new cgroup namespaces Tejun Heo <tj@kernel.org> - 2016-05-20 19:10 +0200
Re: [PATCH v4 0/2] cgroup: allow management of subtrees by new cgroup namespaces James Bottomley <James.Bottomley@HansenPartnership.com> - 2016-05-20 19:30 +0200
Re: [PATCH v4 0/2] cgroup: allow management of subtrees by new cgroup namespaces Tejun Heo <tj@kernel.org> - 2016-05-20 19:50 +0200
Re: [PATCH v4 0/2] cgroup: allow management of subtrees by new cgroup namespaces Aleksa Sarai <cyphar@cyphar.com> - 2016-05-28 07:20 +0200
Re: [PATCH v4 0/2] cgroup: allow management of subtrees by new cgroup namespaces "W. Trevor King" <wking@tremily.us> - 2016-05-20 19:50 +0200
Re: [PATCH v4 0/2] cgroup: allow management of subtrees by new cgroup namespaces Aditya Kali <adityakali@google.com> - 2016-05-20 19:40 +0200
Re: [PATCH v4 0/2] cgroup: allow management of subtrees by new cgroup namespaces James Bottomley <James.Bottomley@HansenPartnership.com> - 2016-05-20 20:00 +0200
csiph-web