diff options
| author | Mike Snitzer <snitzer@redhat.com> | 2021-01-06 18:19:05 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-01-19 18:26:18 +0100 |
| commit | 2c3d03cdbd395a619b0b9503a110dd51244b9a48 (patch) | |
| tree | 41edb4058f6f77cfaac578d30c2f5a1074e1bfb4 /tools/perf/scripts/python/stackcollapse.py | |
| parent | a34294774a32e48a213490cd74f87bb3d02403e7 (diff) | |
dm: eliminate potential source of excessive kernel log noise
commit 0378c625afe80eb3f212adae42cc33c9f6f31abf upstream.
There wasn't ever a real need to log an error in the kernel log for
ioctls issued with insufficient permissions. Simply return an error
and if an admin/user is sufficiently motivated they can enable DM's
dynamic debugging to see an explanation for why the ioctls were
disallowed.
Reported-by: Nir Soffer <nsoffer@redhat.com>
Fixes: e980f62353c6 ("dm: don't allow ioctls to targets that don't map to whole devices")
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
