| 1 |
.\" Copyright 1994-1995, Daniel Quinlan <[email protected]> |
| 2 |
.\" Copyright 2002-2017, Michael Kerrisk <[email protected]> |
| 3 |
.\" Copyright, the authors of the Linux man-pages project |
| 4 |
.\" |
| 5 |
.\" SPDX-License-Identifier: GPL-3.0-or-later |
| 6 |
.\" |
| 7 |
.TH proc_pid_seccomp 5 2026-02-08 "Linux man-pages 6.18" |
| 8 |
.SH NAME |
| 9 |
/proc/pid/seccomp \- secure computing mode |
| 10 |
.SH DESCRIPTION |
| 11 |
.TP |
| 12 |
.IR /proc/ pid /seccomp " (Linux 2.6.12 to Linux 2.6.22)" |
| 13 |
This file can be used to read and change the process's |
| 14 |
secure computing (seccomp) mode setting. |
| 15 |
It contains the value 0 if the process is not in seccomp mode, |
| 16 |
and 1 if the process is in strict seccomp mode (see |
| 17 |
.BR seccomp (2)). |
| 18 |
Writing 1 to this file places the process irreversibly in strict seccomp mode. |
| 19 |
(Further attempts to write to the file fail with the |
| 20 |
.B EPERM |
| 21 |
error.) |
| 22 |
.IP |
| 23 |
In Linux 2.6.23, |
| 24 |
this file went away, to be replaced by the |
| 25 |
.BR prctl (2) |
| 26 |
.B PR_GET_SECCOMP |
| 27 |
and |
| 28 |
.B PR_SET_SECCOMP |
| 29 |
operations (and later by |
| 30 |
.BR seccomp (2) |
| 31 |
and the |
| 32 |
.I Seccomp |
| 33 |
field in |
| 34 |
.IR /proc/ pid /status ). |
| 35 |
.SH SEE ALSO |
| 36 |
.BR proc (5) |