From 672df608cf7a0a9822cef04bb195f793a2ca826b Mon Sep 17 00:00:00 2001 From: Alexander Shiryaev Date: Fri, 9 Mar 2018 10:53:27 +0300 Subject: [PATCH] _STAT_VER_LINUX --- BlackBox/_Linux_/Host/Mod/Files.odc | Bin 51816 -> 51926 bytes BlackBox/_Linux_/Lin/Mod/Libc.txt | 7 +++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/BlackBox/_Linux_/Host/Mod/Files.odc b/BlackBox/_Linux_/Host/Mod/Files.odc index 4eea2ff99cfe1338f8d1ec2c7ab2aa0df7b92c2d..b289427779f6b3a98e620137e1af8d7b3bce9066 100644 GIT binary patch delta 383 zcmaDch56c4<_Yyo!KWrR#&Rw^$-uzLz`!tb;&WFf=aZB580|QZ9cN(R2a4_6T*}DL z#CD;GnPG{}w$-uzLz`&qA@wqG0)f1ET80|PCjx#Xu1H}S1mooA* zv89wUGfdW-+{L^a#KVWBRjcZMI>5#KL%RvpkPJ8`D>Y$pJ!sOurc>FAypO@q~qgnSL>B&Jbo& xVKm;{XkMSlXgqoC@|4ZhGpDkGnWmd#=38+9CD$(ZV}XcFj+t+`xnfP6901)DP|E-S diff --git a/BlackBox/_Linux_/Lin/Mod/Libc.txt b/BlackBox/_Linux_/Lin/Mod/Libc.txt index 35d59d0..c24a065 100644 --- a/BlackBox/_Linux_/Lin/Mod/Libc.txt +++ b/BlackBox/_Linux_/Lin/Mod/Libc.txt @@ -17,12 +17,11 @@ MODULE LinLibc ["libc.so.6"]; (* MAP_PRIVATE, MAP_ANON (intFlags) *) MAP_SHARED* = {0}; (* Share changes *) MAP_PRIVATE* = {1}; (* Changes are private *) + MAP_SHARED_VALIDATE* = {0,1}; (* share + validate extension flags *) MAP_TYPE* = {0..3}; (* Mask for type of mapping *) MAP_FIXED* = {4}; (* Interpret addr exactly *) MAP_ANONYMOUS* = {5}; (* don't use a file *) MAP_FILE* = {}; - MAP_HUGE_SHIFT* = {1,3,4}; - MAP_HUGE_MASK* = {0..5}; MAP_ANON* = MAP_ANONYMOUS; @@ -512,6 +511,10 @@ MODULE LinLibc ["libc.so.6"]; (* POSIX.1 *) PROCEDURE [ccall] stat* (path: PtrSTR; VAR sp: stat_t): int; *) + CONST + (* Ubuntu 18.04 /usr/include/i386-linux-gnu/bits/stat.h *) + _STAT_VER_LINUX* = 3; + TYPE (* Ubuntu 17.10 /usr/include/i386-linux-gnu/bits/types/sigval_t.h: *) sigval_t* = RECORD [union] -- 2.29.2