summary refs log tree commit diff
path: root/mm/util.c
diff options
context:
space:
mode:
authorNamjae Jeon <namjae.jeon@samsung.com>2021-08-21 23:26:01 +0900
committerNamjae Jeon <namjae.jeon@samsung.com>2021-08-21 23:26:34 +0900
commite70e392fa768d46ca59f2f8c0e7374099c980622 (patch)
tree0cfee79dd3e560ca1399274fe8f72424f8809b8d /mm/util.c
parenta9a27d4ab3de2a6a81bad4b158c74a554d78e89b (diff)
downloadlinux-e70e392fa768d46ca59f2f8c0e7374099c980622.tar.gz
ksmbd: fix permission check issue on chown and chmod
When commanding chmod and chown on cifs&ksmbd, ksmbd allows it without file
permissions check. There is code to check it in settattr_prepare.
Instead of setting the inode directly, update the mode and uid/gid
through notify_change.

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'mm/util.c')
0 files changed, 0 insertions, 0 deletions