android_kernel_samsung_sm8650/fs/incfs
Tadeusz Struk 7eaac3e1c5 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-21 00:48:25 +00:00
..
data_mgmt.c ANDROID: Incremental fs: Use ERR_CAST in handle_mapped_file() 2022-06-23 12:54:22 -07:00
data_mgmt.h ANDROID: incremental-fs: limit mount stack depth 2022-04-06 20:10:49 +00:00
format.c ANDROID: Incremental fs: fix minor printk format warning 2021-04-15 15:18:35 +00:00
format.h ANDROID: Incremental fs: Build merkle tree when enabling verity 2021-02-10 14:46:45 -08:00
integrity.c ANDROID: Incremental fs: sha.h has been split into two, handle this. 2020-12-15 15:37:52 +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-02-10 14:19:46 -08:00
Kconfig ANDROID: Incremental fs: Add zstd compression support 2020-11-05 23:00:32 +00:00
main.c ANDROID: Incremental fs: Add status to sysfs 2021-04-21 14:35:45 +00:00
Makefile ANDROID: Incremental fs: Add status to sysfs 2021-04-21 14:35:45 +00:00
OWNERS ANDROID: add initial set of OWNERS 2021-02-25 13:58:58 +00:00
pseudo_files.c ANDROID: incremental-fs: fix GPF in pending_reads_dispatch_ioctl 2022-01-21 16:24:30 +00:00
pseudo_files.h ANDROID: Incremental fs: fix .blocks_written 2021-01-06 16:57:22 +00:00
sysfs.c ANDROID: Incremental fs: Make sysfs_name changeable on remount 2021-05-18 19:36:32 +00:00
sysfs.h ANDROID: Incremental fs: Make sysfs_name changeable on remount 2021-05-18 19:36:32 +00:00
verity.c ANDROID: Incremental fs: Add status to sysfs 2021-04-21 14:35:45 +00:00
verity.h ANDROID: Incremental fs: Add FS_IOC_READ_VERITY_METADATA 2021-04-13 15:22:56 +00:00
vfs.c ANDROID: incfs: Add check for ATTR_KILL_SUID and ATTR_MODE in incfs_setattr 2022-09-21 00:48:25 +00:00
vfs.h Revert "ANDROID: incremental-fs: fix mount_fs issue" 2022-03-17 15:40:23 -07:00