Guide agents through tracing system calls with strace and library calls with ltrace — the most effective tools for diagnosing incorrect binary behaviour without a crash or debugger.
| file | open, openat, stat, access, unlink, rename, ... | | network | socket, connect, bind, accept, send, recv, ... | | process | fork, exec, wait, clone, exit, ... | | memory | mmap, munmap, mprotect, brk, ... | | signal | kill, sigaction, sigprocmask, ... | | ipc | pipe, socket pair, shmget, ... | | desc | close, dup, poll, select, epoll, ... |
| ENOENT | No such file or directory | Config file missing, wrong path | | EACCES | Permission denied | File permissions, SELinux | | EPERM | Operation not permitted | Missing capability, suid needed | | EADDRINUSE | Address already in use | Port already bound | | ETIMEDOUT | Connection timed out | Network unreachable, firewall |