diff options
| author | Li Zefan <[email protected]> | 2009-04-02 16:57:29 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-04-02 19:04:54 -0700 |
| commit | 099fca3225b39f7a3ed853036038054172b55581 (patch) | |
| tree | c7a8863f9ca8a5c745297e9ee43b63494b6022d1 /tools/perf/scripts/python | |
| parent | b6719ec1ad54e47e40633b19703f2c1254708842 (diff) | |
cgroups: show correct file mode
We have some read-only files and write-only files, but currently they are
all set to 0644, which is counter-intuitive and cause trouble for some
cgroup tools like libcgroup.
This patch adds 'mode' to struct cftype to allow cgroup subsys to set it's
own files' file mode, and for the most cases cft->mode can be default to 0
and cgroup will figure out proper mode.
Acked-by: Paul Menage <[email protected]>
Reviewed-by: KAMEZAWA Hiroyuki <[email protected]>
Signed-off-by: Li Zefan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions