| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | core:os -> core:os/old && core:os/os2 -> core:os | Jeroen van Rijn | 6 days | 1 | -868/+0 |
| | | |||||
| * | In the middle of porting core:testing | Jeroen van Rijn | 7 days | 1 | -0/+18 |
| | | |||||
| * | use `runtime.exit` for `os2.exit` | gingerBill | 2025-10-31 | 1 | -5/+0 |
| | | |||||
| * | Fix Linux executable path | Kamron Bhavnagri | 2025-10-18 | 1 | -1/+2 |
| | | | | | | | | | Fixes a bug caused by an executable named identically to the directory it is in, where then the parent of that directory is both on the path and marked as executable Avoid this via stat, as we can check we are working with a file which is executable | ||||
| * | Fix linux | Lucas Perlind | 2025-05-08 | 1 | -1/+1 |
| | | |||||
| * | Remove TEMP_ALLOCATOR_GUARD wrapper | Lucas Perlind | 2025-05-08 | 1 | -4/+4 |
| | | |||||
| * | os2: Resolve temp allocator collisions | Lucas Perlind | 2025-05-08 | 1 | -23/+23 |
| | | |||||
| * | Merge pull request #5127 from laytan/fix-process-windows-handles-handling | Laytan | 2025-05-06 | 1 | -3/+0 |
| |\ | | | | | Fix process windows handles handling | ||||
| | * | don't need to hang on to the null handle | laytan | 2025-05-06 | 1 | -3/+0 |
| | | | |||||
| | * | close null_handle | Laytan | 2025-05-06 | 1 | -3/+3 |
| | | | |||||
| * | | Proper fix for executable name on Linux. | Jeroen van Rijn | 2025-05-04 | 1 | -36/+27 |
| | | | |||||
| * | | Fix `executable_path` info on Linux | Jeroen van Rijn | 2025-05-04 | 1 | -3/+24 |
| |/ | |||||
| * | Decouple usage of `filepath` from `os2` | Feoramund | 2025-03-21 | 1 | -3/+2 |
| | | |||||
| * | Fix #4890 | Feoramund | 2025-02-27 | 1 | -8/+8 |
| | | | | | | | `strings.to_cstring` previously would not check if the buffer could handle the extra null byte and could lead to segmentation violations when using the resulting string in an API expecting the terminator. | ||||
| * | os/os2: Linux _process_start() write back error on fchdir failure | Roland Kovacs | 2025-01-20 | 1 | -2/+3 |
| | | |||||
| * | os/os2: Properly update CWD on Linux when using _process_start() | Roland Kovacs | 2025-01-20 | 1 | -0/+4 |
| | | | | | | | The `dir_fd` argument to `execveat()` is not for setting the current working directory. It is used to resolve relative executable paths, hence explicit `chdir/fchdir` call is required to set CWD. | ||||
| * | Get arm64 up to speed in os2 linux | jason | 2024-12-19 | 1 | -36/+11 |
| | | | | | | | 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. | ||||
| * | fix deadlock when in write_errno_to_parent_and_abort state | Laytan | 2024-10-04 | 1 | -1/+1 |
| | | |||||
| * | Moved all packages in core, base, vendor, tests and examples to use new #+ ↵ | Karl Zylinski | 2024-09-14 | 1 | -2/+2 |
| | | | | | file tag syntax. | ||||
| * | os2: propogate errors from execv functions to parent | Laytan Laats | 2024-08-25 | 1 | -11/+5 |
| | | |||||
| * | os2: process API for Darwin and most of it for BSDs | Laytan Laats | 2024-08-22 | 1 | -4/+7 |
| | | |||||
| * | Minor clean ups | gingerBill | 2024-08-16 | 1 | -16/+17 |
| | | |||||
| * | update core:filepath's clean, join and split_list to return optional ↵ | jason | 2024-08-16 | 1 | -8/+8 |
| | | | | | Allocator_Errors | ||||
| * | os2/process_linux: improve error handling, use pidfd where possible, remove ↵ | jason | 2024-08-14 | 1 | -81/+202 |
| | | | | | usage of fmt | ||||
| * | stop trying to handle child pipe read errors in process_start | jason | 2024-08-10 | 1 | -15/+10 |
| | | |||||
| * | Ignore process_open errors in process_start. This enforces a contract | jason | 2024-08-10 | 1 | -5/+1 |
| | | | | | | with the user that any process returned without error must eventually be waited on. | ||||
| * | fix error handling; close read end of the child pipe instead of the write ↵ | jason | 2024-08-10 | 1 | -3/+22 |
| | | | | | end twice | ||||
| * | fix child pipe in process_start | jason | 2024-08-09 | 1 | -6/+6 |
| | | |||||
| * | os2 linux process_wait rework; add Sig_Child_Code to sys/linux bits | jason | 2024-08-09 | 1 | -90/+153 |
| | | |||||
| * | add child pipe for reporting post-fork errors | jason | 2024-08-08 | 1 | -16/+48 |
| | | |||||
| * | point stdin, stdout, stderr to /dev/null if unused in os2.process_start | jason | 2024-08-04 | 1 | -11/+37 |
| | | |||||
| * | Remove returned bool from access and faccessat in sys/linux. | jason | 2024-08-04 | 1 | -15/+37 |
| | | | | | Switch to using AT_EMPTY_PATH to execve with file descriptors. | ||||
| * | minor edits in process_linux.odin | jason | 2024-08-03 | 1 | -3/+2 |
| | | |||||
| * | change child error behavior to trap instead of exit | jason | 2024-08-03 | 1 | -5/+6 |
| | | |||||
| * | use sys/linux dirent instead of manual iteration | jason | 2024-07-30 | 1 | -8/+3 |
| | | |||||
| * | remove pidfd availability caching | jason | 2024-07-30 | 1 | -41/+9 |
| | | |||||
| * | improve error handling; do not report errors from failed execve | jason | 2024-07-30 | 1 | -17/+39 |
| | | |||||
| * | remove ctprintf; use fmt.caprintf; fix pipe_linux that I broke. | jason | 2024-07-24 | 1 | -2/+2 |
| | | |||||
| * | typo - inverted logic | jason | 2024-07-24 | 1 | -1/+1 |
| | | |||||
| * | fix process_info assumptions | jason | 2024-07-24 | 1 | -38/+63 |
| | | |||||
| * | use more iterators; global "has pidfd open" state is now thread-safe | jason | 2024-07-24 | 1 | -14/+27 |
| | | |||||
| * | remove unused constants; fix comment | jason | 2024-07-23 | 1 | -4/+1 |
| | | |||||
| * | os2 linux: fix order of operations bug in _open; fix process_info routine | jason | 2024-07-23 | 1 | -25/+24 |
| | | |||||
| * | os2 process implementation for linux | jason | 2024-07-23 | 1 | -19/+499 |
| | | |||||
| * | Begin mocking out the linux stuff on os2 | gingerBill | 2024-07-23 | 1 | -0/+95 |