all: setuid-toctou
clean:
sudo rm -f setuid-toctou
# file must be owned by root, hence we `chown`
setuid-toctou:
gcc setuid-toctou.c -o setuid-toctou &&\
chmod u+s ./setuid-toctou &&\
sudo chown root:root ./setuid-toctou