From mboxrd@z Thu Jan 1 00:00:00 1970 From: Serge Hallyn Subject: Re: [PATCH v6 9/9] devcg: propagate local changes down the hierarchy Date: Mon, 11 Feb 2013 14:47:29 -0600 Message-ID: <20130211204729.GA12224@sergelap> References: <20130130171101.060853036@napanee.usersys.redhat.com> <20130130171102.390708521@napanee.usersys.redhat.com> <20130131043839.GA14726@mail.hallyn.com> <20130205183646.GT17632@redhat.com> <20130209040402.GA31942@mail.hallyn.com> <20130211143241.GF30962@redhat.com> <20130211174259.GA18179@mail.hallyn.com> <20130211183847.GG30962@redhat.com> <20130211185239.GA18779@mail.hallyn.com> <20130211190251.GH30962@redhat.com> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <20130211190251.GH30962-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Aristeu Rozanski Cc: "Serge E. Hallyn" , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Tejun Heo , Serge Hallyn Quoting Aristeu Rozanski (aris-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org): > On Mon, Feb 11, 2013 at 06:52:39PM +0000, Serge E. Hallyn wrote: > > > getting rid of local settings would buy more simplicity > > > > (Not sure which you mean here by 'getting rid of local settings') > > no local.{behavior,exceptions}, which still would allow behavior > propagation, but simply wouldn't keep local behavior or exceptions. > a change in behavior on parent would simply reset the child to parent's Why would that be necessary? If I add permission to the parent, I just don't propagate it. If I remove permission from the parent, I make sure all children don't have that permission, but keep everything else. The child's permission is never allowed to exceed its parent's. We don't need to reset the child's to the parent's. > state. exception propagation would mean inserting/removing the new > exception and making sure the others are still valid. > > -- > Aristeu >