# proc_pid_seccomp - secure computing mode - man(5) - [phpMan]

[_proc_pid_seccomp_(5)](https://www.chedong.com/phpMan.php/man/procpidseccomp/5/markdown)                      File Formats Manual                     [_proc_pid_seccomp_(5)](https://www.chedong.com/phpMan.php/man/procpidseccomp/5/markdown)

## NAME
       /proc/pid/seccomp - secure computing mode

## DESCRIPTION
       _/proc/_pid_/seccomp_ (Linux 2.6.12 to Linux 2.6.22)
              This file can be used to read and change the process's secure computing (seccomp) mode
              setting.   It contains the value 0 if the process is not in seccomp mode, and 1 if the
              process is in strict seccomp mode (see [**seccomp**(2)](https://www.chedong.com/phpMan.php/man/seccomp/2/markdown)).  Writing 1 to this file places the
              process irreversibly in strict seccomp mode.  (Further attempts to write to  the  file
              fail with the **EPERM **error.)

              In  Linux  2.6.23,  this file went away, to be replaced by the [**prctl**(2)](https://www.chedong.com/phpMan.php/man/prctl/2/markdown) **PR_GET_SECCOMP**
              and **PR_SET_SECCOMP **operations (and later  by  [**seccomp**(2)](https://www.chedong.com/phpMan.php/man/seccomp/2/markdown)  and  the  _Seccomp_  field  in
              _/proc/_pid_/status_).

## SEE ALSO
       [**proc**(5)](https://www.chedong.com/phpMan.php/man/proc/5/markdown)

Linux man-pages 6.7                          2023-08-15                          [_proc_pid_seccomp_(5)](https://www.chedong.com/phpMan.php/man/procpidseccomp/5/markdown)
