Updated patch (against trunk) which more thoroughly suppresses the creation of core files for suid/tainted binaries. New test cases included, too.
For the record, the tests should be run in four modes: as root and user, and with suid_dumpable enabled and disabled:
sudo rm /var/crash/* echo 0 | sudo tee /proc/sys/fs/suid_dumpable sudo test/run signal_crashes && test/run signal_crashes echo 2 | sudo tee /proc/sys/fs/suid_dumpable sudo rm /var/crash/* sudo test/run signal_crashes && test/run signal_crashes
Updated patch (against trunk) which more thoroughly suppresses the creation of core files for suid/tainted binaries. New test cases included, too.
For the record, the tests should be run in four modes: as root and user, and with suid_dumpable enabled and disabled:
sudo rm /var/crash/* fs/suid_ dumpable fs/suid_ dumpable
echo 0 | sudo tee /proc/sys/
sudo test/run signal_crashes && test/run signal_crashes
echo 2 | sudo tee /proc/sys/
sudo rm /var/crash/*
sudo test/run signal_crashes && test/run signal_crashes