summaryrefslogtreecommitdiff
path: root/src/unix/bsd/netbsdlike
Commit message (Collapse)AuthorAgeFilesLines
...
* netbsd login api additionDavid Carlier2021-07-231-0/+4
|
* netbsd add strpct api.David Carlier2021-07-221-0/+15
|
* netbsd adding couple of handy helpers from lb=ibutilDavid Carlier2021-07-181-0/+21
|
* netbsd siginfo_t si_status accessorDavid Carlier2021-07-061-0/+17
| | | | closes #2265
* netbsd/openbsd sched_param api additionDavid Carlier2021-06-301-0/+7
|
* Auto merge of #2261 - devnexen:netbsd_libutil_update, r=JohnTitorbors2021-06-281-0/+14
|\ | | | | | | netbsd libutil update
| * netbsd libutil updateDavid Carlier2021-06-271-0/+14
| |
* | bsd reallocarray and reallocarr for netbsd.David Carlier2021-06-272-0/+6
| |
* | Auto merge of #2248 - devnexen:netbsd_waitid, r=JohnTitorbors2021-06-181-0/+7
|\ \ | |/ | | | | | | | | adding waitid call to netbsd close #2243
| * adding waitid call to netbsdDavid Carlier2021-06-181-0/+7
| | | | | | | | close #2243
* | pthread_spinlock api remaining bsd systemsDavid Carlier2021-06-173-0/+15
|/
* netbsd/freebsd adding accept_filter_arg as SO_ACCEPTFILTER only makes sense withDavid Carlier2021-06-081-0/+5
|
* netbsd cpu affinity apiDavid Carlier2021-06-071-0/+23
|
* netbsd add mremap and its particular flag. little note on kevent.David Carlier2021-06-061-1/+10
|
* netbsd adding consttime_memequal (added in 7.0 too)David Carlier2021-06-021-0/+1
|
* bsd adding setproctitle (setproctitle_fast for FreeBSD too).David Carlier2021-06-012-0/+4
| | | | addresses #2197
* Auto merge of #2202 - devnexen:netbsd_libutil_emalloc, r=JohnTitorbors2021-05-301-0/+14
|\ | | | | | | netbsd add error check functions from libutil and error handler.
| * netbsd add error check functions from libutil and error handler.David Carlier2021-05-271-0/+14
| |
* | netbsd couple of more getnameinfo flagsDavid Carlier2021-05-291-0/+9
|/
* openbsd/netbsd siginfo_t adding si_addr field accessor.David Carlier2021-05-262-0/+8
|
* 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
| |/
* | openbsd update deprecate few constantsDavid Carlier2021-05-221-0/+8
|/
* 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
| |
* | Add OpenBSD unveil(2)Vincent Lee2021-05-151-0/+1
|/
* Auto merge of #2156 - niluxv:add_explicit_memset_functions, r=JohnTitorbors2021-05-112-0/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | 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-082-4/+0
| |
| * Add explicit/volatile memset/memzero functionsniluxv2021-05-022-0/+10
| | | | | | | | | | | | | | | | | | 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.
* | openbsd adding mmap MAP_CONCEAL flag.David Carlier2021-05-081-0/+1
|/
* Add some locale-related functions for openbsdBrennan Vincent2021-05-011-0/+4
|
* Add kqueue1 to NetBSDBenoît du Garreau2021-04-121-0/+2
|
* Fix styleYuki Okushi2021-04-063-128/+28
|
* Removed repr(packed) from some NetBSD structuresAlan Somers2021-04-041-2/+0
| | | | | | | | The structures in question have always been properly aligned, so the packed attribute only serves to generate annoying compiler warnings. It will be removed in the next release of NetBSD. https://github.com/NetBSD/src/commit/415c686e207c29e0b6329b5045273224c091a434
* Constify `CMSG_SPACE` for all the targetsJohnTitor2021-03-302-6/+10
|
* Add NetBSD unpcbid, LOCAL_PEEREID and other LOCAL_ constantsTorbjørn Birch Moltu2021-03-071-0/+12
|
* Add bindings for iconv callsAlexander Batischev2021-02-111-0/+15
| | | | | | | | | | | | | | | | | | FreeBSD-likes all implement iconv: - DragonflyBSD: https://github.com/DragonFlyBSD/DragonFlyBSD/blob/bbb35c81f71fe2a0880a1f8bb77876ee98b63338/include/iconv.h - FreeBSD: https://github.com/freebsd/freebsd-src/blob/a6dc68c0e0f8a24ffaf0b4e78e58141ef7897047/include/iconv.h NetBSD-likes: - NetBSD: https://github.com/NetBSD/src/blob/81a39f60870b617d7fca299c126de6553d78cc5a/include/iconv.h - OpenBSD doesn't implement it macOS: apparently ships a conforming implementation as a separate library: https://stackoverflow.com/questions/57734434/libiconv-or-iconv-undefined-symbol-on-mac-osx/57734435#57734435 Linux: - glibc: https://sourceware.org/git/?p=glibc.git;a=blob;f=iconv/iconv.h;h=fdddf53d99c3046ef9c280db01a425c2f499043e;hb=HEAD - musl: https://git.musl-libc.org/cgit/musl/tree/include/iconv.h?id=455f96857f91d14e193219ca00969354a981c09c
* openbsd: make WIFCONTINUED() safeSébastien Marie2021-01-161-5/+5
|
* Add dl_iterate_phdr for openbsdLzu Tao2020-10-271-0/+73
|
* Add dl_iterate_phdr for netbsdLzu Tao2020-10-271-0/+79
|
* add clock_nanosleep to freebsd 12 and netbsdMax Blachman2020-10-151-0/+6
|
* Add missing NetBSD RLIMIT_ constantsRobert Collins2020-10-101-0/+6
|
* Use safe_f! consistently across platformsDaniil Bondarev2020-09-122-20/+24
| | | | | | | | | | | | The pr #1870 introduced safe_f! macro, which made some functions like WIFEXITED and WEXITSTATUS const and safe on linux_like platform only, which causes inconsistency when trying to use those functions in crates compiled across multiple platforms, as using unsafe on those functions will generate unused_unsafe warning on linux platforms and lack of unsafe block will fail compilation on non-linux platforms. To avoid the inconsistency, this commit applies the same macro for all the same functions on other platforms too.
* Declare `utmpx` on muslYuki Okushi2020-07-221-2/+2
|
* openbsd: Fix `WIFSTOPPED` following upstreamYuki Okushi2020-07-151-1/+1
| | | | https://github.com/openbsd/src/blob/b66614995ab119f75167daaa7755b34001836821/sys/sys/wait.h#L52
* added ptrace io struct and definesSimon Wörner2020-07-091-0/+13
|