| .\" Copyright (C) 1994, 1995, Daniel Quinlan <quinlan@yggdrasil.com> |
| .\" Copyright (C) 2002-2008, 2017, Michael Kerrisk <mtk.manpages@gmail.com> |
| .\" Copyright (C) 2023, Alejandro Colomar <alx@kernel.org> |
| .\" |
| .\" SPDX-License-Identifier: GPL-3.0-or-later |
| .\" |
| .TH proc_pid_mem 5 (date) "Linux man-pages (unreleased)" |
| .SH NAME |
| /proc/pid/mem \- memory |
| .SH DESCRIPTION |
| .TP |
| .IR /proc/ pid /mem |
| This file can be used to access the pages of a process's memory through |
| .BR open (2), |
| .BR read (2), |
| and |
| .BR lseek (2). |
| .IP |
| Permission to access this file is governed by a ptrace access mode |
| .B PTRACE_MODE_ATTACH_FSCREDS |
| check; see |
| .BR ptrace (2). |
| .SH SEE ALSO |
| .BR proc (5) |