Commit graph

529 commits

Author SHA1 Message Date
David Carlier 0c996a07eb adding reallocarray for linux and android 2021-07-23 21:14:39 +01:00
David Carlier 159368adcb freebsd/dragonflybsd introduces backtrace api for debugging 2021-07-14 12:53:44 +01:00
David Carlier d5bb01caa6 apple add mach_vm_map, mmap does not provide custom alignment so
mach_vm_map is only way.
2021-07-13 15:06:37 +01:00
David CARLIER 10f01db46c apple add platform specific random api 2021-06-25 15:44:56 +01:00
David Carlier 5b7b4f9611 freebsd/dragonfly adding pthread barrier api. 2021-06-21 19:12:04 +01:00
David Carlier 7250a68be7 pthread_spinlock api remaining bsd systems 2021-06-17 10:44:01 +01:00
bors 599ae1bc9d Auto merge of #2245 - devnexen:pthread_spinlock_fbsd, r=JohnTitor
freebsd adding pthread_spinlock api
2021-06-16 02:29:14 +00:00
David Carlier e8e75a8749 freebsd adding pthread_spinlock api 2021-06-15 21:26:28 +01:00
David Carlier 004406bb0e linux/android adding pthread_spin_lock api
closes #2229
2021-06-15 04:31:47 +01:00
David Carlier 68ec7f2e17 solaris based systems update
basis to do cpu affinity with some illumos specifics.
2021-06-12 18:13:59 +01:00
Jonas Schievink 7f6ce32a31 Try to appease CI 2021-06-10 15:15:40 +02:00
DC 783783d9af dragonflybsd adding ucontext type 2021-06-07 23:26:38 +01:00
Thomas de Zeeuw eca2ea67f1 Add gethostuuid and uuid_t on macOS 2021-06-03 21:49:43 +02:00
Yuki Okushi f77d49b818 Declare ARPHRD_CAN on the linux_like module 2021-06-03 15:40:20 +09:00
bors 4952853f4e Auto merge of #2201 - vorner:winsig, r=JohnTitor
Signal controlling constants for windows

This is replacement of #1626, because I have lost the repository with that branch in the meantime. The content is the same (unless I've made some mistake copying it over), just rebased onto current master.
2021-06-01 23:33:19 +00:00
Michal 'vorner' Vaner 707294d2b6
Signal controlling constants for windows
SIG_DFL and similar.

Closes #1600.
2021-06-01 20:45:50 +02:00
Yuki Okushi 3d93992189 Ignore VM_FLAGS_* consts on macOS tests 2021-06-02 00:10:11 +09:00
Dirk Stolle ae01542725 fix typos 2021-05-26 02:25:11 +02:00
bors 74779489b9 Auto merge of #2194 - coolreader18:windows-fcntl, r=JohnTitor
Add all O_* codes from fcntl.h on windows
2021-05-25 11:56:21 +00:00
Noah 0bbbccf509
Add all O_* codes from fcntl.h on windows 2021-05-24 20:11:40 -05:00
bors 34ddde5a1d Auto merge of #2157 - devnexen:netbsd_ucontext, r=JohnTitor
Add `ucontext_t` and `mcontext_t` on NetBSD/x86_64

