From e6915fb6dd715e39e37702a6d69c220c0f1798bf Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Wed, 31 Jul 2024 17:16:21 -0400 Subject: remove argc, argv; arguments will be passed via environment variables --- documentation/kernel-interfaces/syscalls.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'documentation/kernel-interfaces/syscalls.txt') diff --git a/documentation/kernel-interfaces/syscalls.txt b/documentation/kernel-interfaces/syscalls.txt index f7dddba..de00451 100644 --- a/documentation/kernel-interfaces/syscalls.txt +++ b/documentation/kernel-interfaces/syscalls.txt @@ -157,7 +157,10 @@ start process: qword: stream handle here qword: new stream handle in child new handle must be < 65536 - any gifted streams must not have threads waiting to read from our end + any gifted streams must not have threads waiting to read from our end. + any environment variables in the current process whose names do not begin + with an underscore are also set in the child process. the environment + variables in the process start info override any with the same name. end this process: rax in: 17 -- cgit v1.2.3