summaryrefslogtreecommitdiffstats
path: root/include/linux/drbd.h
diff options
context:
space:
mode:
authorPhilipp Reisner <philipp.reisner@linbit.com>2009-10-06 09:30:14 +0200
committerJens Axboe <jens.axboe@oracle.com>2009-10-06 09:30:14 +0200
commit9f5180e5c331d7b3ccc35e1a78072235d38f9f34 (patch)
treed4d116f9bee360007c15b50fee86bf3a27566102 /include/linux/drbd.h
parent25d2d4edfa509b69fe4832094b8a07e634363ba3 (diff)
downloadop-kernel-dev-9f5180e5c331d7b3ccc35e1a78072235d38f9f34.zip
op-kernel-dev-9f5180e5c331d7b3ccc35e1a78072235d38f9f34.tar.gz
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>
Diffstat (limited to 'include/linux/drbd.h')
-rw-r--r--include/linux/drbd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/drbd.h b/include/linux/drbd.h
index 69dc711..233db5c 100644
--- a/include/linux/drbd.h
+++ b/include/linux/drbd.h
@@ -138,6 +138,7 @@ enum drbd_ret_codes {
ERR_VERIFY_RUNNING = 149, /* DRBD 8.2 only */
ERR_DATA_NOT_CURRENT = 150,
ERR_CONNECTED = 151, /* DRBD 8.3 only */
+ ERR_PERM = 152,
/* insert new ones above this line */
AFTER_LAST_ERR_CODE
OpenPOWER on IntegriCloud