Comment 8 for bug 1452239

Martin Pitt (pitti) wrote :

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