From cc741e9174d0f40177b7de4ee191ec8bca2bc15c Mon Sep 17 00:00:00 2001 From: midipix Date: Aug 13 2017 22:58:56 +0000 Subject: fchmodat(2): implement as wrapper since AT_SYMLINK_NOFOLLOW is supported. --- diff --git a/src/stat/nt32/fchmodat.c b/src/stat/nt32/fchmodat.c new file mode 100644 index 0000000..788b59a --- /dev/null +++ b/src/stat/nt32/fchmodat.c @@ -0,0 +1,8 @@ +#include +#include +#include "syscall.h" + +int fchmodat(int fd, const char *path, mode_t mode, int flag) +{ + return syscall(SYS_fchmodat, fd, path, mode, flag); +} diff --git a/src/stat/nt64/fchmodat.c b/src/stat/nt64/fchmodat.c new file mode 100644 index 0000000..788b59a --- /dev/null +++ b/src/stat/nt64/fchmodat.c @@ -0,0 +1,8 @@ +#include +#include +#include "syscall.h" + +int fchmodat(int fd, const char *path, mode_t mode, int flag) +{ + return syscall(SYS_fchmodat, fd, path, mode, flag); +}