aboutsummaryrefslogtreecommitdiffstats
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorNamjae Jeon <[email protected]>2021-08-21 14:26:01 +0000
committerNamjae Jeon <[email protected]>2021-08-21 14:26:34 +0000
commite70e392fa768d46ca59f2f8c0e7374099c980622 (patch)
tree0cfee79dd3e560ca1399274fe8f72424f8809b8d /lib/netdev-notifier-error-inject.c
parentksmbd: don't set FILE DELETE and FILE_DELETE_CHILD in access mask by default (diff)
downloadkernel-e70e392fa768d46ca59f2f8c0e7374099c980622.tar.gz
kernel-e70e392fa768d46ca59f2f8c0e7374099c980622.zip
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 <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions