Files
systemd/test/fuzz/fuzz-user-record/session-prefs.json
Frantisek Sumsal be0db50cad fuzz: add a fuzzer for user records
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.
2026-03-06 19:03:14 +01:00

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
}