summaryrefslogtreecommitdiff
path: root/Userland/env.cpp
AgeCommit message (Collapse)Author
2020-11-12Userland: env: Add `-i` / `--ignore-environment` arg to clear envBrendan Coles
2020-10-25AK: Eradicate calls to warn().asynts
2020-09-16Userland: Allow executing binaries from PATH with env.asynts
This is useful for shebangs: #!/bin/env Shell echo "Hello, World!"
2020-02-18env: Use pledge()Andreas Kling
2020-01-18Meta: Add license header to source filesAndreas Kling
As suggested by Joshua, this commit adds the 2-clause BSD license as a comment block to the top of every source file. For the first pass, I've just added myself for simplicity. I encourage everyone to add themselves as copyright holders of any file they've added or modified in some significant way. If I've added myself in error somewhere, feel free to replace it with the appropriate copyright holder instead. Going forward, all new source files should include a license header.
2019-06-07Userland: Run clang-format on everything.Andreas Kling
2019-02-22Kernel: Pass process arguments directly on the stack.Andreas Kling
Get rid of the convoluted get_arguments and get_environment syscalls. This patch also adds a simple /bin/env that just prints its environment.