diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2026-08-30 23:46:27 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2026-09-01 13:56:34 +0000 |
| commit | b3734c1386dd2b0ade1a7f20d9ebf5f62c01819e (patch) | |
| tree | 6d00dfcaa53c55c90c3bfd3eb797129b11212695 /source/Target/ThreadPlanPython.cpp | |
| parent | 326ab530dcabe70ab48728cad0465f35b30dbf60 (diff) | |
tests/sys/kern/procdesc.c: mark grandchild var in pdopenpid_capmode() as volatile
The variable is written in the child process which shares the address
space with the parent. The data flow must not be optimized by a compiler.
Reviewed by: markj
Fixes: ddf62c83fc0a ("sys/tests/kern/pdopenpid: pdopenpid(2) is allowed in cap mode")
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D59282
Diffstat (limited to 'source/Target/ThreadPlanPython.cpp')
0 files changed, 0 insertions, 0 deletions
