diff options
author | Corey Minyard <minyard@acm.org> | 2005-09-07 00:18:46 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-08 01:57:49 +0200 |
commit | 8c702e16207c70119d03df924de35f8c3629a5c4 (patch) | |
tree | f2d8ae84df7fd510f135a8074e0da67592372138 /mm/page_io.c | |
parent | [PATCH] ipmi: remove unused fields (diff) | |
download | linux-8c702e16207c70119d03df924de35f8c3629a5c4.tar.xz linux-8c702e16207c70119d03df924de35f8c3629a5c4.zip |
[PATCH] ipmi poweroff: fix chassis control
The IPMI power control function proc_write_chassctrl was badly written, it
directly used userspace pointers, it assumed that strings were NULL
terminated, and it used the evil sscanf function. This converts over to
using the sysctl interface for this data and changes the semantics to be a
little more logical.
Signed-off-by: Corey Minyard <minyard@acm.org>
Cc: <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/page_io.c')
0 files changed, 0 insertions, 0 deletions