| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-08-21 | linux: Add recent clone/clone3 and missing signalfd flags. | Aydin Mercan | |
| The following flags have been introduced: - CLONE_PIDFD (>=5.2) - CLONE_INTO_CGROUP (>=5.7) - SFD_CLOEXEC and SFD_NONBLOCK (>=2.6.27) | |||
| 2021-08-13 | Expose register_eventfd, register_eventfd_async, unregister_eventfd i… (#9449) | Ayende Rahien | |
| * Expose register_eventfd, register_eventfd_async, unregister_eventfd in the IO URing API * Fixing formatting * Fixing typo * Removing unnecessary casts and adding better comments for a single registration of eventfd * Update lib/std/os/linux/io_uring.zig Co-authored-by: Joran Dirk Greef <joran@coil.com> * Update lib/std/os/linux/io_uring.zig Co-authored-by: Joran Dirk Greef <joran@coil.com> * Updating util function name Co-authored-by: Joran Dirk Greef <joran@coil.com> | |||
| 2021-08-09 | Merge remote-tracking branch 'origin' into libc-wasi-test | Takeshi Yoneda | |
| 2021-08-09 | review: use defined flag for oflags. | Takeshi Yoneda | |
| Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io> | |||
| 2021-08-07 | linux: add missing FUTEX definitions | Klecko | |
| 2021-08-02 | Move iovec and log levels to bits/posix.zig | N00byEdge | |
| This lets only the OSes that uses them to import them, and removes dependencies on bits.zig for the os/<os>/<arch>.zig files | |||
| 2021-08-02 | Make linux syscalls accessible with non-Linux target OS | N00byEdge | |
| 2021-07-29 | windows: add wrappers for LocalFree, SetThreadDescription and ↵ | Vincent Rischmann | |
| GetThreadDescription | |||
| 2021-07-29 | windows/kernel32: add LocalFree, SetThreadDescription and GetThreadDescription | Vincent Rischmann | |
| 2021-07-28 | linux: add mknod and mknodat syscalls | Mahdi Khanalizadeh | |
| 2021-07-27 | WASI,libc: enable tests. | Takeshi Yoneda | |
| Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io> | |||
| 2021-07-22 | Fixed compile error: 'bMenu' needs to casted. (#9426) | Michal Ziulek | |
| 2021-07-22 | linux stdlib: fix definition of RW flags (#9428) | Biolunar | |
| 2021-07-11 | io_uring: add sqe prep methods for epoll_ctl, poll_add, and poll_remove | Kenta Iwasaki | |
| Implement io_uring submission queue entry preparation methods for epoll_ctl, poll_add and poll_remove. Poll masks are designated as 32-bit little-endian integers as specified in liburing's definitions. Updated io_uring_prep_rw to take in an unsigned 64-bit address instead of an anytype. io_uring_sqe by default assumes that the address specified in a submission queue entry is an unsigned 64-bit integer. | |||
| 2021-07-10 | Add waitid syscall on linux (#9335) | Malcolm Still | |
| 2021-07-07 | Fixed builtin.Target -> std.Target | Carlos Zúñiga | |
| 2021-07-04 | Merge pull request #9175 from kprotty/thread | Andrew Kelley | |
| std.Thread enhancements | |||
| 2021-07-02 | AstGen: detect redeclaration of function parameters | Andrew Kelley | |
| Also improve redeclaration error message to include the category of variable. | |||
| 2021-06-30 | std.Thread: more cleanup & testing | kprotty | |
| 2021-06-30 | std.Thread: more fixes | kprotty | |
| 2021-06-30 | std.Thread.getCpuCount(): fix usages | kprotty | |
| 2021-06-30 | changes to accomodate std.Thread update | kprotty | |
| 2021-06-30 | std/os/uefi: fix packed struct bitfields | Nameless | |
| 2021-06-30 | boot_services: allow custom MemoryTypes | Sreehari Sreedev | |
| 2021-06-29 | std: implement a cross platform file locking abstraction | Andrew Kelley | |
| This modifies the lock semantics from using AccessMode to using NtLockFile/NtUnlockFile. This is a breaking change. | |||
| 2021-06-29 | implement std.fs.File.setLock for Windows | Andrew Kelley | |
| 2021-06-25 | Merge pull request #9148 from marler8997/windowsChildOutput | Andrew Kelley | |
| finish ChildProcess collectOutputWindows | |||
| 2021-06-21 | mips: fix syscall_pipe | Andrew Kelley | |
| Previously the fd parameter was ignored and so the result would not get populated. Now it passes the fd pointer to the inline assembly so that the results can be observed. | |||
| 2021-06-21 | std.os.linux.bpf: fix incorrect usage of unexpectedErrno | Andrew Kelley | |
| 2021-06-21 | std.os.linux: fix splitValueBE64 | Andrew Kelley | |
| 2021-06-21 | fix code broken from previous commit | Jacob G-W | |
| 2021-06-21 | std, src, doc, test: remove unused variables | Jacob G-W | |
| 2021-06-19 | std: Fix PIE startup sequence | LemonBoy | |
| * Don't skip the TLS initialization (Fixes #9083) * Add a test case where a PIE program is built and run * Refactor the common initialization code in the Linux startup sequence. | |||
| 2021-06-18 | finish ChildProcess collectOutputWindows | Jonathan Marler | |
| This finishes LemonBoy's Draft PR ziglang#6750. It updates ChildProcess to collect the output from stdout/stderr asynchronously using Overlapped IO and named pipes. | |||
| 2021-06-17 | std: Use WINAPI instead of .Stdcall | LemonBoy | |
| 2021-06-17 | std: Avoid deadlocking in ChildProcess.exec | LemonBoy | |
| Reading stdin&stderr at different times may lead to nasty deadlocks (eg. when stdout is read before stderr and the child process doesn't write anything onto stdout). Implement a polling mechanism to make sure this won't happen: we read data from stderr/stdout as it becomes ready and then it's copied into an ArrayList provided by the user, avoiding any kind of blocking read. | |||
| 2021-06-16 | netbsd: add more std.os.bits | Michael Dusan | |
| 2021-06-14 | add a test for dup and dup2 | Veikka Tuominen | |
| 2021-06-14 | Add std.os.dup() | Samadi van Koten | |
| 2021-06-13 | std.windows: fix `OVERLAPPED`, add `OVERLAPPED_ENTRY` | viri | |
| 2021-06-12 | Make std.ChildProcess exit code u8 to match std.process.exit | Garrett Squire | |
| This patch adjusts the exit code for a child process to be a u8. Since the WEXITSTATUS macro returns the lower eight bits, it's safe to assume that we can truncate the returned u32. | |||
| 2021-06-12 | Renamed @byteOffsetOf to @offsetOf | Exonorid | |
| 2021-06-12 | std.Thread.Futex addition (#9070) | protty | |
| * std.Thread.Futex: implementation + tests * std.Thread.Futex: fix darwin compile errors * std.Thread.Futex: fix wait() documentation typo * std.Thread.Futex: fix darwin version check * std.Thread.Futex: remove unnecessary comptime keyword | |||
| 2021-06-11 | std.os.windows: implement <timeapi.h> (#8801) | viri | |
| 2021-06-10 | netlink ifi_change no longer reserved | Jens Goldberg | |
| The documentation (e.g. `man 7 rtnetlink`) states that ifi_change "is reserved for future use and should be always set to 0xFFFFFFFF". This is no longer true, even though the text hasn't been updated. | |||
| 2021-06-09 | std.Progress: use `*W` functions on windows | viri | |
| Closes #534. See: https://source.winehq.org/git/wine.git/blob/refs/heads/stable:/dlls/kernelbase/console.c#l520 | |||
| 2021-06-09 | windows: remove `TCHAR` idiom entirely | viri | |
| 2021-06-09 | os/linux: add fadvise | Vincent Rischmann | |
| 2021-06-09 | os/bits/linux: add the fadvise advice values | Vincent Rischmann | |
| 2021-06-07 | Add Linux XDP bits (#9019) | Jens Goldberg | |
