mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
Unlike file_handle, type and len of struct fanotify_fh are u8.
Traditionally, filesystem return handle_type < 0xff, but there
is no enforecement for that in vfs.
Add a sanity check in fanotify to avoid truncating handle_type
if its value is > 0xff.
Fixes:
|
History
|
|
|---|---|---|
| .. | ||
| fanotify.c | ||
| fanotify.h | ||
| fanotify_user.c | ||
| Kconfig | ||
| Makefile | ||