Granular CAP_SYS_ADMIN
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest2 patches 2 repliesIn review
- v21 patch 1 replySuperseded
Changes in v4 from the cover letter
================
- Patch 2: remove two comments (Chaitanya)
- collect reviewed-by
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | nvme: fine-granular CAP_SYS_ADMIN for nvme io commandsdrivers/ include/ | +65 | 0 replies | |
| 2/2 | nvme: identify-namespace without CAP_SYS_ADMINdrivers/ | +10 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Keith Busch | Jens Axboe | Chaitanya Kulkarni |
|---|---|---|---|
| Series | R-b | ||
| 1/2 | R-b | R-b | |
| 2/2 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v4 0/2] Granular CAP_SYS_ADMIN
Hi,
The series enables general access for passthrough IO if sysadmin wants so.
Patch 1: for io commands. It implements the shift to file-mode based policy.
Patch 2: allows identify-namespace command (based on ALPSS feedback).
Changes since v3:
================
- Patch 2: remove two comments (Chaitanya)
- collect reviewed-by
Changes since v2:
================
- Add patch 2 that allows identify-ns
- Patch 1: Move nvme_cmd_allowed check further down, so that we can use CNS values for decision making in patch 2
- Patch 1: invert if condition (Sagi)
Changes since v1:
================
- Move nvme_cmd_allowed check at a place that allows using nvme_is_write helper (hch)
- Keep everything into single patch (chaitanya, hch)
- Comments cleanup (hch, chaitanya)
- Part of cover-letter moved to commit-description
Kanchan Joshi (2):
nvme: fine-granular CAP_SYS_ADMIN for nvme io commands
nvme: identify-namespace without CAP_SYS_ADMIN
drivers/nvme/host/ioctl.c | 105 ++++++++++++++++++++++++++------------ include/linux/nvme.h | 1 + 2 files changed, 73 insertions(+), 33 deletions(-)
Signature · 1 line
2.25.1