2 * "...we will have peace, when you and all your works have perished--and
3 * the works of your dark master to whom you would deliver us. You are a
4 * liar, Saruman, and a corrupter of men's hearts." --Theoden
15 croak("No %s allowed while running setuid", s);
17 croak("No %s allowed while running setgid", s);
26 DEBUG_u(fprintf(stderr,"%s %d %d %d\n",s,tainted,uid, euid));
30 ug = " while running setuid";
32 ug = " while running setgid";
34 ug = " while running with -T switch";
52 svp = hv_fetch(GvHVn(envgv),"PATH",4,FALSE);
53 if (!svp || *svp == &sv_undef ||
54 ((mg = mg_find(*svp, 't')) && mg->mg_len & 1))
57 if (mg && MgTAINTEDDIR(mg))
58 taint_proper("Insecure directory in %s%s", "$ENV{PATH}");
60 taint_proper("Insecure %s%s", "$ENV{PATH}");
62 svp = hv_fetch(GvHVn(envgv),"IFS",3,FALSE);
63 if (svp && *svp != &sv_undef &&
64 (mg = mg_find(*svp, 't')) && mg->mg_len & 1)
67 taint_proper("Insecure %s%s", "$ENV{IFS}");