Re: [PATCH 06/11] vfs: copy_file_range needs to strip setuid bits

Christoph Hellwig
2018-12-04T15:21:51Z

file_remove_privs needs to be called with i_rsem held, which I don't
think we do here. It also really should be called under the same
i_rwsem critical section that does modify the file content, so we'll
have to move the call into the methods.