#13399·coreutils

id: rustix crate bypasses libc breaking LD_PRELOAD based tools

Author: BAMF0Created Jul 14, 2026Updated Sep 30, 2026
LabelsU - id

Problem

Reproduce

  1. Build uutils/coreutils version 0.9.0 using the release profile
  2. Install fakeroot:
bash
# Debian / Ubuntu 
sudo apt install fakeroot

# Fedora / RHEL
sudo dnf install fakeroot

# Arch Linux
sudo pacman -S fakeroot
  1. Run the built id:
bash
id

Output:

bash
1000
  1. Run fakeroot against the built id:
bash
fakeroot ./target/release/coreutils id -u

Output:

bash
1000

Expected behavior

fakeroot should be able to intercept the id command and instead print:

bash
0

as if it were root.