summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Auto merge of #2194 - coolreader18:windows-fcntl, r=JohnTitorbors2021-05-251-10/+21
|\ | | | | | | Add all O_* codes from fcntl.h on windows
| * Add all O_* codes from fcntl.h on windowsNoah2021-05-241-10/+21
| |
* | Auto merge of #2157 - devnexen:netbsd_ucontext, r=JohnTitorbors2021-05-243-2/+25
|\ \ | | | | | | | | | | | | | | | Add `ucontext_t` and `mcontext_t` on NetBSD/x86_64 ucontext_t/mcontext_t exposure on x86_64 architecture.
| * | remove alignment for older rust releasesDavid Carlier2021-05-231-1/+0
| | |
| * | Fix what can be at this stageDavid Carlier2021-05-222-2/+8
| | |
| * | netbsd update.David Carlier2021-05-221-0/+18
| | | | | | | | | | | | ucontext_t/mcontext_t exposure on x86_64 architecture.
* | | Auto merge of #2192 - devnexen:netbsd_auxinfo, r=JohnTitorbors2021-05-241-0/+14
|\ \ \ | | | | | | | | | | | | netbsd mapping auxiliary vectors type
| * | | netbsd mapping auxiliary vectors typeDavid Carlier2021-05-231-0/+14
| |/ /
* | | Auto merge of #2191 - devnexen:macos_libproc_api, r=JohnTitorbors2021-05-231-0/+16
|\ \ \ | | | | | | | | | | | | apple adding subset of the most used libproc api
| * | | apple adding subset of the most used libproc apiDavid CARLIER2021-05-221-0/+16
| |/ /
* | | Auto merge of #2190 - devnexen:obsd_deprecate_constants, r=JohnTitorbors2021-05-231-0/+8
|\ \ \ | | | | | | | | | | | | openbsd update deprecate few constants
| * | | openbsd update deprecate few constantsDavid Carlier2021-05-221-0/+8
| | | |
* | | | Auto merge of #2184 - devnexen:dflybsd_affinity, r=JohnTitorbors2021-05-231-0/+33
|\ \ \ \ | | | | | | | | | | | | | | | dragonflybsd cpu affinity api
| * | | | dragonflybsd cpu affinity apiDC2021-05-181-0/+33
| |/ / /
* | | | Auto merge of #2179 - devnexen:apple_thread_policy_subset, r=JohnTitorbors2021-05-231-0/+167
|\ \ \ \ | |_|/ / |/| | | | | | | apple adding thread policy api
| * | | apple adding thread policy apiDavid CARLIER2021-05-221-0/+167
| | | |
* | | | Auto merge of #2185 - ManaSugi:update-msflags, r=JohnTitorbors2021-05-221-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add MS_LAZYTIME flag MS_LAZYTIME (since Linux 4.0) reduces on-disk updates of inode timestamps (atime, mtime, ctime) by maintaining these changes only in memory. Signed-off-by: Manabu Sugimoto <Manabu.Sugimoto@sony.com>
| * | | | Add MS_LAZYTIME flagManabu Sugimoto2021-05-191-0/+1
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | MS_LAZYTIME (since Linux 4.0) reduces on-disk updates of inode timestamps (atime, mtime, ctime) by maintaining these changes only in memory. Signed-off-by: Manabu Sugimoto <Manabu.Sugimoto@sony.com>
* | | | Auto merge of #2182 - devnexen:fbsd_libutil_upd, r=JohnTitorbors2021-05-221-0/+13
|\ \ \ \ | |/ / / |/| | | | | | | freebsd: add realhostname api from libutil
| * | | freebsd add realhostname api from libutilDavid Carlier2021-05-171-0/+13
| | | |
* | | | freebsd: getentropy supportDavid Carlier2021-05-171-0/+1
| |/ / |/| |
* | | Auto merge of #2173 - devnexen:elf_aux_info, r=Amanieubors2021-05-162-0/+2
|\ \ \ | | | | | | | | | | | | freebsd update adding `elf_aux_info` from 12.x release.
| * | | freebsd update adding elf_aux_info from 12.x release.David Carlier2021-05-162-0/+2
| | | |
* | | | Auto merge of #2176 - devnexen:netdb_constants, r=Amanieubors2021-05-161-0/+6
|\ \ \ \ | |_|/ / |/| | | | | | | openbsd adding few more netdb constants
| * | | openbsd adding few more netdb constantsDavid Carlier2021-05-161-0/+6
| | |/ | |/|
* | | Auto merge of #2175 - devnexen:haiku_upd, r=JohnTitorbors2021-05-161-0/+9
|\ \ \ | |_|/ |/| | | | | Add kernel scheduler API to Haiku
| * | haiku update adding kernel scheduler api.David Carlier2021-05-151-0/+9
| |/
* | Auto merge of #2174 - devnexen:fbsd_capsicum_api, r=JohnTitorbors2021-05-161-0/+17
|\ \ | | | | | | | | | Add capsicum API set to FreeBSD
| * | freebsd adding capsicum api setDavid Carlier2021-05-151-0/+17
| |/
* | Add OpenBSD unveil(2)Vincent Lee2021-05-151-0/+1
|/
* Auto merge of #2170 - tweksteen:nlink_t_fix, r=Amanieubors2021-05-142-4/+4
|\ | | | | | | Fix type for Android st_nlink
| * Fix types for st_nlinkThiébaud Weksteen2021-05-142-4/+4
| | | | | | | | | | | | | | | | | | On aarch64[1], arm and x86[2], st_nlink is of type nlink_t (defined as u32). On x86_64, st_nlink is explicitly defined as an unsigned long[3]. [1] https://android.googlesource.com/platform/bionic/+/453076b8d0aaf231a4eec48950530e2bcd774ccd/libc/include/sys/stat.h#48 [2] https://android.googlesource.com/platform/bionic/+/453076b8d0aaf231a4eec48950530e2bcd774ccd/libc/include/sys/stat.h#87 [3] https://android.googlesource.com/platform/bionic/+/453076b8d0aaf231a4eec48950530e2bcd774ccd/libc/include/sys/stat.h#67
* | musl: add missing AArch64 HWCAP_* constsTony Arcieri2021-05-131-0/+34
| |
* | Auto merge of #2166 - devnexen:cpu_affinity_fbsd, r=JohnTitorbors2021-05-131-0/+56
|\ \ | |/ |/| | | freebsd update adding cpu affinity api subset
| * freebsd update adding cpu affinity api subsetDavid Carlier2021-05-121-0/+56
| |
* | Auto merge of #2168 - mullvad:add-ip-bound-if, r=JohnTitorbors2021-05-111-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | Add IP_BOUND_IF for Apple To allow for binding a socket to an interface or querying a socket to see which interface it's bound to, `IP_BOUND_IF` must be used - I've added it to `libc`. I've added it as an apple-wide constant (both for macOS and iOS), but I'm not sure if it's the same value on iOS.
| * | Add IP_BOUND_IF for AppleEmīls Piņķis2021-05-111-0/+1
| | |
* | | Auto merge of #2156 - niluxv:add_explicit_memset_functions, r=JohnTitorbors2021-05-116-0/+22
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add explicit/volatile memset/memzero functions Adds the following functions to platforms that support them: * `explicit_bzero` (de facto standard): Glibc, MUSL, FreeBSD, DragonFly BSD, OpenBSD * `explicit_memset`: NetBSD * `memset_s` (C11 standard): FreeBSD, DragonFly BSD, Apple OSX These functions are useful for zeroing secret memory. Closes #2009
| * | | Remove the new `extern "C"` blocks (merge with existing blocks)niluxv2021-05-085-13/+3
| | | |
| * | | Add `memset_s` on apple OSXniluxv2021-05-051-0/+4
| | | |
| * | | Change `memset_s` signature to standard C typesniluxv2021-05-051-1/+1
| | | | | | | | | | | | | | | | Use the standard C type equivalent to the C11 annex K types
| * | | Add explicit/volatile memset/memzero functionsniluxv2021-05-025-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds the following functions to platforms that support them: * `explicit_bzero` (de facto standard): Glibc, MUSL, FreeBSD, DragonFly BSD, OpenBSD * `explicit_memset`: NetBSD * `memset_s` (C11 standard): FreeBSD, DragonFly BSD These functions are useful for zeroing secret memory.
* | | | Add missing `ioctl` function to s390x MUSL targetmessense2021-05-111-0/+4
| |/ / |/| |
* | | Auto merge of #2165 - devnexen:apple_thd_api_upd, r=JohnTitorbors2021-05-101-0/+34
|\ \ \ | |_|/ |/| | | | | apple handful of pthread api update.
| * | apple handful of pthread api update.David CARLIER2021-05-081-0/+34
| | |
* | | openbsd adding mmap MAP_CONCEAL flag.David Carlier2021-05-081-0/+1
|/ /
* | Auto merge of #2158 - devnexen:fbsd_update, r=JohnTitorbors2021-05-071-0/+1
|\ \ | | | | | | | | | | | | | | | Add `MAP_ALIGNED_SUPER` on FreeBSD introducing MAP_ALIGNED macro and MAP_ALIGNED_SUPER.
| * | freebsd update proposal.David Carlier2021-05-071-0/+1
| | | | | | | | | | | | introducing MAP_ALIGNED macro and MAP_ALIGNED_SUPER.
* | | Add getnameinfo on redoxNoah2021-05-031-0/+11
| | |
* | | Add more netdb constants for redoxNoah2021-05-031-0/+18
|/ /