Wildan M
4251102f0b
Partially solve missing wakeups after separate timers
2026-07-17 20:02:37 -06:00
Ibuki Omatsu
37ffa2e29e
refactor: Allow refreshing filetable data using dup2 to fix O_CLOEXEC
2026-07-17 19:49:20 -06:00
Akshit Gaur
f5fe18b23c
Finish the work on separating timers
2026-07-16 07:48:54 -06:00
Ibuki Omatsu
6c3d5d28c6
refactor: Move fd allocation logic into userspace
2026-07-01 08:02:47 -06:00
Wildan M
002fff546d
Clear cloexec flag on Dup2
2026-06-20 06:35:01 +07:00
Wildan M
ed31b800c4
Revert "Use weak context for Proc"
2026-06-19 17:36:41 +07:00
4lDO2
42613ddc06
WIP: simultaneous NMI-based user+kernel profiling.
2026-06-03 19:01:35 +02:00
R Aadarsh
f8bc19747a
Make necessary changes to the kernel in order for relibc to support posix_spawn and posix_spawnp
...
* `syscall::sendfd`, now, when called with a `ContextHandle::FileTable` adds the fd to the filetable removing it from the calling process's filetable
* Files can now be added to, removed from another process, and can be duplicated using `ProcScheme::kcall`
* Files of another process with the flag O_CLOEXEC can now be closed by using `kcall`
2026-06-03 15:29:02 +05:30
4lDO2
8011f3f648
Simplify acpi scheme.
2026-06-02 16:23:08 +02:00
Wildan M
ec1395b554
Wrap unmap loop with handle_notify_files
2026-05-30 08:40:49 -06:00
Ibuki Omatsu
e847768f2b
feat: Implement multiple fds variant for call and std_fs_call
2026-05-29 13:07:36 +02:00
Wildan M
805f921e10
Use weak context for Proc and Futex
2026-05-20 12:57:37 +07:00
Wildan M
a297bfcc82
Use smallvec for memory and notify_files
2026-04-30 22:00:35 +07:00
Wildan M
1070efaec8
Solve some lock ordering
2026-04-30 21:59:19 +07:00
Wildan M
844f393ae8
Downgrade context sigcontrol to read
2026-04-29 21:48:31 +07:00
Wildan M
ba28216ae8
Downgrade locks to read
2026-04-29 21:26:44 +07:00
Wildan M
fd5a04a121
Use status helpers
2026-04-29 11:20:43 +07:00
Wildan M
58660a9170
Handle AddrSpace munmap
2026-04-24 17:52:05 +07:00
Akshit Gaur
976756991a
Deficit Weighted Round Robin Scheduler
2026-04-17 06:52:03 -06:00
bjorn3
2f39aade30
Use mmap_anywhere in a couple of places
2026-04-10 20:23:01 +02:00
bjorn3
654ee6ca3e
size_of and align_of are part of the prelude nowadays
2026-04-09 15:23:34 -06:00
Wildan M
ce08b60502
Solve lock token and contexts for fdstat and debugger
2026-04-09 15:22:38 -06:00
Speedy_Lex
ee1260363c
Fix many clippy lints
2026-04-08 19:40:41 +01:00
bjorn3
ab4abf63c9
Deduplicate Page and other paging related things between architectures
2026-04-03 22:15:00 +02:00
bjorn3
b805336cfc
Fix a bunch of warnings
2026-04-03 22:15:00 +02:00
Wildan M
d835a3d8f0
Solve all borrow checker leaving some violation
2026-04-01 08:42:18 -06:00
Wildan M
a42ec44dbf
Partially solve borrow rules
2026-04-01 08:42:18 -06:00
Wildan M
3b5a0e4c60
Apply ordered lock to AddrSpaceWrapper without solving borrow checker
2026-04-01 08:42:18 -06:00
Akshit Gaur
004509587d
Fix ForceKill
2026-04-01 13:58:27 +05:30
bjorn3
f8d93023dd
Fix a couple of warnings
2026-03-28 17:07:33 +01:00
Ron Williams
fde164b2a0
Revert "Deficit based Weighted Round Robin Scheduler"
...
This reverts commit b7dabfc3c2 .
2026-03-22 18:44:41 +00:00
Akshit Gaur
b7dabfc3c2
Deficit based Weighted Round Robin Scheduler
2026-03-22 07:00:31 -06:00
Wildan M
6307446ede
Solve borrow rules to LockedFdTbl
2026-03-09 15:57:38 +07:00
Wildan M
8412321568
Add lock token to FdTbl without borrow check
2026-03-09 13:12:19 +07:00
Wildan M
8f270795da
Partialy solve borrow checking
2026-03-09 11:47:07 +07:00
Wildan M
f40b84a5cc
Add lock token to FileDescription, without borrow check
2026-03-09 11:23:51 +07:00
Wildan M
fd9c651410
Do not allocate on unneeded Vec
2026-03-07 09:15:20 -07:00
auronandace
14b8c2b0c1
enforce two lints and collapse some ifs
2026-03-03 14:51:32 +00:00
Wildan M
c72e0a67f9
Prevent drop on AddrSpace
2026-02-27 10:47:45 +07:00
auronandace
df469ddcb3
apply is_multiple_of lint
2026-02-21 08:39:26 +00:00
bjorn3
f334e760bb
Remove ens field from Context
...
It is no longer used due to the capability rework.
2026-02-06 22:00:18 +01:00
bjorn3
7ff1898765
Fix a couple of warnings
2026-02-06 20:54:42 +01:00
bjorn3
6ddd0a9098
Replace scheme::schemes() with scheme::get_scheme()
...
We never need to iterate over all schemes. We only ever need to access
individual schemes.
2026-02-06 20:54:42 +01:00
Ibuki Omatsu
5ac00f5533
Remove namespace management from the kernel.
2026-01-20 20:43:34 -07:00
Ibuki Omatsu
e30ed9ab6a
Introduce syscall6. Add unlinkat and remove unlink and rmdir.
2025-12-17 18:31:04 -07:00
bjorn3
3bf880e008
Correctly handle MAP_FIXED with a zero address
2025-12-09 23:09:19 +01:00
bjorn3
5a11067f10
Support non-fixed and anonymous remote mmap
2025-12-09 20:55:19 +01:00
bjorn3
58a362844a
Add a binary variant for the filetable read operation
...
This is a lot easier to parse in no_alloc scenarios than the current
textual format. This would help with moving the cloexec handling from
relibc to redox-rt.
2025-12-08 21:55:03 +01:00
Jeremy Soller
2d9f2015d0
Add upper table fds to kernel.proc filetable
2025-11-14 15:06:37 -07:00
Jeremy Soller
cbea1aca3d
Implement kfpath on more schemes
2025-11-14 11:36:49 -07:00