auronandace
7b588b57b3
update TIOCGPTN comment
2026-06-04 08:12:40 +01:00
Connor-GH
38737af78d
pty: update libc functions for ptyd changes
...
Of note is that `unlockpt` is required, both by the standard, and our
implementation. This has been taken care of inside of `openpty`, which
is the only non-libc way we are acquiring ptys. Additionally, it has
been modified such that it is POSIX compliant, so any outside future
changes to ptyd will not affect it.
This is part of my ptyd changes (#100 ). This can be safely merged once
the changes from base/ and userutils/ are merged alongside it.
2026-06-03 19:41:38 -05:00
auronandace
2e29bbe86a
add descriptions to the ifaddrs header
2026-06-03 09:36:42 +01:00
4lDO2
21253a4be4
Fix unused_warnings error.
2026-05-30 17:00:30 +02:00
auronandace
5abdcdf346
cargo fmt
2026-05-28 12:33:34 +01:00
auronandace
670288ef0c
update ioctl function body
2026-05-28 12:28:22 +01:00
auronandace
abba75fd62
deduplicate part of sys_ioctl
2026-05-28 12:17:11 +01:00
auronandace
3ddd4f56df
split out winsize from sys_ioctl header
2026-05-25 16:57:12 +01:00
bjorn3
0ae5d24a62
Add DRM_IOCTL_MODE_CLOSEFB
2026-05-14 20:55:51 +02:00
bjorn3
1d7820beac
Add missing mapping for DRM_IOCTL_MODE_SETPLANE
2026-05-14 20:55:12 +02:00
bjorn3
d0975d28bb
Add support for DRM_IOCTL_MODE_ADDFB2
2026-05-14 12:01:15 +02:00
bjorn3
d047295496
Handle DRM_IOCTL_GET_UNIQUE and DRM_IOCTL_SET_VERSION
2026-05-13 22:56:15 +02:00
auronandace
366215347a
replace sys_types with bits for termios
2026-05-09 19:14:20 +01:00
auronandace
bdceda8665
move sys ioctl bits to cbindgen
2026-03-26 11:09:52 +00:00
bjorn3
6fc6831f67
drm: Support MODE_PAGE_FLIP and MODE_DIRTYFB
2026-03-16 21:47:23 +01:00
bjorn3
6c340e8c57
drm: Support MODE_SET_CRTC, MODE_CURSOR and MODE_CURSOR2
2026-03-14 13:48:22 +01:00
auronandace
11f28342f9
unused_imports redox follow-up
2026-02-10 16:29:37 +00:00
auronandace
48224dc5ff
redox unused_mut follow-up
2026-02-08 09:14:05 +00:00
Ibuki Omatsu
94b0cfc682
refactor: Reimplement recvmsg and sendmsg using bulk fd passing.
2026-02-07 19:48:59 -07:00
Wildan M
f15322453b
Convert all println to log or todo
2026-01-25 05:27:38 +07:00
auronandace
cea71ae627
sgtty and sys_ioctl header cleanup
2026-01-21 10:50:36 +00:00
sourceturner
defd2ce7c3
Deny deny-unsafe_op_in_unsafe_fn on the crate level
2026-01-21 00:41:57 +01:00
sourceturner
582e6eba69
Use unsafe blocks in some more unsafe functions
...
Building with redoxer showed some more places
that have to use unsafe blocks
2026-01-21 00:41:43 +01:00
sourceturner
3879cb641d
Use unsafe blocks in ioctl implementation
2026-01-18 21:13:34 +01:00
bjorn3
a710decf1b
Add drm MODE_GET_PROPERTY, MODE_SET_PROPERTY and MODE_GET_PROP_BLOB
2025-12-21 20:38:53 +01:00
bjorn3
b69c6a2e11
Add drm MODE_ADD_FB and MODE_RM_FB
2025-12-20 22:10:39 +01:00
Jeremy Soller
c489dee545
Add TIOCGSID definition for Redox
2025-12-19 13:38:20 -07:00
bjorn3
22f5f23642
Support dumb buffer drm ioctls
2025-12-17 22:56:11 +01:00
bjorn3
2199c0fa10
Remove unused method from drm::Dev
2025-12-17 22:14:32 +01:00
bjorn3
61dc527156
Move drm ioctl (de)serialization into a new redox-ioctl crate
...
This will make it easier to share this code with gpu drivers in the base
repo.
2025-12-16 20:38:05 +01:00
bjorn3
c4ffcedbd0
Port remaining drm ioctls to the new infrastructure
2025-12-15 23:34:44 +01:00
bjorn3
cf90f89b42
Introduce infrastructure for serializing ioctls
...
And use it for a couple of drm interfaces
2025-12-15 22:26:52 +01:00
bjorn3
93f9401cf0
Use drm-sys for DRM types and consts
2025-12-14 22:32:43 +01:00
bjorn3
d70e2dc610
drm: Use new VERSION, GET_CAP and SET_CLIENT_CAP driver commands
2025-12-14 20:47:41 +01:00
bjorn3
395c686f8d
Rustfmt
2025-12-14 20:46:36 +01:00
bjorn3
6bce162b92
Fix read-only and write-only ioctls
...
Read-only ioctls write data to userspace, while write-only ioctls read
data from userspace. This matches the read and write syscalls.
2025-12-14 20:45:26 +01:00
Jeremy Soller
105b24a21f
Implement DRM ioctls for Redox
2025-12-14 08:39:00 -07:00
Jeremy Soller
0844e6fc90
WIP: use upper fd table
2025-11-15 07:55:37 -07:00
Jeremy Soller
82084440ad
Support nightly-2025-10-03
2025-10-03 21:51:10 -06:00
Jeremy Soller
ac3eb38c0d
Include bits/sys/ioctl.h in sys/ioctl.h
2025-05-13 08:13:49 -06:00
4lDO2
eee603efa8
Remove the "-1 errno" e() function.
2024-09-27 15:35:04 +02:00
4lDO2
313b32c815
Switch almost all of Pal to Rusty error handling.
2024-09-27 10:19:44 +02:00
4lDO2
c0e7af5289
Backwards-compatibly rewrite getdents to use special syscall.
2024-09-11 23:32:19 +02:00
bpisch
a9db7af754
Add stub for SIOCATMARK command of ioctl.
2024-03-09 08:56:37 +01:00
Peter Limkilde Svendsen
a7137512fa
Use standard casing and mangling for internal errno
2024-03-01 00:25:42 +00:00
Peter Limkilde Svendsen
9093f6bc47
Use Cell representation for errno
2024-02-29 14:07:40 +00:00
4lDO2
5630b6e0df
Make relibc (except libm) pure Rust
2024-01-11 13:08:06 +00:00
Jeremy Soller
49ee2f0593
Stub some terminal ioctls on Redox
2024-01-08 20:35:17 -07:00
Jeremy Soller
70dc59210d
Add TIOCSCTTY, currenty unimplemented
2024-01-03 10:10:07 -07:00
Darley Barreto
a237165bf8
Adding tcsetwinsize
2023-06-02 23:23:19 +00:00