commit | e81417a0964a36aed4392326f3736c116296f451 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <djwong@kernel.org> | Tue Apr 19 10:32:21 2022 -0700 |
committer | Zorro Lang <zlang@kernel.org> | Wed Apr 27 02:54:00 2022 +0800 |
tree | 3c7e9943e449a7b428727e10246faec5894acd1c | |
parent | 7f27a290aca8e45ec1f39b631cb6acf923917ca4 [diff] |
generic: ensure we drop suid after fallocate fallocate changes file contents, so make sure that we drop privileges and file capabilities after each fallocate operation. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Zorro Lang <zlang@redhat.com> Signed-off-by: Zorro Lang <zlang@kernel.org>