diff options
| author | NeilBrown <[email protected]> | 2006-07-10 04:44:19 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-07-10 13:24:17 -0700 |
| commit | 67463acb646904d76a8e237cc31eaa87872f30cc (patch) | |
| tree | 4ccf373165581ed898328ca03365abfdd7d23a04 /include/linux | |
| parent | 80ca3a44f563a763fa872390dcb393f2d82027bf (diff) | |
[PATCH] md: require CAP_SYS_ADMIN for (re-)configuring md devices via sysfs
The ioctl requires CAP_SYS_ADMIN, so sysfs should too. Note that we don't
require CAP_SYS_ADMIN for reading attributes even though the ioctl does.
There is no reason to limit the read access, and much of the information is
already available via /proc/mdstat
Cc: Chris Wright <[email protected]>
Signed-off-by: Neil Brown <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions