I build the following format in a setuid script with a function I call BuildFormat. The last statement then returns this as a string. When I call eval(BuildFormat()) to cause the format to be defined I get the following error message
Insecure dependency in eval while runing setuid at /dev/fd/3 line 275
I need to build & rebuild this format on the fly several times though out the life of the program. Any suggestions on how to get around?
Thanks Robert Walkupformat STDOUT_TOP = SID SERIAL# USERNAME OSUSER MACHINE PROGRAM PR +OCESS STATUS SPID ---- -------- --------- ------- ----------- ----------------------- -- +------ --------- ------ . format STDOUT = @<<< @<<<<<<< @<<<<<<<< @<<<<<< @<<<<<<<<<< @<<<<<<<<<<<<<<<<<<<<<< @< +<<<<<< @<<<<<<<< @<<<<< $cols[0], $cols[1], $cols[2], $cols[3], $cols[4], $cols[5], $cols[6], +$cols[7], $cols[8] .
In reply to setuid script returning Insecure dependency by rdww
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |