diff options
| author | Ming Lei <[email protected]> | 2024-10-16 13:48:47 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2024-10-16 14:08:18 +0000 |
| commit | 42aafd8b48adac1c3b20fe5892b1b91b80c1a1e6 (patch) | |
| tree | b34db3afc3a7f0315d0afb18a0430ea85f7a8239 /drivers/acpi/cppc_acpi.c | |
| parent | blk-rq-qos: fix crash on rq_qos_wait vs. rq_qos_wake_function race (diff) | |
| download | kernel-42aafd8b48adac1c3b20fe5892b1b91b80c1a1e6.tar.gz kernel-42aafd8b48adac1c3b20fe5892b1b91b80c1a1e6.zip | |
ublk: don't allow user copy for unprivileged device
UBLK_F_USER_COPY requires userspace to call write() on ublk char
device for filling request buffer, and unprivileged device can't
be trusted.
So don't allow user copy for unprivileged device.
Cc: [email protected]
Fixes: 1172d5b8beca ("ublk: support user copy")
Signed-off-by: Ming Lei <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions
