| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-09-06 | improved compile error message | Matt Knight | |
| 2020-09-06 | removed redundant pseudo insn | Matt Knight | |
| 2020-09-06 | implemented and testing op codes for instructions documented in the ↵ | Matt Knight | |
| unofficial bpf insn reference | |||
| 2020-09-05 | Merge pull request #6246 from Vexu/field | Veikka Tuominen | |
| Remove deprecated fields on `type` | |||
| 2020-09-03 | Merge pull request #6243 from ifreund/uid-gid-cleanup | Andrew Kelley | |
| std: clean up usage of uid_t/gid_t, add seteuid/setegid to std.os | |||
| 2020-09-03 | update uses of deprecated type field access | Vexu | |
| 2020-09-03 | std: ensure seteuid/setegid do not change saved id | Isaac Freund | |
| 2020-09-03 | std: fix linux uid_t, use uid_t/gid_t in std.os | Isaac Freund | |
| - correct uid_t from i32 to u32 on linux - define uid_t and gid_t for OSes missing definitions - use uid_t/gid_t instead of plain u32s throughout std.os | |||
| 2020-09-03 | os.send(to) and os.recv(from) functions made to work on windows. | Bas van den Berg | |
| 2020-09-03 | Split the sync tests into sync and fsync | Jens Goldberg | |
| 2020-09-03 | Add C declarations and tests for the sync functions | Jens Goldberg | |
| 2020-09-02 | Add the sync functions | Aransentin | |
| 2020-09-02 | Made some changes and additions to the networking to make it work on windows. | Bas van den Berg | |
| 2020-08-30 | handle lack of privilege to create symbolic links on windows | Sahnvour | |
| 2020-08-29 | fix SimpleTextInputProtocol | wozeparrot | |
| 2020-08-22 | Bpf: move under os/linux instead of bits (#6126) | Matthew Knight | |
| * moved bpf syscall, added some bpf instructions and tests * had to move bpf out of bits so that a freestanding target could import it * removed line * fixed imports | |||
| 2020-08-21 | fixed bpf namespace | Matt Knight | |
| 2020-08-21 | decided to split up loading of 64-bit immediates | Matt Knight | |
| 2020-08-21 | moved bpf syscall, added some bpf instructions and tests | Matt Knight | |
| 2020-08-20 | add UTIME_NOW and UTIME_OMIT constants for use in utimensat/futimens | heidezomp | |
| copied from lib/libc/include/generic-musl/sys/stat.h | |||
| 2020-08-20 | add license header to all std lib files | Andrew Kelley | |
| add SPDX license identifier copyright ownership is zig contributors | |||
| 2020-08-19 | windows: match the same error code for EBADF | Andrew Kelley | |
| 2020-08-19 | Add handler for INVALID_HANDLE to prevent infinite loop when stderr is not ↵ | StrangeBug | |
| available. | |||
| 2020-08-17 | added bpf() syscall and some supporting structs (#6061) | Matthew Knight | |
| * added bpf syscall and some supporting structs * moved bpf to bits and added flags | |||
| 2020-08-17 | std: signalfd: fix the types of things; add test | Andrew Kelley | |
| 2020-08-17 | rename signalfd4 to signalfd | Luna | |
| 2020-08-11 | copy_file_range linux syscall (#6010) | Maciej Walczak | |
| 2020-08-10 | Convert prefix from u8 to u16 programmatically | Jakub Konka | |
| 2020-08-10 | Validate DOS path before returning | Jakub Konka | |
| And some other minor refactors which address more review comments. | |||
| 2020-08-09 | Address some review comments | Jakub Konka | |
| 2020-08-07 | Fix alignment issue | Jakub Konka | |
| 2020-08-07 | Redo GetFinalPathNameByHandle using DeviceIoControl | Jakub Konka | |
| This commit reimagines `std.os.windows.GetFinalPathNameByHandle` using `DeviceIoControl` to query the OS mount manager for the DOS (symlink) paths for the given NT volume name. In particular, it uses `IOCTL_MOUNTMGR_QUERY_POINTS` ioctl opcode to query the manager for the available moount points. | |||
| 2020-08-06 | Add docs | Jakub Konka | |
| 2020-08-06 | Use NtQueryInformationFile unless unavailable | Jakub Konka | |
| Favour newer API which uses `NtQueryInformationFile` with class flags `FileNormalizedNameInformation` and `FileVolumeNameInformation` instead of lower-level `NtQueryObject`. `NtQueryObject` is still used as a fallback in case the former are unavailable. | |||
| 2020-08-06 | Initial draft of GetFinalPathNameByHandle | Jakub Konka | |
| This commit proposes an initial draft of `GetPathNameByHandle` function which wraps NT syscalls and strives to emulate (currently only partially) the `kernel32.GetFinalPathNameByHandleW` function. | |||
| 2020-08-04 | std.os tests: improve robustness of "symlink with relative paths" | Andrew Kelley | |
| 2020-08-04 | zig fmt | Andrew Kelley | |
| 2020-07-31 | Add prelim `openW` and `openatW` | Jakub Konka | |
| Added POSIX functions targeting Windows pass `open` and `openat` smoke tests. | |||
| 2020-07-31 | Add some os.open and os.openat smoke tests | Jakub Konka | |
| 2020-07-31 | Use NtCreateFile directly in ReadLink | Jakub Konka | |
| This shaves off one syscall (we use one instead of two if we were to use `windows.OpenFile` wrapper). Clean up flag generation in `OpenFile`. Hopefully, we're in a much better place to *almost* support `openW` and `openatW`. | |||
| 2020-07-31 | Move delete file logic into windows.DeleteFile fn | Jakub Konka | |
| This way, we can remove more `kernel32` calls such as `RemoveDirectoryW` or `DeleteFileW`, and use `std.os.windows.DeleteFile` instead which is purely NT-based. | |||
| 2020-07-31 | Refactor internal Win routines to reuse OpenFile | Jakub Konka | |
| This covers mainly `ReadLink` and `CreateSymolicLink` functions. | |||
| 2020-07-31 | Remove CreateDirectoryW and CreateFileW calls | Jakub Konka | |
| Replace them with `std.os.windows.OpenFile` instead. To allow creation/opening of directories, `std.os.windows.OpenFileOptions` now features a `.expect_dir: bool` member which is meant to emualate POSIX's `O_DIRECTORY` flag. | |||
| 2020-07-29 | Split DeviceIoControl path into two fn call paths | Jakub Konka | |
| As discussed in the previous commit, it would be better to avoid function pointers to syscalls and explicitly split the control path into two function calls instead. This commit addresses that for `std.os.windows.DeviceIoControl`. | |||
| 2020-07-29 | Add Zig wrapper for kernel32.DeviceIoControl | Jakub Konka | |
| This commit adds a Zig wrapper for `kernel32.DeviceIoControl` which applies ReactOS logic for deciding whether to use `ntdll.NtDeviceIoControlFile` or `ntdll.NtFsControlFile` based on the value of passed `IO_CONTROL_CODE`. The decision logic is based on the logic found in ReactOS found in the following [link]. Thanks to Daurnimator for finding this bit in ReactOS! [link]: https://doxygen.reactos.org/d3/d74/deviceio_8c.html | |||
| 2020-07-27 | Replace DeviceIoControl with FsControlFile | Jakub Konka | |
| This commit replaces `windows.DeviceIoControl` with `windows.FsControlFile` which is a wrapper around the NT-based syscall `ntdll.NtFsControlFile`. | |||
| 2020-07-22 | Add signalfd support (#5322) | luna | |
| * add signalfd_siginfo to linux bits * Cast sigaddset's shift value to u5 * linux: add signalfd4 * os: add signalfd | |||
| 2020-07-22 | Enable std.os.symlinkat tests on Windows | Jakub Konka | |
| 2020-07-22 | Draft out ReadLinkW using NT primitives | Jakub Konka | |
| 2020-07-22 | Finish drafting CreateSymolicLink using NT calls | Jakub Konka | |
