Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-08-30 | io: Fix destructive nature of tst-fchmod-errors | Florian Weimer | 1 | -3/+10 | |
We must not change the permissions of /dev/null if running as root. Reviewed-by: Carlos O'Donell <carlos@redhat.com> | |||||
2024-08-30 | io: Add error tests for fchmod | Florian Weimer | 1 | -0/+56 | |
On Linux most descriptors that do not correspond to file system entities (such as anonymous pipes and sockets) have file permissions that can be changed. While it is possible to create a custom file system that returns (say) EINVAL for an fchmod attempt, testing this does not appear to be useful. Reviewed-by: Carlos O'Donell <carlos@redhat.com> |