proc_pid_seccomp(5)

๐Ÿ’– NAME ๐Ÿ’–

/proc/pid/seccomp โ€” secure computing mode, bestie ๐Ÿ’…


๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

/proc/pid/seccomp (Linux 2.6.12 to Linux 2.6.22)

Okay so listen, this file was the girl for reading and changing your process's secure computing (seccomp) mode setting. Like, it's giving very simple, very demure, only two moods fr fr:

  • It holds the value 0 if the process is not in seccomp mode
  • It holds the value 1 if the process is in strict seccomp mode (peep seccomp(2) for the lore ๐Ÿ‘€)

And here's the part where you gotta pay attention, no cap: writing 1 to this file drops the process into strict seccomp mode and it is irreversible. Like, permanent permanent. No undo, no take-backs, no "wait bestie I changed my mind" ๐Ÿ˜ญ

Further attempts to write to the file fail with the EPERM error. The door is closed, the lights are off, the vibe is sealed ๐Ÿ’€

Then in Linux 2.6.23? This file went away. Gone. It got replaced by the prctl(2) PR_GET_SECCOMP and PR_SET_SECCOMP operations โ€” and later on, by seccomp(2) and the Seccomp field in /proc/pid/status. She served her era and passed the torch ๐Ÿ‘‘โœจ


๐ŸŒธ SEE ALSO ๐ŸŒธ


that's the whole page, babe โ€” short, iconic, and fully historical ๐ŸŽ€

This was brought to you by Linux man-pages 6.20, dated 2026-02-08, and it lived in the File Formats Manual section as proc_pid_seccomp(5). mwah ๐Ÿ’‹๐Ÿซถ

๐Ÿ“ฆ where this page comes from
  • arch rolling: man-pages 6.20-1 ยท BSD-2-Clause AND BSD-3-Clause AND BSD-4.3TAHOE AND BSD-4-Clause-UC AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-linking-exception AND LGPL-3.0-or-later AND LicenseRef-Public-Domain AND LicenseRef-UltraPermissive AND Linux-man-pages-1-para AND Linux-man-pages-copyleft AND Linux-man-pages-copyleft-2-para AND Linux-man-pages-copyleft-var AND MIT AND Spencer-94
  • nixpkgs unstable: man-pages 6.20
  • ๐Ÿ“œ the page's license: GPL-3.0-or-later
  • ๐Ÿ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms