From ec6d9e2f93d6f6d6638260962fea572ca80e328e Mon Sep 17 00:00:00 2001 From: Alexander Shiryaev Date: Wed, 17 Jan 2018 10:26:53 +0300 Subject: [PATCH] fchmod added --- .../Lin/Mod/gen-Libc/Libc.txt.templ | 1 + BlackBox/_FreeBSD_/Lin/Mod/Libc.txt | 1 + BlackBox/_Linux_/Lin/Mod/Libc.odc | Bin 25087 -> 25167 bytes BlackBox/_Linux_/Lin/Mod/Libc.txt | 1 + BlackBox/_OpenBSD_/Lin/Mod/Libc.txt | 1 + 5 files changed, 4 insertions(+) diff --git a/BlackBox/_FreeBSDLinuxOpenBSD_/Lin/Mod/gen-Libc/Libc.txt.templ b/BlackBox/_FreeBSDLinuxOpenBSD_/Lin/Mod/gen-Libc/Libc.txt.templ index f694b5e..dbcef0c 100644 --- a/BlackBox/_FreeBSDLinuxOpenBSD_/Lin/Mod/gen-Libc/Libc.txt.templ +++ b/BlackBox/_FreeBSDLinuxOpenBSD_/Lin/Mod/gen-Libc/Libc.txt.templ @@ -222,6 +222,7 @@ MODULE LinLibc ["libc.so%%libver%%"]; (* POSIX.1 *) PROCEDURE [ccall] chmod* (path: PtrSTR; mode: mode_t): int; + PROCEDURE [ccall] fchmod* (fd: int; mode: mode_t): int; (* POSIX.1 *) PROCEDURE [ccall] sysconf* (name: int): long; diff --git a/BlackBox/_FreeBSD_/Lin/Mod/Libc.txt b/BlackBox/_FreeBSD_/Lin/Mod/Libc.txt index d9691ee..85e53d1 100644 --- a/BlackBox/_FreeBSD_/Lin/Mod/Libc.txt +++ b/BlackBox/_FreeBSD_/Lin/Mod/Libc.txt @@ -690,6 +690,7 @@ MODULE LinLibc ["libc.so.7"]; (* POSIX.1 *) PROCEDURE [ccall] chmod* (path: PtrSTR; mode: mode_t): int; + PROCEDURE [ccall] fchmod* (fd: int; mode: mode_t): int; (* POSIX.1 *) PROCEDURE [ccall] sysconf* (name: int): long; diff --git a/BlackBox/_Linux_/Lin/Mod/Libc.odc b/BlackBox/_Linux_/Lin/Mod/Libc.odc index cc50740aff03317e639a6e0e238b94da565604f8..ed69804632e0bb572af52ae14f1424378afec3e7 100644 GIT binary patch delta 115 zcmex=nDP7(#tHR|XC^kpaY-dIFmN(3FbE}1eBr{lXR