]> git.ipfire.org Git - thirdparty/mdadm.git/commit
allow --monitor to be run by non-privileged use.
authorNeilBrown <neilb@suse.de>
Thu, 22 Dec 2011 20:42:23 +0000 (07:42 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 22 Dec 2011 20:42:23 +0000 (07:42 +1100)
commitba3903d416524e0fb002eca971ce6026e5f2c3af
tree663c770b3fad42fc957968d6c90bf40a12a713eb
parent3e9df86add05b3a759148a8a1760a44887654322
allow --monitor to be run by non-privileged use.

Providing --no-sharing is given, monitoring should be permitted.

Unfortunately the kernel current rejects GET_DISK_INFO and
GET_ARRAY_INFO for non-privileged users which is unjustified.
The info is available in sysfs and we could get it from there,
but for now, require the kernel to be fixed.

Reported-by: Raphael Hertzog <hertzog@debian.org>
Signed-off-by: NeilBrown <neilb@suse.de>
mdadm.c