strace.1.in: add a note about tracing of scripts without shebang
* strace.1.in (.SH NOTES): Note that tracing of scripts without shebang won't work. Reported-by: Mike Parker Closes: https://github.com/strace/strace/issues/46
This commit is contained in:
parent
e4e34b31ab
commit
07a6399dd6
12
strace.1.in
12
strace.1.in
@ -994,6 +994,18 @@ to the traced process, but a few system calls aren't.
|
||||
Arguably, every instance of such behavior is a kernel bug.)
|
||||
This may have an unpredictable effect on the process
|
||||
if the process takes no action to restart the system call.
|
||||
.LP
|
||||
As
|
||||
.B strace
|
||||
executes the specified
|
||||
.I command
|
||||
directly and does not employ a shell for that, scripts without shebang
|
||||
that usually run just fine when invoked by shell fail to execute with
|
||||
.B ENOEXEC
|
||||
error.
|
||||
It is advisable to manually supply a shell as a
|
||||
.I command
|
||||
with the script as its argument.
|
||||
.SH BUGS
|
||||
Programs that use the
|
||||
.I setuid
|
||||
|
Loading…
x
Reference in New Issue
Block a user