Skip to content

Commit

Permalink
update sysdeps
Browse files Browse the repository at this point in the history
  • Loading branch information
John Regan committed Jun 12, 2017
1 parent cb197b8 commit e5d568b
Show file tree
Hide file tree
Showing 8 changed files with 166 additions and 34 deletions.
17 changes: 15 additions & 2 deletions skarnet-builder/sysdeps/aarch64-linux-musl/sysdeps
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,20 @@ endianness: little
sizeofushort: 2
sizeofuint: 4
sizeofulong: 8
sizeofsize: 8
signedsize: no
sizeofuid: 4
signeduid: no
sizeofgid: 4
signedgid: no
sizeofpid: 4
signedpid: yes
sizeoftime: 8
signedtime: yes
sizeofdev: 8
signeddev: no
sizeofino: 8
signedino: no
accept4: yes
ancilautoclose: no
cmsgcloexec: yes
Expand All @@ -31,13 +43,14 @@ revoke: no
sendfile: yes
setgroups: yes
settimeofday: yes
signalfd: no
signalfd: yes
splice: yes
strcasestr: yes
strnlen: yes
uint64t: yes
futimens: yes
futimes: yes
arc4random: no
getrandom: no
arc4random_addrandom: no
getrandom: yes
itimer: yes
29 changes: 22 additions & 7 deletions skarnet-builder/sysdeps/aarch64-linux-musl/sysdeps.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,29 @@
#define SKALIBS_HASTIMER
#define SKALIBS_ENDIANNESS "little"
#define SKALIBS_SIZEOFUSHORT 2
#define SKALIBS_USHORT_BITS 16
#define SKALIBS_SIZEOFUINT 4
#define SKALIBS_UINT_BITS 32
#define SKALIBS_SIZEOFULONG 8
#define SKALIBS_ULONG_BITS 64
#define SKALIBS_SIZEOFSIZE 8
#define SKALIBS_SIZEOFUID 4
#define SKALIBS_SIZEOFGID 4
#define SKALIBS_GID_BITS 32
#define SKALIBS_SIZEOFPID 4
#define SKALIBS_SIZEOFTIME 8
#define SKALIBS_TIME_BITS 64
#define SKALIBS_SIZEOFDEV 8
#define SKALIBS_SIZEOFINO 8
#undef SKALIBS_HASSIGNEDSIGNEDSIZE
#define SKALIBS_HASUNSIGNEDSIGNEDSIZE
#undef SKALIBS_HASSIGNEDSIGNEDUID
#define SKALIBS_HASUNSIGNEDSIGNEDUID
#undef SKALIBS_HASSIGNEDSIGNEDGID
#define SKALIBS_HASUNSIGNEDSIGNEDGID
#define SKALIBS_HASSIGNEDSIGNEDPID
#undef SKALIBS_HASUNSIGNEDSIGNEDPID
#define SKALIBS_HASSIGNEDSIGNEDTIME
#undef SKALIBS_HASUNSIGNEDSIGNEDTIME
#undef SKALIBS_HASSIGNEDSIGNEDDEV
#define SKALIBS_HASUNSIGNEDSIGNEDDEV
#undef SKALIBS_HASSIGNEDSIGNEDINO
#define SKALIBS_HASUNSIGNEDSIGNEDINO
#define SKALIBS_HASACCEPT4
#undef SKALIBS_HASANCILAUTOCLOSE
#define SKALIBS_HASCMSGCLOEXEC
Expand All @@ -41,14 +55,15 @@
#define SKALIBS_HASSENDFILE
#define SKALIBS_HASSETGROUPS
#define SKALIBS_HASSETTIMEOFDAY
#undef SKALIBS_HASSIGNALFD
#define SKALIBS_HASSIGNALFD
#define SKALIBS_HASSPLICE
#define SKALIBS_HASSTRCASESTR
#define SKALIBS_HASSTRNLEN
#define SKALIBS_HASUINT64T
#define SKALIBS_HASFUTIMENS
#define SKALIBS_HASFUTIMES
#undef SKALIBS_HASARC4RANDOM
#undef SKALIBS_HASGETRANDOM
#undef SKALIBS_HASARC4RANDOM_ADDRANDOM
#define SKALIBS_HASGETRANDOM
#define SKALIBS_HASITIMER
#endif
22 changes: 20 additions & 2 deletions skarnet-builder/sysdeps/arm-linux-musleabihf/sysdeps
Original file line number Diff line number Diff line change
@@ -1,12 +1,26 @@
target: arm-linux-musleabihf
clockrt: yes
clockmon: yes
posixspawn: yes
timer: yes
endianness: little
sizeofushort: 2
sizeofuint: 4
sizeofulong: 4
sizeofsize: 4
signedsize: no
sizeofuid: 4
signeduid: no
sizeofgid: 4
signedgid: no
sizeofpid: 4
signedpid: yes
sizeoftime: 4
signedtime: yes
sizeofdev: 4
signeddev: no
sizeofino: 4
signedino: no
accept4: yes
ancilautoclose: no
cmsgcloexec: yes
Expand All @@ -24,7 +38,6 @@ nbwaitall: yes
openat: yes
linkat: yes
pipe2: yes
posixspawn: yes
ppoll: yes
revoke: no
sendfile: yes
Expand All @@ -35,4 +48,9 @@ splice: yes
strcasestr: yes
strnlen: yes
uint64t: yes
devrandom: yes
futimens: yes
futimes: yes
arc4random: no
arc4random_addrandom: no
getrandom: yes
itimer: yes
34 changes: 27 additions & 7 deletions skarnet-builder/sysdeps/arm-linux-musleabihf/sysdeps.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,33 @@
#define SKALIBS_TARGET "arm-linux-musleabihf"
#define SKALIBS_HASCLOCKRT
#define SKALIBS_HASCLOCKMON
#define SKALIBS_HASPOSIXSPAWN
#define SKALIBS_HASTIMER
#define SKALIBS_ENDIANNESS "little"
#define SKALIBS_SIZEOFUSHORT 2
#define SKALIBS_USHORT_BITS 16
#define SKALIBS_SIZEOFUINT 4
#define SKALIBS_UINT_BITS 32
#define SKALIBS_SIZEOFULONG 4
#define SKALIBS_ULONG_BITS 32
#define SKALIBS_SIZEOFSIZE 4
#define SKALIBS_SIZEOFUID 4
#define SKALIBS_SIZEOFGID 4
#define SKALIBS_GID_BITS 32
#define SKALIBS_SIZEOFPID 4
#define SKALIBS_SIZEOFTIME 4
#define SKALIBS_TIME_BITS 32
#define SKALIBS_SIZEOFDEV 4
#define SKALIBS_SIZEOFINO 4
#undef SKALIBS_HASSIGNEDSIGNEDSIZE
#define SKALIBS_HASUNSIGNEDSIGNEDSIZE
#undef SKALIBS_HASSIGNEDSIGNEDUID
#define SKALIBS_HASUNSIGNEDSIGNEDUID
#undef SKALIBS_HASSIGNEDSIGNEDGID
#define SKALIBS_HASUNSIGNEDSIGNEDGID
#define SKALIBS_HASSIGNEDSIGNEDPID
#undef SKALIBS_HASUNSIGNEDSIGNEDPID
#define SKALIBS_HASSIGNEDSIGNEDTIME
#undef SKALIBS_HASUNSIGNEDSIGNEDTIME
#undef SKALIBS_HASSIGNEDSIGNEDDEV
#define SKALIBS_HASUNSIGNEDSIGNEDDEV
#undef SKALIBS_HASSIGNEDSIGNEDINO
#define SKALIBS_HASUNSIGNEDSIGNEDINO
#define SKALIBS_HASACCEPT4
#undef SKALIBS_HASANCILAUTOCLOSE
#define SKALIBS_HASCMSGCLOEXEC
Expand All @@ -34,7 +50,6 @@
#define SKALIBS_HASOPENAT
#define SKALIBS_HASLINKAT
#define SKALIBS_HASPIPE2
#define SKALIBS_HASPOSIXSPAWN
#define SKALIBS_HASPPOLL
#undef SKALIBS_HASREVOKE
#define SKALIBS_HASSENDFILE
Expand All @@ -45,5 +60,10 @@
#define SKALIBS_HASSTRCASESTR
#define SKALIBS_HASSTRNLEN
#define SKALIBS_HASUINT64T
#define SKALIBS_HASDEVRANDOM
#define SKALIBS_HASFUTIMENS
#define SKALIBS_HASFUTIMES
#undef SKALIBS_HASARC4RANDOM
#undef SKALIBS_HASARC4RANDOM_ADDRANDOM
#define SKALIBS_HASGETRANDOM
#define SKALIBS_HASITIMER
#endif
15 changes: 14 additions & 1 deletion skarnet-builder/sysdeps/i486-linux-musl/sysdeps
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,20 @@ endianness: little
sizeofushort: 2
sizeofuint: 4
sizeofulong: 4
sizeofsize: 4
signedsize: no
sizeofuid: 4
signeduid: no
sizeofgid: 4
signedgid: no
sizeofpid: 4
signedpid: yes
sizeoftime: 4
signedtime: yes
sizeofdev: 4
signeddev: no
sizeofino: 4
signedino: no
accept4: yes
ancilautoclose: no
cmsgcloexec: yes
Expand Down Expand Up @@ -39,5 +51,6 @@ uint64t: yes
futimens: yes
futimes: yes
arc4random: no
getrandom: no
arc4random_addrandom: no
getrandom: yes
itimer: yes
27 changes: 21 additions & 6 deletions skarnet-builder/sysdeps/i486-linux-musl/sysdeps.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,29 @@
#define SKALIBS_HASTIMER
#define SKALIBS_ENDIANNESS "little"
#define SKALIBS_SIZEOFUSHORT 2
#define SKALIBS_USHORT_BITS 16
#define SKALIBS_SIZEOFUINT 4
#define SKALIBS_UINT_BITS 32
#define SKALIBS_SIZEOFULONG 4
#define SKALIBS_ULONG_BITS 32
#define SKALIBS_SIZEOFSIZE 4
#define SKALIBS_SIZEOFUID 4
#define SKALIBS_SIZEOFGID 4
#define SKALIBS_GID_BITS 32
#define SKALIBS_SIZEOFPID 4
#define SKALIBS_SIZEOFTIME 4
#define SKALIBS_TIME_BITS 32
#define SKALIBS_SIZEOFDEV 4
#define SKALIBS_SIZEOFINO 4
#undef SKALIBS_HASSIGNEDSIGNEDSIZE
#define SKALIBS_HASUNSIGNEDSIGNEDSIZE
#undef SKALIBS_HASSIGNEDSIGNEDUID
#define SKALIBS_HASUNSIGNEDSIGNEDUID
#undef SKALIBS_HASSIGNEDSIGNEDGID
#define SKALIBS_HASUNSIGNEDSIGNEDGID
#define SKALIBS_HASSIGNEDSIGNEDPID
#undef SKALIBS_HASUNSIGNEDSIGNEDPID
#define SKALIBS_HASSIGNEDSIGNEDTIME
#undef SKALIBS_HASUNSIGNEDSIGNEDTIME
#undef SKALIBS_HASSIGNEDSIGNEDDEV
#define SKALIBS_HASUNSIGNEDSIGNEDDEV
#undef SKALIBS_HASSIGNEDSIGNEDINO
#define SKALIBS_HASUNSIGNEDSIGNEDINO
#define SKALIBS_HASACCEPT4
#undef SKALIBS_HASANCILAUTOCLOSE
#define SKALIBS_HASCMSGCLOEXEC
Expand Down Expand Up @@ -49,6 +63,7 @@
#define SKALIBS_HASFUTIMENS
#define SKALIBS_HASFUTIMES
#undef SKALIBS_HASARC4RANDOM
#undef SKALIBS_HASGETRANDOM
#undef SKALIBS_HASARC4RANDOM_ADDRANDOM
#define SKALIBS_HASGETRANDOM
#define SKALIBS_HASITIMER
#endif
22 changes: 20 additions & 2 deletions skarnet-builder/sysdeps/x86_64-linux-musl/sysdeps
Original file line number Diff line number Diff line change
@@ -1,12 +1,26 @@
target: x86_64-linux-musl
clockrt: yes
clockmon: yes
posixspawn: yes
timer: yes
endianness: little
sizeofushort: 2
sizeofuint: 4
sizeofulong: 8
sizeofsize: 8
signedsize: no
sizeofuid: 4
signeduid: no
sizeofgid: 4
signedgid: no
sizeofpid: 4
signedpid: yes
sizeoftime: 8
signedtime: yes
sizeofdev: 8
signeddev: no
sizeofino: 8
signedino: no
accept4: yes
ancilautoclose: no
cmsgcloexec: yes
Expand All @@ -24,7 +38,6 @@ nbwaitall: yes
openat: yes
linkat: yes
pipe2: yes
posixspawn: yes
ppoll: yes
revoke: no
sendfile: yes
Expand All @@ -35,4 +48,9 @@ splice: yes
strcasestr: yes
strnlen: yes
uint64t: yes
devrandom: yes
futimens: yes
futimes: yes
arc4random: no
arc4random_addrandom: no
getrandom: yes
itimer: yes
34 changes: 27 additions & 7 deletions skarnet-builder/sysdeps/x86_64-linux-musl/sysdeps.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,33 @@
#define SKALIBS_TARGET "x86_64-linux-musl"
#define SKALIBS_HASCLOCKRT
#define SKALIBS_HASCLOCKMON
#define SKALIBS_HASPOSIXSPAWN
#define SKALIBS_HASTIMER
#define SKALIBS_ENDIANNESS "little"
#define SKALIBS_SIZEOFUSHORT 2
#define SKALIBS_USHORT_BITS 16
#define SKALIBS_SIZEOFUINT 4
#define SKALIBS_UINT_BITS 32
#define SKALIBS_SIZEOFULONG 8
#define SKALIBS_ULONG_BITS 64
#define SKALIBS_SIZEOFSIZE 8
#define SKALIBS_SIZEOFUID 4
#define SKALIBS_SIZEOFGID 4
#define SKALIBS_GID_BITS 32
#define SKALIBS_SIZEOFPID 4
#define SKALIBS_SIZEOFTIME 8
#define SKALIBS_TIME_BITS 64
#define SKALIBS_SIZEOFDEV 8
#define SKALIBS_SIZEOFINO 8
#undef SKALIBS_HASSIGNEDSIGNEDSIZE
#define SKALIBS_HASUNSIGNEDSIGNEDSIZE
#undef SKALIBS_HASSIGNEDSIGNEDUID
#define SKALIBS_HASUNSIGNEDSIGNEDUID
#undef SKALIBS_HASSIGNEDSIGNEDGID
#define SKALIBS_HASUNSIGNEDSIGNEDGID
#define SKALIBS_HASSIGNEDSIGNEDPID
#undef SKALIBS_HASUNSIGNEDSIGNEDPID
#define SKALIBS_HASSIGNEDSIGNEDTIME
#undef SKALIBS_HASUNSIGNEDSIGNEDTIME
#undef SKALIBS_HASSIGNEDSIGNEDDEV
#define SKALIBS_HASUNSIGNEDSIGNEDDEV
#undef SKALIBS_HASSIGNEDSIGNEDINO
#define SKALIBS_HASUNSIGNEDSIGNEDINO
#define SKALIBS_HASACCEPT4
#undef SKALIBS_HASANCILAUTOCLOSE
#define SKALIBS_HASCMSGCLOEXEC
Expand All @@ -34,7 +50,6 @@
#define SKALIBS_HASOPENAT
#define SKALIBS_HASLINKAT
#define SKALIBS_HASPIPE2
#define SKALIBS_HASPOSIXSPAWN
#define SKALIBS_HASPPOLL
#undef SKALIBS_HASREVOKE
#define SKALIBS_HASSENDFILE
Expand All @@ -45,5 +60,10 @@
#define SKALIBS_HASSTRCASESTR
#define SKALIBS_HASSTRNLEN
#define SKALIBS_HASUINT64T
#define SKALIBS_HASDEVRANDOM
#define SKALIBS_HASFUTIMENS
#define SKALIBS_HASFUTIMES
#undef SKALIBS_HASARC4RANDOM
#undef SKALIBS_HASARC4RANDOM_ADDRANDOM
#define SKALIBS_HASGETRANDOM
#define SKALIBS_HASITIMER
#endif

0 comments on commit e5d568b

Please sign in to comment.