mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-18 18:31:00 +03:00
9fb6abe5ad
Don't unconditionally return 0 (i.e. retain SUID/SGID). Test CAP_FSETID capability. https://github.com/pjd/pjdfstest/blob/master/tests/chmod/12.t which expects SUID/SGID to be dropped on write(2) by non-owner fails without this. Most filesystems make this decision within VFS by using a generic file write for fops. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com> Closes #9035 Closes #9043 |
||
---|---|---|
.. | ||
.gitignore | ||
cleanup.ksh | ||
Makefile.am | ||
setup.ksh | ||
suid_write_to_file.c | ||
suid_write_to_none.ksh | ||
suid_write_to_sgid.ksh | ||
suid_write_to_suid_sgid.ksh | ||
suid_write_to_suid.ksh |