Matthew Leach
fae5dc1a4f
usertest: fix test output
...
Since the test driver now outputs the test name, remove test name
printing in the signal tests.
Also flush stdout when the test has began running so if a problem
occures it's easier to know which test was running.
2026-01-25 10:29:16 -08:00
Ashwin Naren
aca5c0db79
implement mincore
2026-01-20 19:52:47 -08:00
Ashwin Naren
782bef29e6
move fs tests to their own file
2026-01-17 10:24:05 -08:00
Ashwin Naren
8908b1e332
use macro for registration
2026-01-17 10:24:05 -08:00
Matthew Leach
bc5d1cd91e
syscalls: wait4: make interruptable()
...
Make the `sys_wait4` system call interruptable via signal delivery.
Also include some a test in `usertest` to ensure proper functionality.
2026-01-17 10:22:53 +00:00
Matthew Leach
612bbdb172
syscalls: pipe: read: make interruptable()
...
Allow interrupt for `read()` calls on a pipe. If the syscall is
interrupted simply return `-EINVAL`.
Add a testcase to `usertest` for this case.
2026-01-17 10:21:17 +00:00
Matthew Leach
2655e8e78a
syscalls: sleep: make interruptable()
...
Allow the `nanosleep` family of functions to be interrupted. When an
interruption occures, calculation the remaining duration and write that
back to user-space.
Add a test to ensure proper functionality into usertest.
2026-01-17 10:21:17 +00:00
Ashwin Naren
56f3bcd654
add test
2026-01-13 16:48:10 -08:00
Matthew Leach
74aa508197
futex: implement bitset variants
...
Implement FUTEX_{WAKE,WAIT}_BITSET by using a `u32` as a data
discriminant value.
Also add a bunch of tests to `usertest` to ensure proper functionality.
2026-01-03 14:36:06 -08:00
ootinnyoo
d2723b716c
implement sys_statx
2025-12-28 10:41:15 -08:00
ootinnyoo
bada97e048
implement pread* and pwrite* syscalls
2025-12-26 21:45:40 -05:00
ootinnyoo
aa29951c2d
implement sys_renameat and sys_renameat2
2025-12-26 16:52:08 -08:00
ootinnyoo
2727f640d8
implement sys_utimensat
2025-12-25 10:33:16 -08:00
ootinnyoo
8030cf0d8f
add readlink test in symlink test
2025-12-25 00:46:40 -08:00
ootinnyoo
70e81b39f4
add support for symlinks
2025-12-25 00:46:40 -08:00
someone
2a1bb1cdde
implement hardlinking ( #88 )
2025-12-24 09:43:12 -08:00
Matthew Leach
5259654e36
usertest: add test_clock_sleep ( #87 )
...
Add a test to ensure sleeping and clock getttime functions are correct.
2025-12-24 09:40:13 -08:00
Matthew Leach
efe34026fa
Merge pull request #81 from arihant2math/mutex-timeouts
2025-12-24 08:08:20 +00:00
someone
877dc9bf2e
Implement sys_truncate ( #86 )
2025-12-23 22:08:16 -08:00
someone
3aef9a4e15
add chown/chmod ( #84 )
2025-12-23 15:19:25 -08:00
Ashwin Naren
c4f1d9acf5
support timeouts for futex
2025-12-23 13:08:37 -08:00
Matthew Leach
91c40c92ae
usertest: add test_rust_mutex
...
Add a function to stress-test the kernels futex implementation.
2025-12-23 11:28:29 -08:00
ootinnyoo
8f00af7587
implement sys_fchdir
2025-12-22 18:34:22 -05:00
Matthew Leach
12076c7ad2
usertest: add test_rust_thread
...
Add a simple thread spawn test.
2025-12-21 16:13:15 -08:00
Matthew Leach
eb2369f621
Merge pull request #57 from arihant2math/futex
2025-12-21 13:30:40 +00:00
Ashwin Naren
73b9afc2f0
remove redundant rust mutex test
2025-12-21 01:44:30 -08:00
Ashwin Naren
a6efc75686
final fixes
2025-12-21 01:43:54 -08:00
Ashwin Naren
d60e70e397
add another usertest
...
Conflicts:
usertest/src/main.rs
2025-12-21 01:43:54 -08:00
Ashwin Naren
3fbb56098c
futex impl
...
# Conflicts:
# usertest/src/main.rs
2025-12-21 01:43:54 -08:00
ootinnyoo
237ab737df
implement sys_chroot
2025-12-20 19:06:07 -05:00
Ashwin Naren
fd65436604
Add rust file/dir usertest ( #65 )
2025-12-18 16:19:42 -08:00
Ashwin Naren
5c8793675d
Initialize buffer as 1s to ensure it's written to.
2025-12-16 04:51:57 +00:00
Ashwin Naren
ebd459039e
test read syscall
2025-12-16 04:51:57 +00:00
Ashwin Naren
a4e9cf9fd9
formatting
2025-12-11 20:09:47 +00:00
Ashwin Naren
6d967332b7
remove old todo
2025-12-11 20:09:47 +00:00
Ashwin Naren
76f7707e00
test writing
2025-12-11 20:09:47 +00:00
Ashwin Naren
b05c606a2a
testing
2025-12-11 20:09:47 +00:00