Commit Graph

299 Commits

Author SHA1 Message Date
Anhad Singh 0a7bf437bd feat(schemev2): detach
This commit adds:
* `CqeOpcode::RespondAndNotifyOnDetach`
* `Opcode::Detach`

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-02-20 19:57:28 +11:00
Anhad Singh 374b33f2e4 feat(stdfscall): flocking
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-02-12 11:25:35 +11:00
Jeremy Soller 95f4fed4e2 Implement fscall RFC 2026-02-11 12:11:07 -07:00
4lDO2 178461f6fb Remove remnants of the old packet format. 2025-12-27 15:10:54 +01:00
Ibuki Omatsu 208cf4b6ff Remove SYS_OPEN, SYS_UNLINK, and SYS_RMDIR. Add namespace related features 2025-12-27 07:00:21 -07:00
Anhad Singh 2d11366fd1 misc(sigabi): is_parent_sigchld -> stop_or_continue
* The original argument `is_parent_sigchld` was misleading as it
   applied to any `SIGCHLD` sent to the parent (exit and stop/continue).
   `SA_NOCLDSTOP` should only suppress stop and continue events, not
   exits.
* Document the behaviour.

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-12-17 14:05:50 +11:00
Ibuki Omatsu 1cf631ce3f Introduce syscall6. Add unlinkat and remove unlink and rmdir. 2025-12-16 07:07:01 -07:00
Jeremy Soller 2d346f1d61 Add F_DUPFD_CLOEXEC 2025-11-17 17:38:30 -07:00
Ibuki Omatsu 15aa8e32ef Define GlobalSchemes. 2025-10-04 16:54:47 +02:00
Ibuki Omatsu a9880ccf50 feat: Add UPPER_FDTBL_TAG 2025-07-27 07:10:36 -06:00
Ibuki Omatsu 1cfe90df24 feat: Add flags for bulk fd passing. 2025-07-26 06:58:26 -06:00
Ibuki Omatsu 95f15d3a8f feat: Add FsCall. 2025-07-21 07:52:41 -06:00
Darley Barreto 61f7b1bc31 Update openat function to include fcntl_flags parameter 2025-07-12 14:26:17 -03:00
Ibuki Omatsu eb4c83bd50 feat: Add MODE_SOCK to flags. 2025-07-04 14:04:53 -06:00
Ron Williams 8df03bb6f9 Match DirentKind to include/bits/dirent.h 2025-06-10 13:44:27 -06:00
Jeremy Soller fe32c6b89d 0.5.12: Replace link with flink 2025-05-03 12:15:52 -06:00
4lDO2 8f646a63ac Remove commented-out ThreadEvent. 2025-04-19 13:03:51 +02:00
4lDO2 8a80d1f58b Add debug_name to ProcSchemeAttrs. 2025-04-19 01:04:42 +02:00
4lDO2 c52c4fec53 Move most sig numbers to redox_rt. 2025-04-16 11:58:21 +02:00
4lDO2 8fa422b2c9 Add Exception stubs for aarch64+riscv64. 2025-04-15 16:37:55 +02:00
4lDO2 8d3e6e5b49 WIP: exception handling interfaces. 2025-04-15 16:30:04 +02:00
4lDO2 c9d824f406 Move RtSigInfo definition to redox-rt. 2025-04-13 20:34:17 +02:00
4lDO2 8909a0b233 Remove SYS_SIGDEQUEUE. 2025-04-13 20:24:47 +02:00
4lDO2 b23d5067c6 Add ContextVerb::Interrupt. 2025-04-07 17:40:45 +02:00
4lDO2 9db2be8663 Add ContextVerb with Stop and Unstop additionally. 2025-04-07 17:40:45 +02:00
4lDO2 30fed98a46 Remove iopl and virttophys. 2025-04-07 17:40:45 +02:00
4lDO2 9a1742f3d3 Add ProcSchemeVerb. 2025-04-07 17:40:45 +02:00
4lDO2 9081c7f2b9 Add ThreadEvent, ContextStatus. 2025-04-07 17:40:45 +02:00
4lDO2 3afd6a2654 Impl Debug for DirentBuf. 2025-04-07 17:40:45 +02:00
4lDO2 9d1b81b92f Remove WaitFlags etc. 2025-04-07 17:40:44 +02:00
4lDO2 3d5e934d16 Add ProcSchemeAttrs. 2025-04-07 17:40:44 +02:00
4lDO2 c68c68041a Remove syscalls replaced by the proc manager. 2025-04-07 17:40:44 +02:00
4lDO2 080f2003cd Rustfmt, add CallFlags::CONSUME. 2025-04-05 17:19:13 +02:00
4lDO2 3c4b7dd55d Fix AsRef unsoundness for path syscalls. 2025-04-05 17:13:50 +02:00
Darley Barreto 8b2bbae6e6 Add OpenAt Opcode 2025-04-05 10:50:48 -03:00
Darley Barreto a65f94f37e Add openat syscall 2025-04-01 18:01:02 -03:00
4lDO2 3117ea451c Implement SYS_CALL. 2025-03-03 14:15:17 +01:00
4lDO2 ee30da9700 Add SqeOpcode::CloseMsg. 2025-02-21 14:41:37 +01:00
Anhad Singh 74336e8c04 feat(mremap): add KEEP_OLD flag
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2024-12-10 16:42:40 +11:00
Andrey Turkin 5d37073bd4 Complete RISC-V64 support 2024-09-29 16:52:54 +03:00
4lDO2 c910533bcb Remove SYS_UMASK.
Now that all POSIX open-related calls go through relibc, this value can
be downgraded to a (process-local) global variable in userspace.
2024-09-25 19:50:45 +02:00
Kamil Koczurek 909f95f349 Fix panic in dirent Buffer::split_at 2024-09-25 12:38:52 +02:00
4lDO2 c2c69e6282 Fix cargo test 2024-09-23 21:04:56 +02:00
4lDO2 af8865416b Add sender_infos for idempotent signals. 2024-09-23 21:03:55 +02:00
4lDO2 984f9cf714 Add RtSigInfo. 2024-09-23 21:03:55 +02:00
4lDO2 b32e679437 Add syscalls for an initial in-kernel rtsig impl. 2024-09-23 21:03:55 +02:00
4lDO2 7b834cb3d5 Add minimal realtime sig constants. 2024-09-23 21:03:52 +02:00
4lDO2 e4cc6bfcd5 Make arch module available on nonredox.
This both reduces IDE confusion, and allows compiling the kernel for
host, in order to run unit tests.
2024-09-14 10:57:42 +02:00
4lDO2 4d159ce1c7 WIP: Add next_opaque_id 2024-09-10 09:10:16 +02:00
4lDO2 c043410366 Document (sub)Buffer OOB write ability. 2024-09-09 11:14:57 +02:00