runtime/filc-glibc.nix
| pkgs | |
| filc | |
| libpizlo | |
| sources | default import../lib/sources.nix inherit pkgs; |
Memory-safe glibc compiled with Fil-C
Honour LOCALE_ARCHIVE and NixOS' system archive, as Nixpkgs' glibc does; its 2.42 writes the same archive format as 2.44.
nftw, scandirat and fts stopped the program on a raw openat syscall.
brk, sched_setattr and pidfd_spawn stopped the program; fail instead.
settimeofday(NULL, tz) stopped the program (systemd after switch-root).
aarch64 has no inotify_init syscall; upstream's inotify_init.c now calls zsys_inotify_init, so this x86_64 workaround is kept only to leave the staging build unchanged. Official uses upstream's wrapper.
Ship C.UTF-8, as Nixpkgs' glibc does. The localedef built here is a Fil-C program that cannot run yet, so use the build platform's, as Nixpkgs does when cross-compiling glibc. Its 2.42 writes the same locale file format; the definitions come from this source.