diff options
author | Markos Chandras <markos.chandras@imgtec.com> | 2012-10-10 14:56:56 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2013-02-20 13:45:11 +0100 |
commit | c4c78fc5f3c945e2a755e184d8c7e2dab7f8fe4e (patch) | |
tree | 1881b7567c50bdfb0cb008c460988a132a01d1dd /include | |
parent | 6589e886e031a810b9c2ad773e9d8cc7fd5a0725 (diff) |
chown: Use fchownat if arch does not have the chown syscall
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/unistd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h index ed77ce928..dbf1a9bd7 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -518,6 +518,7 @@ extern int lchown (const char *__file, __uid_t __owner, __gid_t __group) extern int fchownat (int __fd, const char *__file, __uid_t __owner, __gid_t __group, int __flag) __THROW __nonnull ((2)) __wur; +libc_hidden_proto(fchownat) #endif /* Use GNU. */ /* Change the process's working directory to PATH. */ |