{
    "mode": "man",
    "parameter": "proc_pid_syscall",
    "section": "5",
    "url": "https://www.chedong.com/phpMan.php/man/proc_pid_syscall/5/json",
    "generated": "2026-10-07T21:09:51Z",
    "sections": {
        "NAME": {
            "content": "/proc/pid/syscall - currently executed system call\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "/proc/pid/syscall (since Linux 2.6.27)\nThis  file  exposes  the system call number and argument registers for the system call\ncurrently being executed by the process, followed by the values of the  stack  pointer\nand  program counter registers.  The values of all six argument registers are exposed,\nalthough most system calls use fewer registers.\n\nIf the process is blocked, but not in a system call, then  the  file  displays  -1  in\nplace  of the system call number, followed by just the values of the stack pointer and\nprogram counter.  If process is not blocked, then the file contains  just  the  string\n\"running\".\n\nThis  file  is  present only if the kernel was configured with CONFIGHAVEARCHTRACE‐\nHOOK.\n\nPermission to access this file is governed by a  ptrace  access  mode  PTRACEMODEAT‐\nTACHFSCREDS check; see ptrace(2).\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "proc(5)\n\nLinux man-pages 6.7                          2023-08-15                          procpidsyscall(5)",
            "subsections": []
        }
    },
    "summary": "/proc/pid/syscall - currently executed system call",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "proc",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/proc/5/json"
        }
    ]
}