aboutsummaryrefslogtreecommitdiff
path: root/core/sys/unix/syscalls_linux.odin
Commit message (Collapse)AuthorAgeFilesLines
* add support for linux_riscv64 and freestanding_riscv64Laytan2024-08-201-24/+356
|
* Replace `core:*` to `base:*` where appropriategingerBill2024-01-281-1/+1
|
* fix(poll): make interface more odinaryRickard Andersson2023-06-151-1/+1
| | | | | We take `fds` as a normal slice and get the length from it instead of bothering with a second parameter.
* fix: remove redefinition of `timespec`Rickard Andersson2023-06-151-5/+0
| | | | They are in the same package, so it's accessible anyway.
* cleanup(os_linux/poll): use tabs everywhereRickard Andersson2023-06-141-12/+11
| | | | :(
* fix(os_linux): make `when` for `arm64` check correct orderRickard Andersson2023-06-141-5/+1
| | | | Also remove `sys_select` since we aren't using it anyway
* fix(os_linux): call `ppoll` instead on `arm64`Rickard Andersson2023-06-141-1/+16
|
* feat(unix): add `poll`Rickard Andersson2023-06-141-0/+29
|
* Add `set_blocking` for network socketsSokus2023-03-081-0/+4
|
* more cleanup rippleColin Davidson2023-03-011-9/+9
|
* more manual type carryoverColin Davidson2023-03-011-4/+5
|
* manually start merging core_netColin Davidson2023-03-011-0/+36
|
* cleanup of os/linuxColin Davidson2023-02-281-11/+28
|
* derp. raw-syscallsColin Davidson2023-02-191-1/+0
|
* begin adding tsc frequency gettersColin Davidson2023-02-191-0/+154
|
* Correct syscalls for `linux_i386`gingerBill2022-08-241-1/+1
|
* Fix #1972gingerBill2022-08-241-2/+2
|
* merge from upstream and convert to ^File typesjason2022-05-161-2/+2
|\
| * Convert all uses of `*_from_slice` to `*_from_bytes` where appropriategingerBill2022-05-161-1/+1
| |
| * Update arch enumgingerBill2022-05-011-1/+1
| |
* | add mremap + flagsCiD-2022-04-261-9/+21
| |
* | whoopsCiD-2022-04-081-4/+4
| |
* | commit before fetching upstream/masterCiD-2022-04-081-38/+87
| |
* | add _chtimesCiD-2022-04-011-0/+6
| |
* | rewrite mkdir_allCiD-2022-03-141-16/+32
| |
* | merge upstream/masterCiD-2022-03-141-0/+2
|\|
| * fix linux_arm64Sébastien Marie2022-03-121-0/+2
| | | | | | | | | | - SYS_fork doesn't exist, uses SYS_clone - properly cast AT_FDCWD to uintptr
* | commit to merge upstream/masterCiD-2022-03-141-1/+9
| |
* | added _remove_alljasonkercher2022-03-071-0/+8
| |
* | compilesjasonkercher2022-03-041-24/+122
| |
* | os2 linux beginCiD-2022-03-031-4/+134
|/
* Convert `ODIN_OS` and `ODIN_ARCH` to use enums rather than use stringsgingerBill2022-01-201-4/+4
|
* Rename architecture `386` to `i386`gingerBill2022-01-151-1/+1
|
* add more Linux syscallsCiD-2022-01-031-11/+1476
|
* core/sys/unix: Add syscalls_linux.odinYawning Angel2021-11-171-0/+60
Linux is in the unfortunate situation where the system call number is architecture specific. This consolidates the system call number definitions in a single location, adds some wrappers, and hopefully fixes the existing non-portable invocations of the syscall intrinsic.