Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • 2
    open isn't the only relevant system call. For example it is possible to pass file descriptors between processes over a unix socket, and there is the openat system call which can also open a file. Commented Jan 27, 2018 at 17:47
  • ---- SIGUSR1 {si_signo=SIGUSR1, si_code=SI_TKILL, si_pid=6026, si_uid=1002} ---- whats that Commented Jan 28, 2018 at 6:55
  • kaspers, do I only need to search for 'openat' at the strace output command? Commented Jan 29, 2018 at 5:33
  • Trying open a file (but the file may not be exist) is displayed in the 'strace' outputs too? Commented Jan 29, 2018 at 5:41
  • Boll19, files that fail to open due to them not existing are happily reported within strace, see the ENOENT lines in the example. Commented Feb 3, 2018 at 13:44