Christian Stewart
8ee2508668
sysfs: support IsNonblock/SetNonblock on fs.FS-backed files ( #2479 )
...
OpenFSFile returns fsFile which wraps an fs.File. Previously fsFile only
forwarded Poll but not IsNonblock/SetNonblock, so files opened from
custom fs.FS mounts (e.g. virtual /dev/tcp/) could not participate in
non-blocking I/O.
Changes:
- Add nonblocker interface to forward IsNonblock/SetNonblock through
fsFile to the underlying fs.File (PollableFile cannot be used due to
conflicting Close signatures between fs.File and sys.File)
- Add tests for fsFile IsNonblock/SetNonblock forwarding
Signed-off-by: Christian Stewart <christian@aperture.us >
2026-03-05 16:49:54 +00:00
..
2023-01-23 11:11:35 +08:00
2024-02-09 13:29:57 -08:00
2023-08-02 08:27:50 +08:00
2023-07-31 07:56:28 +08:00
2025-11-14 00:21:33 -05:00
2023-07-17 08:13:29 +08:00
2023-07-31 07:56:28 +08:00
2023-07-31 07:56:28 +08:00
2024-09-27 07:46:07 -07:00
2025-11-14 00:21:33 -05:00
2026-03-05 16:49:54 +00:00
2025-11-14 00:21:33 -05:00
2025-11-14 00:21:33 -05:00
2025-12-18 15:01:01 +00:00
2026-03-05 16:49:54 +00:00
2025-11-14 14:39:31 +00:00
2023-05-17 07:19:54 +03:00
2025-12-18 15:01:01 +00:00
2025-11-14 00:21:33 -05:00
2025-11-14 00:21:33 -05:00
2024-02-09 13:29:57 -08:00
2025-11-14 14:39:31 +00:00
2025-11-14 00:21:33 -05:00
2025-11-14 00:21:33 -05:00
2023-08-02 08:27:50 +08:00
2025-11-14 00:21:33 -05:00
2025-11-14 00:21:33 -05:00
2023-07-31 07:56:28 +08:00
2024-04-22 11:17:10 +09:00
2023-07-31 07:56:28 +08:00
2025-11-14 00:21:33 -05:00
2023-07-31 07:56:28 +08:00
2025-11-14 00:21:33 -05:00
2023-07-31 07:56:28 +08:00
2025-11-14 00:21:33 -05:00
2025-11-14 00:21:33 -05:00
2025-11-18 12:59:45 +00:00
2026-03-04 10:40:00 +00:00
2023-07-30 10:56:17 +08:00
2023-07-28 10:49:17 +02:00
2025-11-14 00:21:33 -05:00
2023-07-31 06:47:47 +08:00
2026-03-04 10:40:00 +00:00
2025-11-14 00:21:33 -05:00
2023-07-30 16:06:22 +08:00
2026-03-04 10:40:00 +00:00
2024-02-09 13:29:57 -08:00
2023-08-02 08:27:50 +08:00
2023-07-17 08:13:29 +08:00
2025-11-14 00:21:33 -05:00
2025-11-14 00:21:33 -05:00
2023-07-17 08:13:29 +08:00
2026-03-04 10:40:00 +00:00
2026-03-04 10:40:00 +00:00
2026-03-04 10:40:00 +00:00
2026-03-04 10:40:00 +00:00
2026-03-04 10:40:00 +00:00
2026-03-04 10:40:00 +00:00
2025-11-14 00:21:33 -05:00
2024-02-09 13:29:57 -08:00
2025-11-14 00:21:33 -05:00
2025-11-14 00:21:33 -05:00
2023-07-17 08:13:29 +08:00
2023-08-10 06:09:16 +09:00
2023-07-17 08:13:29 +08:00
2023-05-17 07:19:54 +03:00
2024-04-22 11:17:10 +09:00
2024-04-22 11:17:10 +09:00
2023-07-17 08:13:29 +08:00
2025-11-14 00:21:33 -05:00
2025-11-14 00:21:33 -05:00
2023-07-31 06:47:23 +08:00