android_kernel_xiaomi_sm8450/fs/incfs
Tadeusz Struk bcf6dddd97 ANDROID: incfs: Add check for ATTR_KILL_SUID and ATTR_MODE in incfs_setattr
Add an explicite check for ATTR_KILL_SUID and ATTR_MODE in incfs_setattr.
Both of these attributes can not be set at the same time, otherwise
notify_change() function will check it and invoke BUG(), crashing
the system.

Bug: 243394930

Signed-off-by: Tadeusz Struk <tadeusz.struk@linaro.org>
Change-Id: I91080d68efbd62f1441e20a5c02feef3d1b06e4e
2022-09-19 16:16:16 +00:00
..
data_mgmt.c ANDROID: incremental-fs: remove spurious kfree() 2022-02-28 20:49:55 +00:00
data_mgmt.h ANDROID: incremental-fs: limit mount stack depth 2022-04-06 17:24:59 +00:00
format.c ANDROID: Incremental fs: fix minor printk format warning 2021-04-15 15:22:01 +00:00
format.h ANDROID: Incremental fs: Build merkle tree when enabling verity 2021-03-01 16:16:01 +00:00
integrity.c ANDROID: Incremental fs: Remove dependency on PKCS7_MESSAGE_PARSER 2020-06-08 17:03:32 +00:00
integrity.h ANDROID: Incremental fs: Remove signature checks from kernel 2020-03-18 16:22:17 +00:00
internal.h ANDROID: Incremental fs: Add FS_IOC_ENABLE_VERITY 2021-03-01 16:15:32 +00:00
Kconfig ANDROID: Incremental fs: Add zstd compression support 2020-11-05 23:00:32 +00:00
main.c ANDROID: GKI: set vfs-only exports into their own namespace 2022-01-11 09:30:47 +01:00
Makefile ANDROID: Incremental fs: Add status to sysfs 2021-04-23 15:16:25 +00:00
pseudo_files.c ANDROID: incremental-fs: fix GPF in pending_reads_dispatch_ioctl 2022-01-26 11:31:08 +00:00
pseudo_files.h ANDROID: Incremental fs: fix .blocks_written 2021-01-14 16:02:38 +00:00
sysfs.c ANDROID: Incremental fs: Make sysfs_name changeable on remount 2021-05-17 20:08:37 +00:00
sysfs.h ANDROID: Incremental fs: Make sysfs_name changeable on remount 2021-05-17 20:08:37 +00:00
verity.c ANDROID: Incremental fs: Add status to sysfs 2021-04-23 15:16:25 +00:00
verity.h ANDROID: Incremental fs: Add FS_IOC_READ_VERITY_METADATA 2021-04-23 15:16:03 +00:00
vfs.c ANDROID: incfs: Add check for ATTR_KILL_SUID and ATTR_MODE in incfs_setattr 2022-09-19 16:16:16 +00:00
vfs.h Revert "ANDROID: incremental-fs: fix mount_fs issue" 2022-02-23 06:35:37 +00:00