Gate rustix linux_raw backend behind a feature
Author: xtqqczzeCreated Sep 29, 2026Updated Sep 30, 2026
LabelsP - Linux
Gate rustix's linux_raw backend behind a feature and don't enable it by default. It bypasses libc, breaking LD_PRELOAD users such as fakeroot (see https://github.com/uutils/coreutils/issues/13399#issuecomment-5000565341).
This is a GNU compatibility issue: if GNU coreutils' libc calls can be interposed via LD_PRELOAD, replacing them with direct syscalls changes observable behavior. For a drop-in replacement, uutils should preserve that behavior where practical.
The linux_raw backend should remain available as an opt-in feature, while the default build should use the libc backend for compatibility.
Source: uutils/coreutils