aboutsummaryrefslogtreecommitdiff
path: root/tcg
diff options
context:
space:
mode:
authorVivek Goyal <vgoyal@redhat.com>2019-08-13 15:29:44 -0400
committerDr. David Alan Gilbert <dgilbert@redhat.com>2020-01-23 16:41:37 +0000
commitee88465224b3aed2596049caa28f86cbe0d5a3d0 (patch)
treeb2a73f77374a4c2138753d21917b09c936ea97cd /tcg
parent2405f3c0d19eb4d516a88aa4e5c54e5f9c6bbea3 (diff)
downloadqemu-ee88465224b3aed2596049caa28f86cbe0d5a3d0.zip
qemu-ee88465224b3aed2596049caa28f86cbe0d5a3d0.tar.gz
qemu-ee88465224b3aed2596049caa28f86cbe0d5a3d0.tar.bz2
virtiofsd: Drop CAP_FSETID if client asked for it
If client requested killing setuid/setgid bits on file being written, drop CAP_FSETID capability so that setuid/setgid bits are cleared upon write automatically. pjdfstest chown/12.t needs this. Signed-off-by: Vivek Goyal <vgoyal@redhat.com> dgilbert: reworked for libcap-ng Reviewed-by: Misono Tomohiro <misono.tomohiro@jp.fujitsu.com> Reviewed-by: Sergio Lopez <slp@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'tcg')
0 files changed, 0 insertions, 0 deletions