| 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_mem 5 2026-02-08 "Linux man-pages 6.18" |
| 8 |
.SH NAME |
| 9 |
/proc/pid/mem \- memory |
| 10 |
.SH DESCRIPTION |
| 11 |
.TP |
| 12 |
.IR /proc/ pid /mem |
| 13 |
This file can be used to access the pages of a process's memory through |
| 14 |
.BR open (2), |
| 15 |
.BR read (2), |
| 16 |
and |
| 17 |
.BR lseek (2). |
| 18 |
.IP |
| 19 |
Permission to access this file is governed by a ptrace access mode |
| 20 |
.B PTRACE_MODE_ATTACH_FSCREDS |
| 21 |
check; |
| 22 |
see |
| 23 |
.BR ptrace (2). |
| 24 |
.SH SEE ALSO |
| 25 |
.BR proc (5) |