Files
systemd/test/fuzz/fuzz-user-record/edge-min-values.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

42 lines
1007 B
JSON

{
"userName": "minuser",
"realName": "Minimum Values Test User",
"uid": 0,
"gid": 0,
"homeDirectory": "/",
"shell": "/",
"disposition": "intrinsic",
"umask": 0,
"niceLevel": -20,
"cpuWeight": 1,
"ioWeight": 1,
"diskSize": 1,
"diskSizeRelative": 1,
"tasksMax": 1,
"memoryHigh": 1,
"memoryMax": 1,
"accessMode": 0,
"luksPbkdfForceIterations": 1,
"luksPbkdfTimeCostUSec": 1,
"luksPbkdfMemoryCost": 1,
"luksPbkdfParallelThreads": 1,
"luksSectorSize": 512,
"luksVolumeKeySize": 1,
"rebalanceWeight": 1,
"rateLimitIntervalUSec": 1,
"rateLimitBurst": 1,
"stopDelayUSec": 0,
"lastChangeUSec": 0,
"lastPasswordChangeUSec": 0,
"notBeforeUSec": 0,
"notAfterUSec": 1,
"passwordChangeMinUSec": 0,
"passwordChangeMaxUSec": 1,
"passwordChangeWarnUSec": 0,
"passwordChangeInactiveUSec": 0,
"tmpLimit": 1,
"tmpLimitScale": 1,
"devShmLimit": 1,
"devShmLimitScale": 1
}