Re: [PATCH 1/2] cgroup allow subsys to set default mode of its own file

From: Li Zefan
Date: Thu Feb 26 2009 - 19:40:51 EST


> But I don't see why we can't figure out the mode automatically based
> on whether or not there's a write handler defined for the control
> file.
>

This almost works.. except for 'tasks' file, which has no 'read' handler
but is readable.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/