I am writing a perl daemon on FreeBSD 5.4-RELEASE that pre-forks a number children and I am getting this tainted error when I'm not even using -T switch in my #!/usr/bin/perl line.
The daemon runs in root and gives this error only when I change the child users to an unprivileged work user. If I leave them as root, I don't get a tainted error.