https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259625

Drew DeVault <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #229240|text/x-log                  |text/plain
          mime type|                            |

--- Comment #2 from Drew DeVault <[email protected]> ---
Created attachment 229240
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=229240&action=edit
truss log reproducing the error

(In reply to Konstantin Belousov from comment #1)
I attached my own truss log. The only difference I see is the expected one:
openat fails.

I used truss -f ./a.out 2>log to obtain this file, which shows the two pids in
the output. I noticed these are missing from yours: how did you obtain your
truss log? Note that simply running ./test.sh works fine as expected.

Additional notes:

Updating the interpreter to #!/bin/ls -l gives the following:

cr-xr-xr-x  1 root  wheel  0x6 Nov  3 11:34 /dev/fd/3

So, the file (1) exists, and (2) is readable, so the EACCESS doesn't make
sense.

Using #!/bin/cat gives the same error as #!/bin/sh.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to