summaryrefslogtreecommitdiff
path: root/Kernel/Syscall.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-02-22 01:55:22 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-02-22 01:55:22 +0100
commit6d3e12899b8b0a3ddc6062fc43b18cba0c788920 (patch)
tree02692f889820a183b6ed3b5b2fc3683b897e913e /Kernel/Syscall.h
parente96941920209434ebaf76d6c6b1dc24f18026352 (diff)
downloadserenity-6d3e12899b8b0a3ddc6062fc43b18cba0c788920.zip
Kernel: Pass process arguments directly on the stack.
Get rid of the convoluted get_arguments and get_environment syscalls. This patch also adds a simple /bin/env that just prints its environment.
Diffstat (limited to 'Kernel/Syscall.h')
-rw-r--r--Kernel/Syscall.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/Kernel/Syscall.h b/Kernel/Syscall.h
index 9eaacab358..730eb9b923 100644
--- a/Kernel/Syscall.h
+++ b/Kernel/Syscall.h
@@ -23,7 +23,6 @@
__ENUMERATE_SYSCALL(getcwd) \
__ENUMERATE_SYSCALL(gettimeofday) \
__ENUMERATE_SYSCALL(gethostname) \
- __ENUMERATE_SYSCALL(get_arguments) \
__ENUMERATE_SYSCALL(chdir) \
__ENUMERATE_SYSCALL(uname) \
__ENUMERATE_SYSCALL(set_mmap_name) \
@@ -31,7 +30,6 @@
__ENUMERATE_SYSCALL(write) \
__ENUMERATE_SYSCALL(ttyname_r) \
__ENUMERATE_SYSCALL(stat) \
- __ENUMERATE_SYSCALL(get_environment) \
__ENUMERATE_SYSCALL(getsid) \
__ENUMERATE_SYSCALL(setsid) \
__ENUMERATE_SYSCALL(getpgid) \