android_kernel_xiaomi_sm8350/fs/incfs
Tadeusz Struk 297aa83408 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 15:14:36 -07:00
..
data_mgmt.c ANDROID: Incremental fs: Set credentials before reading/writing 2021-04-22 22:34:21 +00:00
data_mgmt.h ANDROID: incremental-fs: limit mount stack depth 2022-04-07 13:52:27 -07:00
format.c ANDROID: Incremental fs: Set credentials before reading/writing 2021-04-22 22:34:21 +00:00
format.h ANDROID: Incremental fs: Set credentials before reading/writing 2021-04-22 22:34:21 +00:00
integrity.c ANDROID: Incremental fs: Remove dependency on PKCS7_MESSAGE_PARSER 2020-06-08 17:04:28 +00:00
integrity.h ANDROID: Incremental fs: Remove signature checks from kernel 2020-03-18 16:43:20 +00:00
internal.h
Kconfig ANDROID: Incremental fs: Remove dependency on PKCS7_MESSAGE_PARSER 2020-06-08 17:04:28 +00:00
main.c ANDROID: Incremental fs: Set credentials before reading/writing 2021-04-22 22:34:21 +00:00
Makefile
OWNERS ANDROID: Add OWNERS files referring to the respective android-mainline OWNERS 2021-04-01 13:45:14 +00:00
vfs.c ANDROID: incfs: Add check for ATTR_KILL_SUID and ATTR_MODE in incfs_setattr 2022-09-19 15:14:36 -07:00
vfs.h