/usr/src/perl/pod/perlfaq8/Why_do_setuid_perl_scripts_compl.pod

Why do setuid perl scripts complain about kernel problems?

Some operating systems have bugs in the kernel that make setuid scripts inherently insecure. Perl gives you a number of options (described in the perlsec manpage) to work around such systems.