diff options
author | Paul Menage <menage@google.com> | 2008-07-25 01:46:58 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-25 10:53:35 -0700 |
commit | db3b14978abc02041046ed8353f0899cb58ffffc (patch) | |
tree | 355ba027c6354bd13bcbb5318e8478b3de4599e9 /sound/ppc/Kconfig | |
parent | ce16b49d37e748574f7fabc2726268d542d0aa1a (diff) | |
download | linux-db3b14978abc02041046ed8353f0899cb58ffffc.tar.gz linux-db3b14978abc02041046ed8353f0899cb58ffffc.tar.bz2 linux-db3b14978abc02041046ed8353f0899cb58ffffc.zip |
cgroup files: add write_string cgroup control file method
This patch adds a write_string() method for cgroups control files. The
semantics are that a buffer is copied from userspace to kernelspace
and the handler function invoked on that buffer. The buffer is
guaranteed to be nul-terminated, and no longer than max_write_len
(defaulting to 64 bytes if unspecified). Later patches will convert
existing raw file write handlers in control group subsystems to use
this method.
Signed-off-by: Paul Menage <menage@google.com>
Cc: Paul Jackson <pj@sgi.com>
Cc: Pavel Emelyanov <xemul@openvz.org>
Acked-by: Balbir Singh <balbir@in.ibm.com>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'sound/ppc/Kconfig')
0 files changed, 0 insertions, 0 deletions