Wildan M
812e0f6f1e
ptyd: Revert pty master fpath
2026-06-20 13:24:10 +07:00
auronandace
997155ef2c
tackle some minor clippy lints in ptyd and its dependencies
2026-06-17 10:41:06 +01:00
Connor-GH
ddd6c4f3ac
ptyd: implement TIOCGPTN and TIOC{S,G}PTLCK
...
This functionality is needed according to POSIX. Additionally, some
logic had to be changed in order for the ptsname to be correct for the
manager terminal (ptmx). If you want to obtain a pty, you must go
through the `posix_openpt`-`grantpt`-`unlockpt`-`ptsname`-`open`
process. Alternatively, relibc as a function called `openpty`.
This is part of my ptyd series. This can be safely merged once the MRs
for relibc/ and userutils/ are merged at the same time.
2026-06-03 19:33:09 -05:00
bjorn3
daf726c30d
scheme-utils: Have FpathWriter handle writing the scheme name
2026-04-19 19:07:41 +02:00
bjorn3
64d23e9e05
scheme-utils: Introduce FpathWriter helper
2026-04-19 19:07:41 +02:00
bjorn3
a2bc1dd79c
scheme-utils: Panic on scheme EOF
...
EOF used to be triggered by unmounting a scheme, but this is no longer
the case since namespaces got moved to userspace. Unmounting now only
closes the scheme root fd.
2026-04-18 16:49:21 +02:00
bjorn3
a5018ca37e
scheme-utils: Merge read_requests and process_requests
...
And simplify some matches on the resulting method.
2026-04-18 16:49:21 +02:00
bjorn3
4ef2c7ad6f
scheme-utils: Remove the need for RefCell wrappers around schemes for ReadinessBased
2026-04-18 16:49:21 +02:00
bjorn3
ca281c9395
scheme-utils: Copy ReadinessBased from redox-scheme to scheme-utils
...
To allow improving the implementation and interface in this repo and
move it back into redox-scheme later.
2026-04-18 16:49:03 +02:00
Ribbon
90ea974ce0
Add missing Cargo package description and update drivers README
2026-03-16 10:39:15 -06:00
auronandace
5ffce47607
add clippy precedence lint
2026-02-20 13:43:48 +00:00
auronandace
98a2516dd2
minor cleanup in ptyd
2026-02-10 10:01:32 +00:00
auronandace
af14ff0597
prefer from instead of as cast
2026-02-03 20:30:31 +00:00
Ibuki Omatsu
334928f151
feat: Introduce userspace namespace manager and adapt all schemes.
2026-01-20 20:56:58 -07:00
Jeremy Soller
f740b61774
Use workspace dependencies for many common crates
2026-01-20 10:12:08 -07:00
Ibuki Omatsu
3681e1b74a
refactor: Replace unlink and rmdir with unlinkat in ramfs. Update redox-scheme and redox-rt for bootstrap.
2025-12-17 18:46:05 -07:00
Ribbon
723364cb45
Improve, update and remove unnecessary READMEs
2025-12-16 21:34:36 -03:00
bjorn3
91f12cabd9
ptyd: Update to redox-scheme 0.8
2025-12-13 15:06:20 +01:00
bjorn3
f06923b201
Standardize main function of all daemons
2025-12-04 11:44:29 +01:00
bjorn3
7aa0776abd
Rustfmt
2025-12-03 22:02:20 +01:00
bjorn3
f1057b6750
daemon: Abort on errors
...
All users did this anyway. And handling it inside the daemon crate
allows avoiding a panic of the parent process when the child process
panicked.
2025-12-03 21:55:47 +01:00
bjorn3
54d81e7423
Merge redox-daemon into this repo
2025-12-03 21:07:13 +01:00
bjorn3
0c2341d53e
Remove outdated Cargo.lock files
2025-12-03 21:00:13 +01:00
bjorn3
fd0f45eac8
Fix some warnings in ptyd
2025-11-29 19:17:36 +01:00
Jeremy Soller
212758724e
ptyd: do not log when ready
2025-11-01 19:57:35 -06:00
Josh Megnauth
6e76601529
Simplify Pty::path with write!
...
Pty::path is a manual implementation of write! that also allocates.
Using write! avoids the alloc and is simpler too.
The original function didn't return an error even if called with a small
buffer and this version preserves that.
2025-08-31 01:58:33 -04:00
Josh Megnauth
1744adb7c1
Add _POSIX_VDISABLE to disable control chars
...
This is a POSIX extension to disable control chars when set in the c_cc
array. Fish and other programs use it.
See:
* redox-os/relibc!689
* redox-os/termios!3
2025-08-14 01:07:00 -04:00
4lDO2
514741898c
pty scheme fixes
2025-04-18 10:07:00 +02:00
bjorn3
8286249ff7
Remove unreachable dup impls
...
Dup calls with an empty path never reach scheme implementations
2025-03-30 17:51:07 +02:00
bjorn3
15bb765a78
Remove redundant license files
2025-02-21 20:13:23 +01:00
bjorn3
1b1c6abc62
Add 'ptyd/' from commit '4ba5c4ead35a7e8458af89e565c46c275f304ef4'
...
git-subtree-dir: ptyd
git-subtree-mainline: b33f98968c
git-subtree-split: 4ba5c4ead3
2025-02-21 20:11:54 +01:00