diff options
author | 2021-03-25 09:37:43 +0100 | |
---|---|---|
committer | 2021-03-25 15:33:45 +0100 | |
commit | 22d483b99863202e3631ff66fa0f3c2302c0f96f (patch) | |
tree | 517f550b13521af5c20556eb32fbd188eb64b437 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | fanotify: support limited functionality for unprivileged users (diff) | |
download | linux-rng-22d483b99863202e3631ff66fa0f3c2302c0f96f.tar.xz linux-rng-22d483b99863202e3631ff66fa0f3c2302c0f96f.zip |
fanotify_user: use upper_32_bits() to verify mask
I don't see an obvious reason why the upper 32 bit check needs to be
open-coded this way. Switch to upper_32_bits() which is more idiomatic and
should conceptually be the same check.
Cc: Amir Goldstein <amir73il@gmail.com>
Cc: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20210325083742.2334933-1-brauner@kernel.org
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions