mirror of
https://github.com/systemd/systemd.git
synced 2026-08-04 15:10:33 +00:00
Add a simple fuzzer that verifies our machinery for parsing user records from JSON works as intended. The initial corpus was created with the help of Claude, so we have a bunch of valid user records with as much fields as possible for the initial corpus.
15 lines
373 B
JSON
15 lines
373 B
JSON
{
|
|
"userName": "sessionuser",
|
|
"realName": "Session Preferences User",
|
|
"uid": 3016,
|
|
"gid": 3016,
|
|
"homeDirectory": "/home/sessionuser",
|
|
"shell": "/bin/bash",
|
|
"disposition": "regular",
|
|
"autoLogin": true,
|
|
"preferredSessionType": "wayland",
|
|
"preferredSessionLauncher": "gnome",
|
|
"stopDelayUSec": 180000000,
|
|
"killProcesses": false
|
|
}
|