{
  "schemaVersion": 1,
  "evidenceType": "controlled-invalid-descriptor-check",
  "generatedAt": "2026-10-16T06:11:32.936Z",
  "sourcePath": "/research/allocation-api-errors.c",
  "sourceSha256": "165a49feb62dbbaadf0d74ce8ad25683fcdddf266992bcb0434c4d71d576870e",
  "environment": {
    "kernel": "6.8.0-146-generic",
    "architecture": "x64",
    "compiler": "cc (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0",
    "libc": "glibc 2.39"
  },
  "command": "cc -std=c11 -Wall -Wextra -Werror allocation-api-errors.c -o allocation-api-errors && ./allocation-api-errors",
  "observations": {
    "posix_return": 9,
    "posix_errno": 0,
    "linux_return": -1,
    "linux_errno": 9,
    "EBADF": 9
  },
  "passed": true,
  "limits": [
    "No file was opened or modified; the descriptor is deliberately invalid.",
    "This checks error reporting only, not successful allocation, emulation, races, performance or durability.",
    "The recorded errno after posix_fallocate is an observation; callers must use its return value."
  ]
}
