From 6b89c385d8bd0700b25bac2c2d0bebe68d5cc05d Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Wed, 22 Jan 2020 18:56:04 +0100 Subject: io: Implement lchmod using fchmodat [BZ #14578] --- include/sys/stat.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/sys/stat.h') diff --git a/include/sys/stat.h b/include/sys/stat.h index b82d452780..92284ca48b 100644 --- a/include/sys/stat.h +++ b/include/sys/stat.h @@ -9,6 +9,7 @@ extern int __lstat (const char *__file, struct stat *__buf); extern int __chmod (const char *__file, __mode_t __mode); libc_hidden_proto (__chmod) extern int __fchmod (int __fd, __mode_t __mode); +libc_hidden_proto (fchmodat) extern __mode_t __umask (__mode_t __mask); extern int __mkdir (const char *__path, __mode_t __mode); libc_hidden_proto (__mkdir) -- cgit v1.2.3