musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2019年01月23日 20:50:55 +0000
committerRich Felker <dalias@aerifal.cx>2019年03月13日 12:33:04 -0400
commit13c73da72f4c0926c82ce46964afc40c41cc7025 (patch)
tree8aefb3d8f4dea87ca64d9128b386ace1d4a77a77
parent0b026bbd69ac4f35e08b9ab800b7467eba7cb414 (diff)
downloadmusl-13c73da72f4c0926c82ce46964afc40c41cc7025.tar.gz
sys/prctl.h: add PR_SPEC_INDIRECT_BRANCH from linux v4.20
prctls to allow per task control of indirect branch speculation on x86. added in linux commit 9137bb27e60e554dab694eafa4cca241fa3a694f
Diffstat
-rw-r--r--include/sys/prctl.h 1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/prctl.h b/include/sys/prctl.h
index af76408c..07a3490b 100644
--- a/include/sys/prctl.h
+++ b/include/sys/prctl.h
@@ -139,6 +139,7 @@ struct prctl_mm_map {
#define PR_GET_SPECULATION_CTRL 52
#define PR_SET_SPECULATION_CTRL 53
#define PR_SPEC_STORE_BYPASS 0
+#define PR_SPEC_INDIRECT_BRANCH 1
#define PR_SPEC_NOT_AFFECTED 0
#define PR_SPEC_PRCTL (1UL << 0)
#define PR_SPEC_ENABLE (1UL << 1)
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月03日 02:34:50 +0000

AltStyle によって変換されたページ (->オリジナル) /