aboutsummaryrefslogtreecommitdiff
path: root/core/sys/linux/bits.odin
Commit message (Collapse)AuthorAgeFilesLines
* Fix #6173gingerBill2026-01-271-8/+8
|
* Merge branch 'master' into nbioLaytan2026-01-131-0/+31
|\
| * Implement more Linux syscalls. (#6083)Znarf2026-01-131-0/+31
| |
* | linux: implement eventfd syscallLaytan Laats2026-01-111-0/+6
|/
* Implement more Linux syscalls (#5705)bc-universe2025-11-241-0/+43
| | | | | | | | | | | | | | | | | | | * Implement some more Linux syscalls * Fixed typo and removed stray comments * Correct types for some syscalls * Fix types and add variadic argument for prctl * flag fixes * when x86/amd64 only * more fixes --------- Co-authored-by: Laytan Laats <laytanlaats@hotmail.com>
* sys/linux: add io uring APILaytan2025-11-101-0/+262
|
* Fix ITimer_Flags_Bits enum valuediniamo2025-08-141-1/+1
|
* sys/linux: Unify IPC_Flags and IPC_Mode bitsetsSunagatov Denis2025-06-241-15/+18
| | | | | | | | | | | | | | | | | | | | | In #5399 it was noticed, that IPC_Mode isn't being used within SystemV IPC procedures, even though it was designed this way, which lead to a weird API where in order to call SystemV IPC procedures multiple transmutes and a bitwise-OR are needed. This unifies IPC_Mode and IPC_Flags bitsets, making it possible to call the SystemV IPC procedures without extra casts, and rearranges the flags in a way that hopefully makes it easier to see when they are not colliding and should not be mixed. The explanation, explaining this arrangement of the enum was added. The IPC_Perm structure is modified, so that the flags can be re-used between the calls. It's probably not as good as keeping them separate, but should work... hopefully. Kept the "old" style of documentation for consistency. Signed-off-by: Sunagatov Denis <thebumboni@gmail.com>
* Move things to constants.odinJeroen van Rijn2025-05-121-4/+2
|
* Update `linux.Map_Flags_Bits`Jeroen van Rijn2025-05-121-2/+6
| | | | | | | | | | | | | | | | | | | | | | Fixes #5151 - Removes `SHARED_VALIDATE` from the enum and turns it into `Map_Shared_Validate :: Map_Flags{.SHARED, .PRIVATE}` so it has the proper value of 0x03. - Adds `DROPPABLE`. - Adds constants `MAP_HUGE_SHIFT` and `MAP_HUGE_MASK`. - Adds the huge page precomputed constants from `mman.h`, defined as the log2 of the size shifted left by `MAP_HUGE_SHIFT`: Map_Huge_16KB Map_Huge_64KB Map_Huge_512KB Map_Huge_1MB Map_Huge_2MB Map_Huge_8MB Map_Huge_16MB Map_Huge_32MB Map_Huge_256MB Map_Huge_512MB Map_Huge_1GB Map_Huge_2GB Map_Huge_16GB
* Fixed #4892: 'EPoll_Event.events' should be bit set.Wison Ye2025-03-221-16/+22
|
* Added IP_ADD_MEMBERSHIP Socket Option on Linuxcandtechsoftware2025-01-291-0/+1
|
* Get arm64 up to speed in os2 linuxjason2024-12-191-37/+59
| | | | | | Readded open flags for arm64 to sys/linux/bits.odin. Make process_start name based instead of descriptor based to allow running of scripts. Fix bug in heap_linux. Fix and simplify os2.remove.
* core:sys/linux - prefixing + moved IN_CLOSE/IN_MOVE to constantsA10293847562024-11-131-26/+24
|
* core:sys/linux - flags, spacing, inotify_initA10293847562024-11-131-1/+11
|
* core:sys/linux - implemented inotifyA10293847562024-11-131-0/+22
| | | | core:sys/linux - added constants and spacing
* Merge pull request #4118 from andradei/posix-linuxLaytan2024-10-131-60/+37
|\ | | | | Linux POSIX support
| * review/correct/cleanup posix linux PRLaytan2024-09-301-60/+37
| |
* | sys/info: more CPU feature detection for RISC-Vlaytan2024-09-021-0/+84
|/
* add support for linux_riscv64 and freestanding_riscv64Laytan2024-08-201-6/+8
|
* os2 linux process_wait rework; add Sig_Child_Code to sys/linux bitsjason2024-08-091-0/+14
|
* Merge branch 'master' into syscall-fixgingerBill2024-07-191-33/+92
|\
| * [os2]: Split file type from mode bitsflysand72024-07-181-1/+1
| |
| * Even more style fixesgingerBill2024-06-291-10/+10
| |
| * change error strings to an enumerated array in rodata; print_error takes a ↵jason2024-06-281-0/+2
| | | | | | | | file argument
| * sys/linux: fix some syscalls and types; add more to Sig_Action and Sig_Info; ↵jason2024-06-271-40/+75
| | | | | | | | Pid int->i32
| * sys/linux: fix open bitsLaytan Laats2024-05-051-16/+35
| |
| * [sys/linux]: Fix bit numbers for open flagsflysand72024-05-011-18/+21
| |
* | [sys/linux] Change flags parameter of execveat to bit_setPucklaJ2024-04-281-0/+8
|/
* [sys/linux]: Fix numeric values for socket fd flagsflysand72024-02-181-2/+2
|
* Merge branch 'master' into sys-linux-additionsflysand72023-12-061-4/+2
|\
| * core:sys/linux: make Perf_Read_Format a bitsetflga2023-11-101-1/+1
| |
* | [sys/linux]: Add epoll syscallsflysand72023-11-241-0/+31
| |
* | [sys/linux]: Fix compilation errors and -strict-style errorsflysand72023-11-041-3/+3
| |
* | [sys/linux]: Documentation improvementsflysand72023-11-041-66/+175
| |
* | [sys/linux]: Add more syscallsflysand72023-11-041-1/+51
| |
* | WIPflysand72023-11-031-0/+170
|/
* convert spaces to tabsflysand72023-10-271-1099/+1099
|
* Implement new sys/unix packageflysand72023-10-271-0/+1400