Laytan Laats
|
b07d0b38b1
|
os2: improve absolute/full path handling for posix
|
2024-08-14 01:45:23 +02:00 |
|
Laytan Laats
|
a73677d21a
|
os2: nice != priority
|
2024-08-14 01:44:37 +02:00 |
|
Laytan Laats
|
175f5b0bb1
|
os2: don't rely on PATH_MAX in posix read_directory implementation
|
2024-08-14 01:44:37 +02:00 |
|
Laytan Laats
|
939ba4cf08
|
os2: fix leak and always close directory
|
2024-08-14 01:44:37 +02:00 |
|
Laytan Laats
|
f00f68ef6f
|
posix/os2: fix test and add back in removed temp guard
|
2024-08-14 01:44:37 +02:00 |
|
Laytan Laats
|
de9abe1f7b
|
os2: skip . and .. in read dir
|
2024-08-14 01:44:37 +02:00 |
|
Laytan Laats
|
bd808f9ec6
|
os2: fix wiping results with temp allocator guard
|
2024-08-14 01:44:37 +02:00 |
|
Laytan Laats
|
7474db6a34
|
os2: fix lstat logic
|
2024-08-14 01:44:37 +02:00 |
|
Laytan Laats
|
00eb702c4a
|
os2: implement the iterator based read directory
|
2024-08-14 01:44:37 +02:00 |
|
Laytan Laats
|
ea5783c2ac
|
os2: fixes after rebasing
|
2024-08-14 01:44:37 +02:00 |
|
Laytan Laats
|
72220a855f
|
posix: fix write error check
|
2024-08-14 01:44:37 +02:00 |
|
Laytan Laats
|
9e2c5acb9d
|
os2: fix bit checks
|
2024-08-14 01:44:37 +02:00 |
|
Laytan Laats
|
379cd6fe66
|
os2: cleanup
|
2024-08-14 01:44:37 +02:00 |
|
Laytan Laats
|
a4d459f651
|
os2: initial implementation for Darwin&BSDs, process API is only thing incomplete
|
2024-08-14 01:44:37 +02:00 |
|
Laytan Laats
|
ff0ca0bd53
|
os2: make config directory on darwin also ~/.config, it is the proper place
|
2024-08-14 01:44:37 +02:00 |
|
Laytan Laats
|
07b9f7d280
|
os2: fix read_entire_file bad logic
|
2024-08-14 01:44:37 +02:00 |
|
Laytan Laats
|
9f80191f60
|
os2: add default make_directory permissions
|
2024-08-14 01:44:37 +02:00 |
|
jason
|
a52f7c129f
|
stop trying to handle child pipe read errors in process_start
|
2024-08-10 09:13:07 -04:00 |
|
jason
|
e54d6e5a11
|
Ignore process_open errors in process_start. This enforces a contract
with the user that any process returned without error must eventually be
waited on.
|
2024-08-10 09:03:34 -04:00 |
|
jason
|
f7a73b9555
|
fix error handling; close read end of the child pipe instead of the write end twice
|
2024-08-10 08:55:40 -04:00 |
|
jason
|
baacc512e3
|
fix child pipe in process_start
|
2024-08-09 15:21:11 -04:00 |
|
jason
|
c4d43bbab0
|
os2 linux process_wait rework; add Sig_Child_Code to sys/linux bits
|
2024-08-09 09:16:44 -04:00 |
|
jason
|
c3ba8fbd09
|
add child pipe for reporting post-fork errors
|
2024-08-08 08:56:29 -04:00 |
|
jason
|
9625798513
|
merge commit
|
2024-08-07 23:27:45 -04:00 |
|
gingerBill
|
60bc7f53d2
|
Comment out open_buffered
|
2024-08-04 17:41:48 +01:00 |
|
gingerBill
|
cf3c1a85ec
|
Remove temp parameter
|
2024-08-04 17:36:28 +01:00 |
|
gingerBill
|
046f72befd
|
Mock out open_buffered
|
2024-08-04 17:31:39 +01:00 |
|
gingerBill
|
f19436fb4d
|
Only swap if there was an arena
|
2024-08-04 17:17:09 +01:00 |
|
gingerBill
|
d0709a7de2
|
Allow for nested temp_allocator() calls to flip between arenas on TEMP_ALLOCATOR_GUARDs
|
2024-08-04 17:14:24 +01:00 |
|
 
|
fc10b781af
|
Update core/os/os2/process.odin
Co-authored-by: Laytan <laytanlaats@hotmail.com>
|
2024-08-04 14:47:44 +01:00 |
|
gingerBill
|
3d992e2704
|
Improve _error_string for Linux
|
2024-08-04 13:25:35 +01:00 |
|
gingerBill
|
160048eaee
|
Errno -> Error
|
2024-08-04 11:46:42 +01:00 |
|
gingerBill
|
def2e2e271
|
Try to map to General_Error where possible
|
2024-08-04 11:44:45 +01:00 |
|
gingerBill
|
a241168142
|
Clean up err != nil usage
|
2024-08-04 11:26:35 +01:00 |
|
gingerBill
|
29b6eebcd5
|
Clean up error handling
|
2024-08-04 11:21:09 +01:00 |
|
gingerBill
|
7dae38ce89
|
Begin mocking out for other errors
|
2024-08-04 11:12:45 +01:00 |
|
gingerBill
|
1826b0c700
|
Fix copy-replace errors
|
2024-08-04 11:10:17 +01:00 |
|
gingerBill
|
e60951a902
|
Begin converting os.Errno to be a nil-able type as a transition period
|
2024-08-04 10:51:08 +01:00 |
|
gingerBill
|
71932628cc
|
Add alias
|
2024-08-04 10:08:48 +01:00 |
|
jason
|
c691c7dc68
|
point stdin, stdout, stderr to /dev/null if unused in os2.process_start
|
2024-08-04 01:47:10 -04:00 |
|
jason
|
2a7db08c20
|
Remove returned bool from access and faccessat in sys/linux.
Switch to using AT_EMPTY_PATH to execve with file descriptors.
|
2024-08-04 00:59:40 -04:00 |
|
jason
|
2b89829b52
|
minor edits in process_linux.odin
|
2024-08-03 18:08:00 -04:00 |
|
jason
|
38b96a7981
|
change child error behavior to trap instead of exit
|
2024-08-03 17:50:47 -04:00 |
|
Roland Kovacs
|
1913c08b7b
|
[os2] Add missing temp_file implementation for Linux
|
2024-07-30 18:11:44 +02:00 |
|
jason
|
c7eb2ae6bb
|
use sys/linux dirent instead of manual iteration
|
2024-07-30 10:19:09 -04:00 |
|
jason
|
792640df1f
|
remove File_Impl_Kind from file_linux
|
2024-07-30 09:41:49 -04:00 |
|
jason
|
278a63caaa
|
remove pidfd availability caching
|
2024-07-30 09:28:40 -04:00 |
|
jason
|
a03dffcd1a
|
improve error handling; do not report errors from failed execve
|
2024-07-30 08:45:53 -04:00 |
|
gingerBill
|
f03c2b7783
|
General clean up of os2.read_directory for Windows
|
2024-07-24 21:45:35 +01:00 |
|
jason
|
a5fa93e06d
|
remove ctprintf; use fmt.caprintf; fix pipe_linux that I broke.
|
2024-07-24 10:23:23 -04:00 |
|