DF-1109 / build.sh
#!/bin/sh # DF-1109 build: I2CRDWR TOCTOU double-fetch trigger. # NOTE: requires /dev/iicN (an i2c controller + iic.ko loaded) AND root to open # (the node is created 0600 root:wheel). Absent on this guest. set -e cd "$(dirname "$0")" cc -O2 -pthread -o poc_iic_toctou poc_iic_toctou.c echo "built: poc_iic_toctou" |