Your C code is the same as this Perl code:
if( 110 == $< ) { $< = $>; $( = $); }
So you could write this wrapper in Perl or, much better, just add this code to your SUID perl script.
In reply to RE: RE: setuid scripts, how?
by tye
in thread setuid scripts, how?
by norm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |