diff options
| author | Paul Menage <[email protected]> | 2008-07-25 01:46:58 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-07-25 10:53:35 -0700 |
| commit | db3b14978abc02041046ed8353f0899cb58ffffc (patch) | |
| tree | 355ba027c6354bd13bcbb5318e8478b3de4599e9 /include/linux/timerqueue.h | |
| parent | ce16b49d37e748574f7fabc2726268d542d0aa1a (diff) | |
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 <[email protected]>
Cc: Paul Jackson <[email protected]>
Cc: Pavel Emelyanov <[email protected]>
Acked-by: Balbir Singh <[email protected]>
Acked-by: Serge Hallyn <[email protected]>
Cc: KAMEZAWA Hiroyuki <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions