DF-1215 / run.sh
#!/bin/sh # DF-1215 run script - attempts to open /dev/bktr0 and trigger METEORSVIDEO. # On real hardware with a Brooktree bt848 PCI video capture card present, # this opens /dev/bktr0 O_RDONLY (mode 0444, world-readable), sets # video.addr = 0x100000 (arbitrary physical address), and starts continuous # capture -- the bt848 then DMA-writes captured video frames to phys 0x100000. # On the audit guest: /dev/bktr0 does NOT exist (QEMU lacks bt848 PCI), so # the open fails with ENOENT and the primitive is not exercisable here. cd "$(dirname "$0")" echo "+ ./poc_physdma" ./poc_physdma echo "RC=$?" |