diff options
author | Waiman Long <longman@redhat.com> | 2018-10-23 17:25:51 -0400 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2018-11-07 17:27:33 -0500 |
commit | f8d0dc21d409c0ecb921f4ae1ab3e0763a26c979 (patch) | |
tree | 7b89badc52f3074dcef6b82eb9af5873aab1361b | |
parent | 1afc5fb5f6b146084d569f0c216bf6f753af7705 (diff) |
Documentation/proc.txt: Add 2 missing fields for /proc/<pid>/status
It was found that two of the fields in the /proc/<pid>/status file were
missing - CapAmb & Speculation_Store_Bypass. They are now added to the
proc.txt documentation file.
v2: Update the example as well.
Signed-off-by: Waiman Long <longman@redhat.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
-rw-r--r-- | Documentation/filesystems/proc.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt index 12a5e6e693b6..a078efad9957 100644 --- a/Documentation/filesystems/proc.txt +++ b/Documentation/filesystems/proc.txt | |||
@@ -193,8 +193,10 @@ read the file /proc/PID/status: | |||
193 | CapPrm: 0000000000000000 | 193 | CapPrm: 0000000000000000 |
194 | CapEff: 0000000000000000 | 194 | CapEff: 0000000000000000 |
195 | CapBnd: ffffffffffffffff | 195 | CapBnd: ffffffffffffffff |
196 | CapAmb: 0000000000000000 | ||
196 | NoNewPrivs: 0 | 197 | NoNewPrivs: 0 |
197 | Seccomp: 0 | 198 | Seccomp: 0 |
199 | Speculation_Store_Bypass: thread vulnerable | ||
198 | voluntary_ctxt_switches: 0 | 200 | voluntary_ctxt_switches: 0 |
199 | nonvoluntary_ctxt_switches: 1 | 201 | nonvoluntary_ctxt_switches: 1 |
200 | 202 | ||
@@ -214,7 +216,7 @@ asynchronous manner and the value may not be very precise. To see a precise | |||
214 | snapshot of a moment, you can see /proc/<pid>/smaps file and scan page table. | 216 | snapshot of a moment, you can see /proc/<pid>/smaps file and scan page table. |
215 | It's slow but very precise. | 217 | It's slow but very precise. |
216 | 218 | ||
217 | Table 1-2: Contents of the status files (as of 4.8) | 219 | Table 1-2: Contents of the status files (as of 4.19) |
218 | .............................................................................. | 220 | .............................................................................. |
219 | Field Content | 221 | Field Content |
220 | Name filename of the executable | 222 | Name filename of the executable |
@@ -267,8 +269,10 @@ Table 1-2: Contents of the status files (as of 4.8) | |||
267 | CapPrm bitmap of permitted capabilities | 269 | CapPrm bitmap of permitted capabilities |
268 | CapEff bitmap of effective capabilities | 270 | CapEff bitmap of effective capabilities |
269 | CapBnd bitmap of capabilities bounding set | 271 | CapBnd bitmap of capabilities bounding set |
272 | CapAmb bitmap of ambient capabilities | ||
270 | NoNewPrivs no_new_privs, like prctl(PR_GET_NO_NEW_PRIV, ...) | 273 | NoNewPrivs no_new_privs, like prctl(PR_GET_NO_NEW_PRIV, ...) |
271 | Seccomp seccomp mode, like prctl(PR_GET_SECCOMP, ...) | 274 | Seccomp seccomp mode, like prctl(PR_GET_SECCOMP, ...) |
275 | Speculation_Store_Bypass speculative store bypass mitigation status | ||
272 | Cpus_allowed mask of CPUs on which this process may run | 276 | Cpus_allowed mask of CPUs on which this process may run |
273 | Cpus_allowed_list Same as previous, but in "list format" | 277 | Cpus_allowed_list Same as previous, but in "list format" |
274 | Mems_allowed mask of memory nodes allowed to this process | 278 | Mems_allowed mask of memory nodes allowed to this process |