aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2020-01-22 18:56:04 +0100
committerFlorian Weimer <fweimer@redhat.com>2020-02-12 08:43:59 +0100
commit6b89c385d8bd0700b25bac2c2d0bebe68d5cc05d (patch)
tree9daf6ad81d41930593a0ed2a3c027d52a9bcf05d /sysdeps
parent6c80c6e8767b860a5e18e136d04a80be2a8dce15 (diff)
downloadglibc-6b89c385d8bd0700b25bac2c2d0bebe68d5cc05d.tar
glibc-6b89c385d8bd0700b25bac2c2d0bebe68d5cc05d.tar.gz
glibc-6b89c385d8bd0700b25bac2c2d0bebe68d5cc05d.tar.bz2
glibc-6b89c385d8bd0700b25bac2c2d0bebe68d5cc05d.zip
io: Implement lchmod using fchmodat [BZ #14578]
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/mach/hurd/fchmodat.c1
-rw-r--r--sysdeps/unix/sysv/linux/fchmodat.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/fchmodat.c b/sysdeps/mach/hurd/fchmodat.c
index cd227d5c83..d42f9520e9 100644
--- a/sysdeps/mach/hurd/fchmodat.c
+++ b/sysdeps/mach/hurd/fchmodat.c
@@ -37,3 +37,4 @@ fchmodat (int fd, const char *file, mode_t mode, int flag)
return __hurd_fail (err);
return 0;
}
+libc_hidden_def (fchmodat)
diff --git a/sysdeps/unix/sysv/linux/fchmodat.c b/sysdeps/unix/sysv/linux/fchmodat.c
index 224439ffba..c41ebb290d 100644
--- a/sysdeps/unix/sysv/linux/fchmodat.c
+++ b/sysdeps/unix/sysv/linux/fchmodat.c
@@ -38,3 +38,4 @@ fchmodat (int fd, const char *file, mode_t mode, int flag)
return INLINE_SYSCALL (fchmodat, 3, fd, file, mode);
}
+libc_hidden_def (fchmodat)