diff options
author | Vivek Goyal <vgoyal@redhat.com> | 2019-08-13 15:29:44 -0400 |
---|---|---|
committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2020-01-23 16:41:37 +0000 |
commit | ee88465224b3aed2596049caa28f86cbe0d5a3d0 (patch) | |
tree | b2a73f77374a4c2138753d21917b09c936ea97cd /tests | |
parent | 2405f3c0d19eb4d516a88aa4e5c54e5f9c6bbea3 (diff) | |
download | qemu-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 'tests')
0 files changed, 0 insertions, 0 deletions