Messages in this thread | | | Date | Sat, 16 Feb 2008 09:40:18 -0800 | From | "Paul Menage" <> | Subject | Re: [RFC][PATCH 0/7] CGroup API: More structured API for CGroups control files |
| |
On Feb 16, 2008 1:31 AM, Li Zefan <lizf@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
| |