| Age | Commit message (Collapse) | Author |
|
|
|
|
|
* `linux.IO_Uring` -> `linux.IoUring` to align with naming conventions.
* All functions `io_uring_prep_foo` are now methods `prep_foo` on `io_uring_sqe`, which is in a file of its own.
* `SubmissionQueue` and `CompletionQueue` are namespaced under `IoUring`.
This is a breaking change.
The new file and namespace layouts are more idiomatic, and allow us to
eliminate one more usage of `usingnamespace` from the standard library.
2 remain.
|
|
This usage of `usingnamespace` was removed fairly trivially - the
resulting code is, IMO, more clear.
Eliminates one more usage of `usingnamespace` from the standard library.
|
|
This is a trivial change - this code did `usingnamespace` into an
otherwise empty namespace, so the outer namespace was just unnecessary.
Eliminates one more usage of `usingnamespace` from the standard library.
|
|
|
|
In d7563a7753393d7f0d1af445276a64b8a55cb857, I misunderstood what `cc_t`
was supposed to do. Those V enum values are indices into the array.
|
|
and collect the missing flag bits from all the operating systems.
|
|
This creates `tc_cflag_t` even though such a type is not defined by
libc.
I also collected the missing flag bits from all the operating systems.
|
|
This creates `tc_cflag_t` even though such a type is not defined by
libc.
I also collected the missing flag bits from all the operating systems.
|
|
This creates `tc_oflag_t` even though such a type is not defined by
libc.
I also collected the missing flag bits from all the operating systems.
|
|
This creates `tc_iflag_t` even though such a type is not defined by
libc.
I also collected the missing flag bits from all the operating systems.
|
|
|
|
|
|
|
|
io_uring: add waitid operation
|
|
* std.c: consolidate some definitions, making them share code. For
example, freebsd, dragonfly, and openbsd can all share the same
`pthread_mutex_t` definition.
* add type safety to std.c.O
- this caught a bug where mode flags were incorrectly passed as the
open flags.
* 3 fewer uses of usingnamespace keyword
* as per convention, remove purposeless field prefixes from struct field
names even if they have those prefixes in the corresponding C code.
* fix incorrect wasi libc Stat definition
* remove C definitions from incorrectly being in std.os.wasi
* make std.os.wasi definitions type safe
* go through wasi native APIs even when linking libc because the libc
APIs are problematic and wasteful
* don't expose WASI definitions in std.posix
* remove std.os.wasi.rights_t.ALL: this is a footgun. should it be all
future rights too? or only all current rights known? both are
the wrong answer.
|
|
|
|
Introduces type safety to this constant. Eliminates one use of
`usingnamespace`.
|
|
- Add syscall bindings/structures for the `futex2` family.
The documentation is taken from the syscall definitions.
- Add documnentation for the `cachestat` bindings and structures.
Taken from work I did in Cosmopolitian libc.
- Add binding for `map_shadow_stack`.
No documentation for this one, since the kernel devs didn't bother to
do it ¯\_(ツ)_/¯.
|
|
|
|
* optimized memeql
* add `sched_setaffinity` to `std.os.linux`
Co-authored-by: Protty <45520026+kprotty@users.noreply.github.com>
Co-authored-by: Ryan Liptak <squeek502@hotmail.com>
|
|
Co-authored-by: erikarvstedt <36110478+erikarvstedt@users.noreply.github.com>
|
|
|
|
|
|
|
|
Let's take this breaking change opportunity to fix the style of this
enum.
|
|
|
|
|
|
|
|
filled_sigset is equivalent to sigfillset() as empty_sigset is
equivalent to sigemptyset().
|
|
|
|
|
|
Reference [upstream io_uring.h](https://github.com/torvalds/linux/blob/cbf3a2cb156a2c911d8f38d8247814b4c07f49a2/include/uapi/linux/io_uring.h#L234)
|
|
Can be tested using this program I whipped up:
https://gist.github.com/The-King-of-Toasters/aee448f5975c50f735fd1946794574f7
|
|
`user_addr`s were introduced in `03d89a2` ([github link](https://github.com/torvalds/linux/commit/03d89a2de25bbc5c77e61a0cf77663978c4b6ea7) which was shipped in v6.5
`flags` was introduced even earlier
|
|
|
|
|
|
|
|
|
|
|
|
CBE: fix regressions and get new targets passing behavior tests
|
|
This reverts commit 6f418c11e1ad1150fbdb002cfe1be92bda4e93cb.
|
|
This reverts commit c7bf8bab38f8b89c1371eedb9229e00a29b5ca5b.
|
|
This reverts commit b9d2e0e308794463db1b1acf04d76778c470a070.
|
|
This also required implementing the necessary syntax in the x86_64 backend.
|
|
Closes #16513
|
|
|
|
dwarf: documentation fixups
target: enable unwind tables on macho
|
|
|