From 93ac215c2add977253447bbd32bd52a533bc4ae7 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 31 May 2026 18:39:55 +0200 Subject: comment on getifaddrs --- contributing.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contributing.mdwn b/contributing.mdwn index bb578b12..16448469 100644 --- a/contributing.mdwn +++ b/contributing.mdwn @@ -122,7 +122,7 @@ part:1:file:/home/samy/tmp/foo`). This would be libnetfs-based. * Add a limitation in the number of a process that a given uid can run. That would be in the `proc` translator. That will allow to avoid crashes when an application goes crazy with forking. Setting a hardcoded limitation would thus already be useful. * Complete BPF program validation in `libbpf`. For instance, for now if `BPF_MOD` or `BPF_XOR` are used in a filter, it is accepted, but the matching always fails. We should pre-refuse any unknown instruction (and of course then implement `BPF_MOD` and `BPF_XOR`) * Make something useful out of SIGINFO for programs which do catch it. This is in `glibc/hurd/siginfo.c`, it could e.g. print the current RPC, like BSD does. -* Define some way to get network interface statistics (sent/received bytes/packets, etc.), probably as an ioctl like the other network interface manipulation calls, ideally like BSD does. +* Define some way to get network interface statistics (sent/received bytes/packets, etc.), probably as an ioctl like the other network interface manipulation calls, ideally like BSD does. Probably by supporting `SIOCGIFDATA` like on NetBSD and OpenBSD, and use that in `getifaddrs`. * Add `SO_RCVTIMEO` support to `pflocal`. That means adding timed reception support to `libpipe`, and plugging it in pflocal. -- cgit v1.3.1