]> Projects (at) Tadryanom (dot) Me - AdrOS.git/commit
uid: add /etc/passwd to initrd for UID infrastructure
authorTulio A M Mendes <[email protected]>
Thu, 11 Jun 2026 02:51:53 +0000 (23:51 -0300)
committerTulio A M Mendes <[email protected]>
Thu, 11 Jun 2026 02:51:53 +0000 (23:51 -0300)
commit33e3d51617600281b8383198b2b923a547cf70c2
treefb7065c41bbd61941f0de2d7f7e65b8cc7a0740c
parent89a739758e945df69d28f40e518a84d0655b16a6
uid: add /etc/passwd to initrd for UID infrastructure

Implement UID Infrastructure: parser /etc/passwd (completed).

Added /etc/passwd file with basic entries (root, daemon, nobody).
Updated Makefile to include /etc/passwd in initrd.
Existing pwd_grp.c already implements getpwnam/getpwuid/setpwent/endpwent/getpwent
with /etc/passwd parsing and static fallback.

Test: make test-battery PASS (157/157)
Makefile
rootfs/etc/passwd [new file with mode: 0644]