Andrew Kelley
aa5808c26c
Revert "std: add accept_filter struct to make use of SO_ACCEPTFILTER socket option"
...
This reverts commit 1d322fe510 .
2023-07-31 11:20:53 -07:00
Andrew Kelley
62deaaacd5
Revert "std: mcontext layout for x86 and fixing few x86_64 fields types for"
...
This reverts commit 9691cded95 .
2023-07-31 11:20:49 -07:00
Andrew Kelley
963b2a2a4d
Revert "std: adding FreeBSD's sched wrappers"
...
This reverts commit 9ef615104a .
2023-07-31 11:20:44 -07:00
Andrew Kelley
5f101b253e
Revert "std: adding sigevent to supported platforms."
...
This reverts commit 23c4f55a61 .
2023-07-31 11:20:39 -07:00
Andrew Kelley
ddd7b0ea9e
Revert "std.c: adding mincore for freebsd"
...
This reverts commit 8d88dcdc61 .
2023-07-31 11:18:07 -07:00
Andrew Kelley
70a7210e92
Revert "std.c: freebsd add procctl exclusive x86_64 flags"
...
This reverts commit 3fb93fc8f2 .
2023-07-31 11:17:20 -07:00
Andrew Kelley
1d4e6e6c73
Revert "std.c: add essential freebsd's capsicum api subset."
...
This reverts commit 6ae19fa48d .
2023-07-31 11:17:11 -07:00
Andrew Kelley
f96f57930c
Revert "std.c: adding freebsd's CPU_COUNT macro portage."
...
This reverts commit b9841750f9 .
2023-07-31 11:14:03 -07:00
Andrew Kelley
afca695b64
Revert "std.c: adding freebsd's kinfo_proc type."
...
This reverts commit 3dd0afe787 .
2023-07-31 11:10:56 -07:00
Andrew Kelley
8c7eb8c8da
Revert "std.c: adding freebsd's domainset api"
...
This reverts commit e8f76b452b .
2023-07-31 11:09:34 -07:00
Andrew Kelley
a048ddaf91
Revert "std.c: adding freebsd's domainset_t bitset"
...
This reverts commit 10a7cf58c1 .
2023-07-31 11:09:16 -07:00
Andrew Kelley
ac7be71d8e
Revert "std.c: add freebsd's kinfo_vmobject"
...
This reverts commit 5260657230 .
2023-07-31 11:05:38 -07:00
Andrew Kelley
6d7c6f4da7
Revert "std.c: adding freebsd's ioctl base operands."
...
This reverts commit cd7e2bf57a .
2023-07-31 11:05:21 -07:00
Andrew Kelley
86a5edca62
Revert "std.os: implementing sched_setaffinity wrapper for freebsd"
...
This reverts commit 05268bb967 .
2023-07-31 10:58:03 -07:00
Andrew Kelley
e1fdd21f0e
Revert "std.c: add rfork for freebsd"
...
This reverts commit 2952fb9758 .
2023-07-31 10:57:35 -07:00
Andrew Kelley
b7e37f9ddc
Revert "std.c: add ptrace for freebsd support."
...
This reverts commit b754068fbc .
2023-07-31 10:57:12 -07:00
Andrew Kelley
9d798ead63
Revert "std.c: fix freebsd's CPU_ISSET call"
...
This reverts commit 768965788e .
2023-07-31 10:54:45 -07:00
Andrew Kelley
1b9ffa0824
Revert "std.Thread: refining stack size from platform minimum, changes more targetted towards platform like Linux/musl ( #15791 )"
...
This reverts commit 41502c6aa5 .
2023-07-31 10:54:35 -07:00
Andrew Kelley
ba3b352891
Revert "std.os: fix uname usage."
...
This reverts commit 138f1253de .
2023-07-31 10:52:12 -07:00
Andrew Kelley
9f20d01cfb
Revert "std.c: exposing timer api"
...
This reverts commit 54ea0bbcdd .
2023-07-31 10:51:44 -07:00
Andrew Kelley
643c986838
Revert "std.c: freebsd fix typo for PROC.PROCCTL_MD_MIN constant."
...
This reverts commit e9dd0a22f0 .
2023-07-31 10:50:27 -07:00
Andrew Kelley
381704dd0e
Revert "std.c: fix few capcisum api calls, following-up on 6ae19fa."
...
This reverts commit 72dd22f262 .
2023-07-31 10:50:16 -07:00
Andrew Kelley
88b4ee172f
Revert "std.c: few freebsd's kinfo api fixes."
...
This reverts commit d07149c56d .
2023-07-31 10:50:09 -07:00
Andrew Kelley
95e2605d30
Revert "std.c: msghdr* struct removing prefixes to match linux."
...
This reverts commit 8f14431bc8 .
2023-07-31 10:49:57 -07:00
David CARLIER
8f14431bc8
std.c: msghdr* struct removing prefixes to match linux.
2023-07-01 11:14:39 -07:00
David CARLIER
d07149c56d
std.c: few freebsd's kinfo api fixes.
...
following up on 4a0508e and 3dd0afe .
- kinfo_vmentry, removing kve_ prefix.
- kinfo_getproc, returns one entry at most.
2023-06-25 12:27:45 -07:00
mlugg
f26dda2117
all: migrate code to new cast builtin syntax
...
Most of this migration was performed automatically with `zig fmt`. There
were a few exceptions which I had to manually fix:
* `@alignCast` and `@addrSpaceCast` cannot be automatically rewritten
* `@truncate`'s fixup is incorrect for vectors
* Test cases are not formatted, and their error locations change
2023-06-24 16:56:39 -07:00
David CARLIER
72dd22f262
std.c: fix few capcisum api calls, following-up on 6ae19fa.
...
only variadic calls are prefixed with underscores.
ref: 59833b089e/sys/sys/capsicum.h (L326)
2023-06-24 13:05:45 -07:00
David CARLIER
e9dd0a22f0
std.c: freebsd fix typo for PROC.PROCCTL_MD_MIN constant.
...
follow-up on 2e2d379 .
2023-06-24 12:59:18 -07:00
Eric Joldasov
50339f595a
all: zig fmt and rename "@XToY" to "@YFromX"
...
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
2023-06-19 12:34:42 -07:00
David CARLIER
54ea0bbcdd
std.c: exposing timer api
2023-06-18 08:09:42 -07:00
Michael Dusan
64ddba955a
freebsd: fix std.c.getdents
...
- fix getdents return type usize → isize
- usize ultimately forced errors to .SUCCESS in std.c.getError
New behavior in freebsd 13.2 is to return ENOENT if the directory being
iterated is deleted during iteration. We now detect this and treat it
consistent with iteration ending.
2023-06-15 14:48:19 -04:00
David CARLIER
138f1253de
std.os: fix uname usage.
...
close #15839 .
2023-05-29 22:08:43 +03:00
Veikka Tuominen
ca16f1e8a7
std.Target adjustments
...
* move `ptrBitWidth` from Arch to Target since it needs to know about the abi
* double isn't always 8 bits
* AVR uses 1-byte alignment for everything in GCC
2023-05-26 21:42:19 -07:00
David CARLIER
41502c6aa5
std.Thread: refining stack size from platform minimum, changes more targetted towards platform like Linux/musl ( #15791 )
2023-05-25 14:32:17 -05:00
David CARLIER
768965788e
std.c: fix freebsd's CPU_ISSET call
2023-05-22 13:13:57 +03:00
David CARLIER
b754068fbc
std.c: add ptrace for freebsd support.
2023-05-16 22:47:51 +03:00
David CARLIER
2952fb9758
std.c: add rfork for freebsd
2023-05-15 03:10:34 +03:00
David CARLIER
05268bb967
std.os: implementing sched_setaffinity wrapper for freebsd
2023-05-14 10:21:42 +03:00
David CARLIER
cd7e2bf57a
std.c: adding freebsd's ioctl base operands.
2023-05-10 19:14:51 +03:00
David CARLIER
5260657230
std.c: add freebsd's kinfo_vmobject
2023-05-10 01:48:35 +03:00
David CARLIER
10a7cf58c1
std.c: adding freebsd's domainset_t bitset
2023-05-10 01:13:15 +03:00
David CARLIER
e8f76b452b
std.c: adding freebsd's domainset api
2023-05-09 14:24:03 +03:00
David CARLIER
3dd0afe787
std.c: adding freebsd's kinfo_proc type.
2023-05-09 12:04:53 +03:00
David CARLIER
b9841750f9
std.c: adding freebsd's CPU_COUNT macro portage.
2023-05-03 08:19:46 +03:00
David CARLIER
6ae19fa48d
std.c: add essential freebsd's capsicum api subset.
2023-04-30 19:44:10 -07:00
David CARLIER
3fb93fc8f2
std.c: freebsd add procctl exclusive x86_64 flags
2023-04-30 12:28:36 +03:00
David CARLIER
8d88dcdc61
std.c: adding mincore for freebsd
2023-04-25 10:43:54 -07:00
David CARLIER
23c4f55a61
std: adding sigevent to supported platforms.
2023-04-23 19:46:43 +03:00
David CARLIER
9ef615104a
std: adding FreeBSD's sched wrappers
2023-04-23 19:46:30 +03:00