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.
42 lines
1.4 KiB
JSON
42 lines
1.4 KiB
JSON
{
|
|
"userName": "maxuser",
|
|
"realName": "Maximum Values Test User",
|
|
"uid": 4294967294,
|
|
"gid": 4294967294,
|
|
"homeDirectory": "/home/maxuser",
|
|
"shell": "/bin/bash",
|
|
"disposition": "regular",
|
|
"umask": 511,
|
|
"niceLevel": 19,
|
|
"cpuWeight": 10000,
|
|
"ioWeight": 10000,
|
|
"diskSize": 18446744073709551615,
|
|
"diskSizeRelative": 4294967295,
|
|
"tasksMax": 18446744073709551614,
|
|
"memoryHigh": 18446744073709551614,
|
|
"memoryMax": 18446744073709551614,
|
|
"accessMode": 511,
|
|
"luksPbkdfForceIterations": 18446744073709551615,
|
|
"luksPbkdfTimeCostUSec": 18446744073709551615,
|
|
"luksPbkdfMemoryCost": 18446744073709551615,
|
|
"luksPbkdfParallelThreads": 18446744073709551615,
|
|
"luksSectorSize": 4096,
|
|
"luksVolumeKeySize": 512,
|
|
"rebalanceWeight": 10000,
|
|
"rateLimitIntervalUSec": 18446744073709551615,
|
|
"rateLimitBurst": 18446744073709551615,
|
|
"stopDelayUSec": 18446744073709551615,
|
|
"lastChangeUSec": 18446744073709551615,
|
|
"lastPasswordChangeUSec": 18446744073709551615,
|
|
"notBeforeUSec": 0,
|
|
"notAfterUSec": 18446744073709551615,
|
|
"passwordChangeMinUSec": 0,
|
|
"passwordChangeMaxUSec": 18446744073709551615,
|
|
"passwordChangeWarnUSec": 18446744073709551615,
|
|
"passwordChangeInactiveUSec": 18446744073709551615,
|
|
"tmpLimit": 18446744073709551615,
|
|
"tmpLimitScale": 4294967295,
|
|
"devShmLimit": 18446744073709551615,
|
|
"devShmLimitScale": 4294967295
|
|
}
|