42 Commits

Author SHA1 Message Date
Ashwin Naren
04ac1e8783 implement sys_waitid 2026-01-30 08:31:26 -08:00
Matthew Leach
190bc06994 Merge pull request #160 from arihant2math/mincore 2026-01-21 06:12:40 +00:00
Ashwin Naren
aca5c0db79 implement mincore 2026-01-20 19:52:47 -08:00
Ashwin Naren
7e2de367a9 update table 2026-01-19 18:36:31 -08:00
Ashwin Naren
c6dd7b07c0 partially implement sys_close_range 2026-01-15 08:43:08 -08:00
Ashwin Naren
e3675a9c1f explicitly return not supported for name_to_handle_at and open_by_handle_at 2026-01-14 14:59:08 -08:00
Matthew Leach
2b55e1d972 sycalls: name_to_handle_at: stub
Return EOPNOTSUPP for `sys_name_to_handle_at`.
2026-01-14 14:24:35 -08:00
Ashwin Naren
3e60a57d67 implement xattr syscalls 2026-01-14 10:51:48 -08:00
Ashwin Naren
bc68aae677 stub sys_clock_nanosleep
# Conflicts:
#	src/arch/arm64/exceptions/syscall.rs
2026-01-13 16:48:01 -08:00
Matthew Leach
df578992b8 syscalls: sys_process_vm_readv: implement
Implement the `sys_process_vm_readv` syscall.
2026-01-11 19:23:47 -08:00
Ashwin Naren
6d8854fe30 initial ptrace 2026-01-11 19:23:47 -08:00
Ashwin Naren
a905a996b4 stub fadvise and process_madvise 2026-01-08 15:36:53 -08:00
Matthew Leach
a4db1debac syscalls: prctl: add stub impl
Implement PR_CAPBSET_READ with a very basic implementation.
2026-01-06 08:52:52 -08:00
Ashwin Naren
626492cf58 error on sys_getaffinity 2026-01-05 11:59:57 -08:00
ootinnyoo
fe4f3103dc implement linux-like process capabilities 2025-12-29 13:53:02 -08:00
ootinnyoo
caf1d923c8 implement sys_syncfs, sys_fsync, and sys_fdatasync 2025-12-28 15:55:12 -05: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
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
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
888c099072 implement sys_sched_yield 2025-12-23 12:46:26 -08:00
ootinnyoo
8f00af7587 implement sys_fchdir 2025-12-22 18:34:22 -05:00
ootinnyoo
237ab737df implement sys_chroot 2025-12-20 19:06:07 -05:00
Ashwin Naren
35a6caa541 Implement sys_sysinfo (#71) 2025-12-20 15:42:08 -08:00
Ashwin Naren
b98a54b928 Stub sys_madvise (#67) 2025-12-19 15:28:43 -08:00
Ashwin Naren
781b9b5c3f implement mkdir and unlink
rm, mkdir and rmdir now work in tmpfs
2025-12-18 15:35:09 +00:00
Matthew Leach
5511e28b72 syscalls: implement ftruncate 2025-12-17 20:04:31 -08:00
Ashwin Naren
661f368334 implement sys_kill 2025-12-01 19:55:41 +00:00
Matthew Leach
910203e0c2 syscalls: mprotect: implement
Implement the `mprotect` syscall. Including a bunch of tests for
ensuring proper VMA functionality regarding splitting and merging via
`mprotect`.
2025-11-30 20:13:36 +00:00
Matthew Leach
8038a6c4e2 syscalls: sys_getrand: implement
Implement sys_getrand
2025-11-28 21:24:37 +00:00
Bjorn Beishline
6d3af6a95d Update syscall doc with newly implemented methods 2025-11-28 20:46:45 +00:00
Matthew Leach
fb405282cc syscalls: rseq: return ENOSYS
Return ENOSYS for sys_rseq
2025-11-28 20:09:05 +00:00
Matthew Leach
1741b036bb syscalls: getrlimit: return error
Return error for the moment for `sys_getrlimit`.
2025-11-28 20:09:05 +00:00
Matthew Leach
6e988c3639 syscall: socket: return with error
Return with an error when calling socket()
2025-11-28 20:09:05 +00:00
Matthew Leach
6a029c340a syscall: gettimeofday: impement
Provide a dummy implementation of sys_gettimeofday
2025-11-28 20:09:05 +00:00
Ashwin Naren
de76e243a2 properly shutdown system 2025-11-28 20:02:12 +00:00
Steve Biedermann
7005b692c3 add markdown file with all syscalls 2025-11-24 17:59:16 +01:00
Matthew Leach
b8a4f29694 README: new
Add a basic README.md
2025-11-20 16:06:21 +00:00