summaryrefslogtreecommitdiff
path: root/src/unix/bsd
Commit message (Collapse)AuthorAgeFilesLines
...
| * | pidfile util api for freebsd addition.David Carlier2023-02-021-0/+16
| | |
* | | add SO_TS_* constants for FreeBSDFolkert2023-02-021-0/+8
|/ /
* | Auto merge of #3083 - devnexen:netbsd10_pollapi_update, r=JohnTitorbors2023-01-251-1/+6
|\ \ | | | | | | | | | netbsd 10 add ppoll api support
| * | netbsd 10 add ppoll api supportDavid Carlier2023-01-221-1/+6
| | |
* | | Auto merge of #3082 - devnexen:fbsd_signal_const, r=JohnTitorbors2023-01-221-0/+5
|\ \ \ | | | | | | | | | | | | adding specific freebsd signal constants
| * | | adding specific freebsd signal constantsDavid Carlier2023-01-211-0/+5
| |/ /
* | | Auto merge of #3080 - devnexen:netbsd10_evset_update, r=JohnTitorbors2023-01-221-0/+8
|\ \ \ | | | | | | | | | | | | netbsd 10 event api update.
| * | | netbsd 10 event api update.David Carlier2023-01-211-0/+8
| |/ /
* | | Auto merge of #3073 - devnexen:fbsd14_ptrace_upd2, r=JohnTitorbors2023-01-221-0/+8
|\ \ \ | | | | | | | | | | | | freebsd 14 add ptrace_sc_remote.
| * | | freebsd 14 add ptrace_sc_remote.David Carlier2023-01-191-0/+8
| | | |
* | | | Add pthread_main_np on Apple targetsMads Marquart2023-01-211-0/+1
| |/ / |/| | | | | | | | | | | | | | Available since macOS 10.4 and iOS 2.0 Source: https://github.com/apple-oss-distributions/libpthread/blob/67e155c94093be9a204b69637d198eceff2c7c46/include/pthread/pthread.h#L537-L539
* | | Auto merge of #3046 - siegfried:ctl_info, r=JohnTitorbors2023-01-212-0/+17
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add struct ctl_info Add the struct mentioned in #3045 Not sure if I should add `CTLIOCGINFO ` because it is wrapped in a macro: ```c #define CTLIOCGINFO _IOWR('N', 3, struct ctl_info) /* get id from name */ ``` The C definition of `ctl_info` is: ```c /*! * `@defined` MAX_KCTL_NAME * `@discussion` Kernel control names must be no longer than * MAX_KCTL_NAME. */ #define MAX_KCTL_NAME 96 /* * Controls destined to the Controller Manager. */ /*! * `@struct` ctl_info * `@discussion` This structure is used with the CTLIOCGINFO ioctl to * translate from a kernel control name to a control id. * `@field` ctl_id The kernel control id, filled out upon return. * `@field` ctl_name The kernel control name to find. */ struct ctl_info { u_int32_t ctl_id; /* Kernel Controller ID */ char ctl_name[MAX_KCTL_NAME]; /* Kernel Controller Name (a C string) */ }; ```
| * | Add struct ctl_info for AppleZhi-Qiang Lei2023-01-212-0/+17
| | |
* | | netbsd 10 adding getentropy/getrandom.David Carlier2023-01-173-1/+7
|/ /
* | adding mimmutable from openbsd (7.3)David Carlier2023-01-091-0/+2
| |
* | Add ISO C functions atof, atol, atoll, strtoll, strtoullLegionMammal9782022-12-141-1/+0
|/
* Auto merge of #3021 - devnexen:getopt_long, r=JohnTitorbors2022-12-031-0/+14
|\ | | | | | | adding getopt_long for unixes.
| * adding getopt_long for unixes.David Carlier2022-12-011-0/+14
| |
* | Auto merge of #3023 - asomers:copy_file_range, r=JohnTitorbors2022-11-303-18/+9
|\ \ | | | | | | | | | | | | | | | Enable copy_file_range on FreeBSD PR #2479 did this, but only in the freebsd13 and freebsd14 modules, which was incorrect. Those modules should only be used for functions that change across FreeBSD versions, and therefore need different ELF symbol versions. Functions that were newly added since FreeBSD 11 can still go in the base freebsd module. It will cause no problems for them to be there, and users will see an error at link time if they try to use such a function in an environment that is too old to support it.
| * | Enable copy_file_range on FreeBSDAlan Somers2022-11-303-18/+9
| |/ | | | | | | | | | | | | | | | | | | PR #2479 did this, but only in the freebsd13 and freebsd14 modules, which was incorrect. Those modules should only be used for functions that change across FreeBSD versions, and therefore need different ELF symbol versions. Functions that were newly added since FreeBSD 11 can still go in the base freebsd module. It will cause no problems for them to be there, and users will see an error at link time if they try to use such a function in an environment that is too old to support it.
* | Add more capsicum functions for FreeBSDAlan Somers2022-11-291-0/+6
|/ | | | These have all been available since at least FreeBSD 9.2.
* freebsd subset of memstat api additionDavid CARLIER2022-11-131-0/+25
|
* Auto merge of #2992 - devnexen:fbsd_procctl_upd, r=JohnTitorbors2022-11-101-0/+11
|\ | | | | | | freebsd procctl flags update
| * freebsd procctl flags updateDavid CARLIER2022-11-071-0/+11
| |
* | add extattr_list_xxx() on NetBSDSteve Lau2022-11-031-0/+18
|/
* add extended attributes constants on NetBSDSteve Lau2022-11-021-0/+6
|
* fix: Order of all `s_*!` macro callsFlorian Bartels2022-10-282-22/+22
|
* expose dirname and basenameSteve Lau2022-10-257-0/+21
|
* Style fixes, and filter out duplicate definitionsAlan Somers2022-10-223-7/+2
|
* Add more MNT_ flags on {Dragonfly,Net,Open}BSDAlan Somers2022-10-226-1/+54
|
* Auto merge of #2968 - name1e5s:macos_clocks, r=JohnTitorbors2022-10-182-2/+4
|\ | | | | | | | | | | add missing clockid_t on macOS See https://github.com/apple-open-source-mirror/Libc/blob/master/include/time.h#L205
| * remove redunant definition of CLOCK_UPTIME_RAWname1e5s2022-10-181-2/+0
| |
| * add missing clockid_t on macOSyuhaixin.hx2022-10-181-0/+4
| |
* | openbsd: add more locale constants for use with newlocale()Sébastien Marie2022-10-171-0/+12
|/
* Add support for tvosThom Chiovoloni2022-10-111-1/+2
|
* add eaccess on freebsd and dragonflySteve Lau2022-10-091-0/+2
|
* Auto merge of #2946 - devnexen:os_log_macos, r=JohnTitorbors2022-10-091-0/+24
|\ | | | | | | os_log/signpost for apple api subset
| * os_log/signpost for apple api subsetDavid CARLIER2022-10-071-0/+24
| |
* | Don't link against iconv on apple targets when used by `std`Thom Chiovoloni2022-10-061-1/+4
|/
* Add bindings to Apple's `os/lock.h` APIs (os_unfair_lock)Thom Chiovoloni2022-10-051-0/+38
| | | | Co-authored-by: jtnunley <jtnunley01@gmail.com>
* add major/minor/makedev on apple OSesSteve Lau2022-10-021-0/+12
|
* Use `::Option` and not `Option` for `pthread_jit_write_callback_t`Thom Chiovoloni2022-09-291-1/+1
|
* CPU_SETSIZE constant to dragonflybsd.David Carlier2022-09-281-0/+2
|
* Added malloc_good_size.Nathan Ricci2022-09-231-0/+1
|
* Exposed malloc_size on macNathan Ricci2022-09-221-0/+2
|
* netbsd mcontext x86_64 constants.David Carlier2022-09-171-0/+27
|
* openbsd: add getmntinfo(3) and getfsstat(2) supportSébastien Marie2022-09-131-0/+6
|
* Auto merge of #2891 - asomers:makedev, r=JohnTitorbors2022-09-097-0/+76
|\ | | | | | | | | | | Add makedev for the BSDs Also, make Linux's makedev function safe and const.
| * Add makedev for the BSDsAlan Somers2022-09-077-0/+76
| | | | | | | | | | | | | | | | | | | | | | Also, make makedev function safe and const on all platforms. On Android, change the arguments from signed to unsigned integers to match the other platforms. The C makedev is a macro, so the signededness is undefined. Add an integration test for makedev, too, since it's a macro that we must reimplement.
* | apple: Add the attrlist set of functionsbeetrees2022-09-061-0/+227
| |