Enabling no_new_privs/NoNewPrivs, disabling setuid on Linux
Setuid binaries are not dangerous in themselves, but can lead to a security nightmare if they have vulnerabilities. The no_new_privs flag from the kernel effectively disables setuid binaries. This article explains how a Linux system with no_new_privs enabled by default can work.
Thorsten Kukuk