ucontext_t/mcontext_t exposure on x86_64 architecture.
2021-05-24 09:52:11 +00:00
bors 02887baad3 Auto merge of #2191 - devnexen:macos_libproc_api, r=JohnTitor
apple adding subset of the most used libproc api
2021-05-23 14:20:28 +00:00
bors 40c502ba0b Auto merge of #2184 - devnexen:dflybsd_affinity, r=JohnTitor
dragonflybsd cpu affinity api
2021-05-23 12:15:17 +00:00
David Carlier 1b1bf4db7d Fix what can be at this stage 2021-05-22 22:10:12 +01:00
David Carlier 9edc3a4384 netbsd update.
ucontext_t/mcontext_t exposure on x86_64 architecture.
2021-05-22 21:30:02 +01:00
David CARLIER 0fe1d89466 apple adding subset of the most used libproc api 2021-05-22 15:28:59 +01:00
David CARLIER 5cd7c907aa apple adding thread policy api 2021-05-22 12:10:49 +01:00
DC 677a1b4abe dragonflybsd cpu affinity api 2021-05-18 20:18:10 +01:00
bors 4e7867d1b5 Auto merge of #2173 - devnexen:elf_aux_info, r=Amanieu
freebsd update adding `elf_aux_info` from 12.x release.
2021-05-16 21:55:23 +00:00
David Carlier 8baf763eea freebsd update adding elf_aux_info from 12.x release. 2021-05-16 09:55:26 +01:00
bors 8580e972b5 Auto merge of #2175 - devnexen:haiku_upd, r=JohnTitor
Add kernel scheduler API to Haiku
2021-05-16 07:49:51 +00:00
David Carlier 3c6c414c64 haiku update adding kernel scheduler api. 2021-05-15 13:24:41 +00:00
David Carlier 1132113710 freebsd adding capsicum api set 2021-05-15 09:42:05 +01:00
David Carlier fc8f48f30c freebsd update adding cpu affinity api subset 2021-05-12 22:15:06 +01:00
Nicolas Thery c8539f5bc6 Add macos clonefile functions 2021-04-17 12:58:32 +02:00
K.J. Valencik ab1472eb08
Update dl_phdr_info definition to more closely match header files
Also, update tests to skip conflicts
2021-04-09 12:22:53 -04:00
K.J. Valencik 970fec9245
Add dl_iterate_phdr to Android 2021-04-08 17:41:36 -04:00
Guillaume Gomez 73200ceebd Add new header to the android header files list 2021-04-08 19:52:14 +02:00
Yuki Okushi 3fae7e9ce7 Fix style 2021-04-06 10:10:29 +09:00
Thomas de Zeeuw 60112163ce Support architecture environment specific semver lists
This allow lists like "linux-gnu-x86_64" which is only used for Linux,
using GNU libc on 64 bit x86.
2021-03-27 11:01:16 +01:00
Thomas de Zeeuw aa1c8ea6ba Add Android semver lists
One would expect Android to include the Unix and Linux lists, as it's
Linux based. However because Android is missing too many definitions I
found it easier to create a fully separate list for Android
specifically.
2021-03-27 10:27:17 +01:00
Thomas de Zeeuw c8d9470502 Add semver test infrastructure
This first step add the infrastructure to test if libc follows semantic
versioning.

In the build step it creates a test file which imports all functions,
constants, etc. that are expected to be public. This file is generated
from the files in the (not yet included) semver directory. These files
include the function and constants expected to be public per target
family, vendor, OS, etc.

See the do_semver function in the build file of libc-test for the
details.
2021-03-27 10:27:17 +01:00
Dominik Stolz 204fe259c6 Ignore syscalls added in Linux 5.9 or later in tests 2021-03-16 08:07:03 +01:00
Josh Triplett 0a9aec7baf CI: Add ARPHRD_ to kernel definitions 2021-03-15 16:33:35 -07:00
Josh Triplett 54e633ce8a CI: Consolidate and blanket-ignore kernel definitions on non-glibc
Skip definitions from the kernel on non-glibc Linux targets.
They're libc-independent, so we only need to check them on one
libc. We don't want to break CI if musl or another libc doesn't
have the definitions yet. (We do still want to check them on
every glibc target, though, as some of them can vary by
architecture.)
2021-03-15 16:33:35 -07:00
Dominik Stolz 3e0e58521a Ignore SYS_clone3 during musl tests 2021-03-15 00:22:44 +01:00
Noah 3f6b151eed
Skip uinput tests on musl+mips+ppc64+sparc64 2021-03-12 20:45:32 -06:00
Noah e45454f20d
Add structs from linux/uinput.h + a couple of input-related constants 2021-03-12 12:51:55 -06:00
Torbjørn Birch Moltu 3f62e51d24 Add cr_pid to FreeBSD xucred - an unreleased addition in FreeBSD 13
definition: https://svnweb.freebsd.org/base/head/sys/sys/ucred.h?view=markup#l85
manpage: https://www.freebsd.org/cgi/man.cgi?query=unix&sektion=0&manpath=FreeBSD+13-current&format=html

Continue comparing and hashing __cr_unused1 for backwards compatibility.
2021-03-08 19:37:01 +01:00
Yuki Okushi b719be4150 Skip tests for gettid on musl
It requires musl 1.2.2 or later.
2021-03-05 01:45:03 +09:00