Linus Groh
57e7b2f8e4
Base: Update test-js(1) man page
2020-10-19 11:29:55 +02:00
Linus Groh
bcfc6f0c57
Everywhere: Fix more typos
2020-10-03 12:36:49 +02:00
Linus Groh
91bcad7cce
Base: Add missing options to the Shell(1) man page
2020-10-02 14:40:54 +02:00
AnotherTest
68189f80cc
Shell: Document the use of environment/local variables
2020-08-18 16:58:17 +02:00
AnotherTest
0950fd1438
Shell: Start writing a man page
...
This patch adds two man pages describing the parts of the shell that
have been so far finalised.
2020-08-14 10:31:52 +02:00
Linus Groh
8f3151eea8
Base: Add link to test-common.js in test-js(1) man page
...
This is an easy way to view this file as the link will open it in Text
Editor :^)
2020-07-07 17:42:50 +02:00
Linus Groh
4c845b35ac
Base: Add man page for test-js(1)
2020-07-07 10:39:48 +02:00
Linus Groh
8b76a1e548
js: Remove test mode
...
Now that we have a standalone test-js program, the "-t" test mode of the
js REPL is unused and can simply be removed. Required functionality has
been duplicated in test-js (isStrictMode function, loading of testing
utilities).
Also remove outdated information about tests from the js(1) man page.
2020-07-07 00:21:30 +02:00
Sahan Fernando
0fc8931d5f
Userland: Add watch tool
2020-06-30 12:46:23 +02:00
AnotherTest
880c3fb83f
Userland: Add a 'test' utility
...
This adds an incomplete implementation of the test util, missing some
user/group checks, and `-l STRING`.
It also symlinks '[' to 'test'.
2020-06-27 16:08:52 +02:00
Tom Lebreux
605a21b892
Userland: Add base64 tool
2020-06-18 23:21:41 +02:00
Sergey Bugaev
fd985b1f48
Base: Document readlink(1) and readlink(2) :^)
2020-06-17 15:02:03 +02:00
Sergey Bugaev
4643f51eaa
Base: Document find(1)
2020-06-06 14:42:31 +02:00
AnotherTest
ca6e361279
Base: Add manpage for xargs
2020-05-28 11:01:08 +02:00
Andres Vieira
cbbfc08f1d
Docs: Add unzip(1) man page
2020-05-09 23:50:44 +02:00
Linus Groh
e37065cc8b
Base: Update js(1) manpage
...
Syntax highlighting is now enabled by default!
2020-05-02 01:23:50 +02:00
Linus Groh
8f2300afb5
mkdir: Add -p option to create parent directories
2020-04-28 09:36:09 +02:00
Linus Groh
6fd7966d81
mkdir: Use ArgParser, support creating multiple directories
2020-04-28 09:36:09 +02:00
Linus Groh
440f017946
Base: Update js(1) manpage
...
- Include all options
- Update example REPL session to match current output
- Mention REPL's help()
- Add test mode section
2020-04-19 15:22:31 +02:00
Sergey Bugaev
15daf88e93
Base: Document open(1)
2020-04-19 11:14:26 +02:00
Sergey Bugaev
db4da68618
Base: Add a man page for js(1)
...
This also changes --ast-dump to --dump-ast, because I like it better
and that is what the variable is actually called.
2020-03-26 08:18:08 +01:00
howar6hill
83668299a6
host: Use ArgsParser to parse arguments, and add man page ( #1252 )
...
Fixes #1246 .
2020-02-20 15:12:55 +01:00
howar6hill
94ed183774
Man: Use ArgsParser to parse arguments
2020-02-18 12:23:15 +01:00
Andreas Kling
4fa7146da1
Base: Move the modload and modunload command documentation to man8
...
These are system administration commands, not intended for use by
all users. These tend to go in section 8.
2020-01-02 12:37:19 +01:00
Andreas Kling
38f93ef13b
Kernel: Disable x86 RDTSC instruction in userspace
...
It's still possible to read the TSC via the read_tsc() syscall, but we
will now clear some of the bottom bits for unprivileged users.
2020-01-01 18:22:20 +01:00
Andreas Kling
f598bbbb1d
Kernel: Prevent executing I/O instructions in userspace
...
All threads were running with iomapbase=0 in their TSS, which the CPU
interprets as "there's an I/O permission bitmap starting at offset 0
into my TSS".
Because of that, any bits that were 1 inside the TSS would allow the
thread to execute I/O instructions on the port with that bit index.
Fix this by always setting the iomapbase to sizeof(TSS32), and also
setting the TSS descriptor's limit to sizeof(TSS32), effectively making
the I/O permissions bitmap zero-length.
This should make it no longer possible to do I/O from userspace. :^)
2020-01-01 17:31:41 +01:00
Andreas Kling
9c0836ce97
Kernel: Enable x86 UMIP (User Mode Instruction Prevention) if supported
...
This prevents code running outside of kernel mode from using the
following instructions:
* SGDT - Store Global Descriptor Table
* SIDT - Store Interrupt Descriptor Table
* SLDT - Store Local Descriptor Table
* SMSW - Store Machine Status Word
* STR - Store Task Register
There's no need for userspace to be able to use these instructions so
let's just disable them to prevent information leakage.
2020-01-01 13:21:15 +01:00
Shannon Booth
d0f9906c17
Crash: Add a "Test All Crash Types" option
...
Add an option "-A", that will run all of the crash types in the crash
program. In this mode, all crash tests are run in a child process so
that the crash program does not crash.
Crash uses the return status of the child process to ascertain whether
the crash happened as expected.
2019-12-31 02:14:36 +01:00
Andreas Kling
b0bbdc53e9
Base: Remove misplaced backtick in syscall(1)
2019-12-30 14:15:18 +01:00
Jami Kettunen
edba444aa9
Base: Add man page for keymap(1)
2019-12-30 14:02:00 +01:00
Andreas Kling
33efeaf71a
crash: Add "-X" option for attempting to execute non-executable memory
2019-12-25 13:35:57 +01:00
Mauri de Souza Nunes
cb4e51a7a5
Userland: Add syscall -l option and man page
2019-12-24 20:23:37 +01:00
Conrad Pankoff
033de7efe2
Base: Describe kernel modules, syscalls, and programs
2019-12-24 11:52:01 +01:00
Andrés Vieira
488d755ccd
Docs: Add cal(1) man page
2019-12-24 11:48:16 +01:00
Andreas Kling
f41ae755ec
Kernel: Crash on memory access in non-readable regions
...
This patch makes it possible to make memory regions non-readable.
This is enforced using the "present" bit in the page tables.
A process that hits an not-present page fault in a non-readable
region will be crashed.
2019-12-02 19:18:52 +01:00
Andreas Kling
e56daf547c
Kernel: Disallow syscalls from writeable memory
...
Processes will now crash with SIGSEGV if they attempt making a syscall
from PROT_WRITE memory.
This neat idea comes from OpenBSD. :^)
2019-11-29 16:30:05 +01:00
Andreas Kling
6fbe0f17f2
Docs: Add avol(1)
2019-11-22 21:52:52 +01:00
Andreas Kling
3d558f47b0
Docs: Add uname(1) and uname(2) man pages
2019-11-17 19:48:11 +01:00
Andreas Kling
189f234b47
Docs: Add info about -T and -t to crash(1)
2019-11-17 19:23:35 +01:00
Sergey Bugaev
8fbcfa934a
Base: Add some "See also" links to the man pages
...
We can do this now that we have link support in LibMarkdown and LibHTML ^)
2019-10-03 08:23:54 +02:00
Larkin Nickle
3fb88cb76d
Help+man.md: Add man sections
...
Also correct minor formatting mistake in TelnetServer.md.
2019-09-30 21:38:39 +02:00
Andreas Kling
dba74abe93
Base: Fix minor typos in man pages
2019-09-28 23:06:22 +02:00
Sergey Bugaev
fed96f455d
Base: Write some initial man pages
...
It ain't much, but it's honest work!
2019-09-28 18:29:42 +02:00