Re: [RFC][PATCH 0/7] CGroup API: More structured API for CGroups control files

From: Paul Menage
Date: Sat Feb 16 2008 - 12:40:31 EST


On Feb 16, 2008 1:31 AM, Li Zefan <lizf@xxxxxxxxxxxxxx> 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
--
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/