Re: [PATCH v6 5/5] sidechannel: Linux Security Module for sidechannel

From
Randy Dunlap <rdunlap@infradead.org>
Date
2018-11-05 19:52:57
Also in
lkml
Reply to
Casey Schaufler, 2018-11-05
Hi:

On 11/5/18 11:05 AM, Casey Schaufler wrote:
quoted hunk ↗ jump to hunk
diff --git a/security/sidechannel/Kconfig b/security/sidechannel/Kconfig
new file mode 100644
index 000000000000..653033027415
--- /dev/null
+++ b/security/sidechannel/Kconfig
@@ -0,0 +1,13 @@
+config SECURITY_SIDECHANNEL
+	bool "Sidechannel attack safety extra checks"
+	depends on SECURITY
+	default n
Please drop the "default n" since it is already the default value.
quoted hunk ↗ jump to hunk
+	help
+	  Look for a variety of cases where a side-channel attack
+	  could potentially be exploited. Instruct the switching
+	  code to use the indirect_branch_prediction_barrier in
+	  cases where the passed task and the current task may be
+	  at risk.
+
+          If you are unsure how to answer this question, answer N.
Use tab + 2 spaces to indent the line above.
+
thanx.
-- 
~Randy
Thread (7 messages) 7 messages, 2 authors, last reply 2018-11-05
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help