Oh, sorry. setuid() is from POSIX.pm. I omitted the script header, which includes "use POSIX qw(setuid);"
I actually think maybe I shot myself in the foot here by trying to do setuid operations that were probably unnecessary since I was already running with setuid/setgid bits. A case of overthinking the problem.
In reply to Re^2: An odd failure of setuid(0)
by Llew_Llaw_Gyffes
in thread An odd failure of setuid(0)
by Llew_Llaw_Gyffes
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |