summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorJingbo Xu <jefflexu@linux.alibaba.com>2023-06-13 11:40:08 +0300
committerJens Axboe <axboe@kernel.dk>2023-06-20 21:49:23 +0300
commit9a72a02456a839676fe8f220a44ef00951596047 (patch)
tree6398bcf314b7fa12f026bea8a7a4f184496026f7 /scripts/gdb/linux/tasks.py
parent12629621669b239445727256d1a5dab616b30deb (diff)
downloadlinux-9a72a02456a839676fe8f220a44ef00951596047.tar.xz
block: fine-granular CAP_SYS_ADMIN for Persistent Reservation
Allow of unprivileged Persistent Reservation operations on devices if the write permission check on the device node has passed. brw-rw---- 1 root disk 259, 0 Jun 13 07:09 /dev/nvme0n1 In the example above, the "disk" group of nvme0n1 is also allowed to make reservations on the device even without CAP_SYS_ADMIN. Signed-off-by: Jingbo Xu <jefflexu@linux.alibaba.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20230613084008.93795-3-jefflexu@linux.alibaba.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions