[Devel] Re: [RFC][PATCH 0/7] CGroup API: More structured API for CGroups control files
Paul Menage
menage at google.com
Sat Feb 16 09:40:18 PST 2008
On Feb 16, 2008 1:31 AM, Li Zefan <lizf at cn.fujitsu.com> wrote:
>
> I don't quite catch what you mean. Cgoup does support write-only/read-only
> files. For a write-only file, just set .write and .write_uint to be NULL,
> similar for a read-only file.
>
> Do I miss something?
>
I suppose we could infer from the lack of any write handlers that we
should give the file in the filesystem a mode of 444 rather 644.
Paul
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list