[PATCH 0/4] cgroups: show correct file mode

Paul Menage menage at google.com
Mon Mar 2 10:19:15 PST 2009

On Sun, Mar 1, 2009 at 6:13 PM, Li Zefan <lizf at cn.fujitsu.com> wrote:
> Now a cgroup subsystem can set default file mode of its control files,
> so here is a patchset to correct file mode of each subsystem's files.

I really think that we should be defaulting this based on whether the
control file has read or write handlers.

Sure, there are special cases like "tasks" that we'd need to set a
manual value for, but most of these patches would be unnecessary.


> Should be applied after:
>        cgroup-allow-subsys-to-set-default-mode-of-its-own-file.patch
> [PATCH 1/4] cgroup debug: show correct file mode
> [PATCH 2/4] cpuacct: show correct file mode
> [PATCH 3/4] devcgroup: show correct file mode
> [PATCH 4/4] cpuset: show correct file mode

More information about the Containers mailing list