Does $cmd work if you paste it into the shell?
Nothing wrong with that subroutine aside from shell interpolation vulnerability, which wouldn't be triggered by these strings (no meta characters)
src_line_info( '/auto/stbu-tools/wrlinux/wrl6/wrlinux-6/layers/binary-toolchain-4.8- +39/bin/i686-wrs-linux-gnu-addr2line', '/auto/pix-asa-image/essen/9.4.2.11/smp', );
If $cmd works from shell but not from src_line_info, then other part of program must use setuid to change the user, or the user running the program isn't the same one as your shell
In reply to Re: xargs error using open cmd for output with redirected input file (setuid)
by Anonymous Monk
in thread xargs error using open cmd for output with redirected input file
by cben
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |