drbd: Work on permission enforcement
authorPhilipp Reisner <philipp.reisner@linbit.com>
Tue, 6 Oct 2009 07:30:14 +0000 (09:30 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 6 Oct 2009 07:30:14 +0000 (09:30 +0200)
commit9f5180e5c331d7b3ccc35e1a78072235d38f9f34
treed4d116f9bee360007c15b50fee86bf3a27566102
parent25d2d4edfa509b69fe4832094b8a07e634363ba3
drbd: Work on permission enforcement

Now we have the capabilities of the sending process available,
use them to enforce CAP_SYS_ADMIN.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/block/drbd/drbd_nl.c
include/linux/drbd.h