nx_measurement_binding_artifact_gate.nx
buildroot/runtime/nx_measurement_binding_artifact_gate.nx
about
Capture the actual staged owner without changing its command/API contract.
Only caller-named exclusive /tmp files are written. Existing board artifacts are compared.
license_tier: ORIGINAL; expect_exit: 0
dependencies 4 imports · 0 importers
imports: nx_gatekit_lib.nxnx_gate_verdict.nxnx_estate_path.nxnx_json_lib.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 9 | const BC_FILE_MODE: i64 = 0x180 // POSIX owner-read/write temporary artifact mode |
| 10 | const BC_EXEC_FAILED: i64 = 127 |
| 11 | const BC_CAPTURE_FAILED: i64 = 125 |
| 12 | const BC_EINTR: i64 = 4 |
| 13 | const BC_BOARD_JSON: *u8 = "knowledge/status/sota_board.json" |
| 14 | const BC_BOARD_LEDGER: *u8 = "knowledge/status/sota_board.ledger" |
functions
| 16 | func bc_prefix_ok(prefix: *u8) -> i64 |
| 36 | func bc_equal(before: *u8, bn: i64, after: *u8, an: i64) -> i64 |
| 45 | func bc_capture(elf: *u8, domain: *u8, out: *u8) -> i64 |
| 72 | func bc_case(elf: *u8, prefix: *u8, suffix: *u8, domain: *u8, expected_rc: i64, marker: *u8, ctr: *i64) -> i64 |
| 96 | func bc_artifact(elf: *u8, prefix: *u8, ctr: *i64) -> i64 |
| 153 | func main(argc: i64, argv: *i64) -> i64 |