Wildan M
7efad0a989
uds: Unblock accept(), allow getpeername while connecting
2026-01-15 03:36:33 +07:00
Wildan M
2818310738
ipcd: temporarily allow setsockopt SO_SNDBUF
2026-01-08 05:58:29 +07:00
Anhad Singh
9496f6f486
fix(ipcd/uds/steam): perform checks before get_uid_gid_from_pid
...
Fix
https://gitlab.redox-os.org/redox-os/base/-/merge_requests/69#note_47265
Signed-off-by: Anhad Singh <andypython@protonmail.com >
2025-12-16 22:14:40 +11:00
Anhad Singh
383bd436d8
fix(ipcd/uds/stream): handle zero-byte payload
...
* sendmsg(2) on `SOCK_STREAM` with zero-byte payload is a no-op even if
ancillary data is present. Note that this does not apply to
`SOCK_DGRAM`.
* Pass the `msg_flags` to `get_connected_pear` as non-blocking behaviour
may be requested.
Signed-off-by: Anhad Singh <andypython@protonmail.com >
2025-12-16 21:19:53 +11:00
bjorn3
4a182077c9
ipcd: Fix a couple of warnings
2025-12-05 20:52:46 +01:00
Jeremy Soller
1145e908f1
ipcd: return sane value for SO_SNDBUF
2025-11-17 17:18:02 -07:00
Jeremy Soller
9704a4501e
ipcd: refactor fevent handling
2025-11-16 09:02:27 -07:00
Jeremy Soller
16ac15d5eb
ipcd: remove unnecessary debug print
2025-11-14 18:25:36 -07:00
Jeremy Soller
eb2da68f88
Handle MSG_DONTWAIT
2025-11-13 10:19:13 -07:00
Jeremy Soller
594748c1e1
ipcd: make require_connected_connection compatible with O_NONBLOCK
2025-11-10 16:41:55 -07:00
Ibuki Omatsu
1033c6f430
feat: Add getpeername support for uds schemes.
2025-11-10 07:34:54 -07:00
Jeremy Soller
092d4001e1
Support SO_PEERCRED in unix streams
2025-11-08 08:39:02 -07:00
Jeremy Soller
68b483b0c7
Block require_connected_connection if already connecting
2025-11-08 07:45:07 -07:00
Jeremy Soller
3019f8f12a
Fix return value for nonblock accept and recvfd
2025-11-07 20:11:13 -07:00
Jeremy Soller
bed0b52961
ipcd/uds: implement fevent and misc fixes
2025-09-17 14:43:53 -06:00
Ibuki Omatsu
3cad0e8a33
feat: Implement bulk fd passing
2025-07-30 18:49:37 -06:00
Ibuki Omatsu
9a8af7c993
feat: Reimplement bind and connect operation using token and switch GetProcCredentials to capability-based approach.
2025-07-21 07:56:03 -06:00
Ibuki Omatsu
1004be449d
fix: Fix build errors related to uds scheme
2025-07-19 12:13:15 -06:00
Ibuki Omatsu
9189c4c6dc
feat: Implement uds_dgram and uds_stream schemes.
2025-07-18 21:58:53 -06:00