From 892881d4f5f5828c4bedbbb5da2345782f576a2f Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 16 Nov 2026 11:46:53 +0100 Subject: Add TODO for _IO* functions in rust-libc --- contributing.mdwn | 1 + 1 file changed, 1 insertion(+) diff --git a/contributing.mdwn b/contributing.mdwn index 2e8032c2..41230021 100644 --- a/contributing.mdwn +++ b/contributing.mdwn @@ -125,6 +125,7 @@ with". Make sure to check out the most up-to-date version on * Add support for `EA node inline` storage of xattr, at the very least for getting xattr, see * Add setxattrat/getxattrat/listxattrat/removexattrat, which are just `at` variants of the existing setxattr/getxattr/listxattr/removexattr, that should simply use `__file_name_lookup_at` instead of `__file_name_lookup`. glibc's `7ae60af75b78f408420512c58fd5a08ca7a88bad` is probably a good read to understand the subtelty. * Make `libbpf` use `libpcap`'s `bpf_filter` and `bpf_validate` instead of using our own copy, after it is made loop-free, see +* Make rust-libc's `src/unix/hurd/mod.rs` define `_IO`, `_IOR`, `_IOW`, `_IOWR` functions, just like `src/unix/linux_like/mod.rs`, but with the hurd-specific encoding (see glibc's `sysdeps/mach/hurd/bits/ioctls.h`), at least for the trivial case of a single integer value. We can leave the structure case out. ## Porting Packages -- cgit v1.3.1