summaryrefslogtreecommitdiff
path: root/src/unix/bsd
Commit message (Collapse)AuthorAgeFilesLines
...
* | Auto merge of #2751 - guyru:master, r=Amanieubors2022-04-281-1/+0
|\ \ | |/ |/| | | Add unix adjtime support.
| * Remove the freebsd specific adjtime.Guy Rutenberg2022-04-121-1/+0
| |
* | Auto merge of #2762 - m-ou-se:netbsd-futex-consts, r=Amanieubors2022-04-201-0/+23
|\ \ | | | | | | | | | | | | | | | Add NetBSD's FUTEX_* constants. This adds the FUTEX_* constants from NetBSD's [src/sys/sys/futex.h](http://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/sys/sys/futex.h).
| * | Add NetBSD's FUTEX_* constants.Mara Bos2022-04-191-0/+23
| | |
* | | Auto merge of #2763 - m-ou-se:dragonflybsd-futex, r=Amanieubors2022-04-201-0/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | Add DragonFly umtx_{sleep, wakeup}. This adds DragonFly's futex functions: https://man.dragonflybsd.org/?command=umtx&section=2
| * | | Add DragonFly umtx_{sleep, wakeup}.Mara Bos2022-04-191-0/+3
| |/ /
* | | Add OpenBSD's futex.h.Mara Bos2022-04-191-0/+15
|/ /
* | mixed up linesmaxfranke2022-04-121-1/+1
| |
* | Added SSM sockops for OSes that have support but were missing from libcmaxfranke2022-04-122-0/+20
|/
* Auto merge of #2745 - vityafx:add-sched-constants-for-openbsd, r=Amanieubors2022-04-101-0/+4
|\ | | | | | | | | | | | | | | | | Add SCHED constants for OpenBSD. The constants are defined for improving the user experience when calling the libc functions related to scheduling policies. Also helps with unifiying the code as all these constants are already defined for other operating systems.
| * Add SCHED constants for OpenBSD.Victor Polevoy2022-04-091-0/+4
| | | | | | | | | | | | | | The constants are defined for improving the user experience when calling the libc functions related to scheduling policies. Also helps with unifiying the code as all these constants are already defined for other operating systems.
* | Auto merge of #2744 - vityafx:add-pthread-functions-to-freebsd, r=Amanieubors2022-04-101-0/+10
|\ \ | | | | | | | | | | | | | | | | | | | | | Add pthread_set/get schedparam functions to FreeBSD. FreeBSD has these functions and this provides an interface to use them. In particular, the [`thread-priority`](https://github.com/vityafx/thread-priority/runs/5881232298) crate can't be built without those.
| * | Add pthread_set/get schedparam functions to FreeBSD.Victor Polevoy2022-04-091-0/+10
| |/ | | | | | | FreeBSD has these functions and this provides an interface to use them.
* | Add IP_DONTFRAG and IPV6_DONTFRAG for FreeBSD-likeJunho Choi2022-04-052-0/+2
|/ | | | | FreeBSD: add IP_DONTFRAG FreeBSD, DragonFlyBSD: add IPV6_DONTFRAG
* Auto merge of #2733 - vityafx:add-pthread-functions-to-bsd, r=Amanieubors2022-04-022-7/+17
|\ | | | | | | | | | | Expose more thread bindings for BSD-like OSes. Fixes https://github.com/rust-lang/libc/issues/2721
| * Expose more thread bindings for NetBSD-like OSes.Victor Polevoy2022-04-012-7/+17
| |
* | following up on openbsd's kinfo_vmentry flagsDavid Carlier2022-03-311-0/+24
| |
* | openbsd kinfo_vmentry protection flagsDavid Carlier2022-03-301-0/+5
|/
* Auto merge of #2719 - Gankra:fpsimd, r=Gankrabors2022-03-231-1/+8
|\ | | | | | | | | | | Create optionally-available __int128 typedefs and use them for ARM64 definitions. Potentially fixes #2524, see the comments in the patch for details.
| * Create optionally-available __int128 typedefs and use them for ARM64 ↵Aria Beingessner2022-03-231-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | definitions. This adds the following types to fixed_width_ints behind appropriate platform cfgs: * __int128 * __int128_t * __uint128 * __uint128_t and user_fpsimd_struct to arm64 android and linux.
* | Use target_pointer_width attributeVladimir Michael Eatwell2022-03-171-4/+4
| |
* | [watch_os] add support for Apple WatchOSVladimir Michael Eatwell2022-03-082-4/+5
|/
* openbsd hash search apiDavid Carlier2022-03-051-0/+18
|
* openbsd add lsearch/lfind fn.David Carlier2022-03-031-0/+15
|
* adding getlocalbase to freebsd 13David CARLIER2022-03-021-0/+2
|
* Fix style issuelyinch2022-02-171-2/+2
|
* Fix linter issuelyinch2022-02-171-1/+0
|
* Add CLOCK_UPTIME_RAW symbol for macos aarch64lyinch2022-02-171-0/+3
|
* BSD add deterministic rand apiDavid Carlier2022-02-142-0/+14
|
* Auto merge of #2681 - rtzoeller:dfly_more_errors, r=Amanieubors2022-02-121-0/+2
|\ | | | | | | | | | | Define ENOTRECOVERABLE and EOWNERDEAD on DragonFly Corresponds to DragonFly commit [c907b81a9d9aa73a2c8f1b41387347bc0eb66ba5](https://github.com/DragonFlyBSD/DragonFlyBSD/commit/c907b81a9d9aa73a2c8f1b41387347bc0eb66ba5)
| * Define ENOTRECOVERABLE and EOWNERDEAD on DragonFlyRyan Zoeller2022-02-101-0/+2
| | | | | | | | Corresponds to DragonFly commit c907b81a9d9aa73a2c8f1b41387347bc0eb66ba5
* | Auto merge of #2677 - devnexen:fbsd14_tcp_flags, r=Amanieubors2022-02-121-0/+12
|\ \ | | | | | | | | | freebsd 14 new tcp constants.
| * | freebsd 14 new tcp constants.David CARLIER2022-02-111-0/+12
| | |
* | | flopen from libutil on freebsdDavid CARLIER2022-02-121-0/+3
|/ /
* | freebsd tcp.h data updateDavid CARLIER2022-02-101-0/+12
|/
* Auto merge of #2670 - devnexen:fbsd_dfbsd_sched_upd, r=Amanieubors2022-02-062-0/+2
|\ | | | | | | bsd sched api update
| * bsd sched api updateDavid CARLIER2022-02-052-0/+2
| |
* | Auto merge of #2667 - devnexen:fcopyfile_mac, r=Amanieubors2022-02-061-0/+53
|\ \ | | | | | | | | | (f)copyfile fn for apple
| * | (f)copyfile fn for appleDavid CARLIER2022-02-031-0/+53
| |/
* | freebsd 14 add new PT_GETREGSET/PT_SETREGSET flagDavid CARLIER2022-02-031-0/+2
|/
* Gate PartialEq and Eq on freebsd objects behind extra_traitsTyler Mandry2022-01-281-16/+8
|
* freebsd audit api introduction.David CARLIER2022-01-261-0/+20
|
* freebsd add ifconf data.David CARLIER2022-01-251-0/+44
|
* getpagesizes for freebsd additionDavid CARLIER2022-01-251-0/+1
|
* Auto merge of #2649 - devnexen:netbsd_ifconf, r=Amanieubors2022-01-241-0/+51
|\ | | | | | | netbsd add ifconf data
| * netbsd add ifconf dataDavid Carlier2022-01-241-0/+51
| |
* | Define ip_mreqn on OpenBSDCharlie Root2022-01-241-0/+6
|/
* Fix _CMSG_ALIGN on DragonFlyRyan Zoeller2022-01-231-1/+1
| | | | | | The last fix originally had 3 hard coded, but it was suggested I replace this with a size_of call. Unfortunately the suggestion omitted a subtraction from the size_of call, and I didn't catch it.
* Auto merge of #2543 - asomers:fspacectl, r=Amanieubors2022-01-211-0/+16
|\ | | | | | | Add fspacectl, new in FreeBSD 14
| * Add fspacectl, new in FreeBSD 14Alan Somers2022-01-201-0/+16
| |