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
4lDO2
21253a4be4
Fix unused_warnings error.
2026-05-30 17:00:30 +02: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
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
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
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