diff options
author | Florian Weimer <fweimer@redhat.com> | 2024-08-30 20:37:18 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2024-08-30 21:12:01 +0200 |
commit | 424d97be50488beb6196c0ff0bc3dfeb87b4281c (patch) | |
tree | d6aa364c153bf41d0a551f78bbdfa267a7f41b8c /sysdeps/unix/sysv/linux/remove.c | |
parent | 29f0db6a2e00fb17f5fe1eb1eee853436247ffe2 (diff) | |
download | glibc-424d97be50488beb6196c0ff0bc3dfeb87b4281c.zip glibc-424d97be50488beb6196c0ff0bc3dfeb87b4281c.tar.gz glibc-424d97be50488beb6196c0ff0bc3dfeb87b4281c.tar.bz2 |
io: Add error tests for fchmod
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>
Diffstat (limited to 'sysdeps/unix/sysv/linux/remove.c')
0 files changed, 0 insertions, 0 deletions