<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://gentoo-zh.org/extern.php?action=feed&amp;tid=749&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Gentoo中文社区 / Linux/x86 6.6.13 内核配置选项 -- Mitigations for speculative execution vulne]]></title>
		<link>http://www.gentoo-zh.org/viewtopic.php?id=749</link>
		<description><![CDATA[Linux/x86 6.6.13 内核配置选项 -- Mitigations for speculative execution vulne 最近发表的帖子。]]></description>
		<lastBuildDate>Sun, 11 Feb 2024 07:30:01 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Linux/x86 6.6.13 内核配置选项 -- Mitigations for speculative execution vulne]]></title>
			<link>http://www.gentoo-zh.org/viewtopic.php?pid=864#p864</link>
			<description><![CDATA[<p>[ ]&#160; &#160;Remove the kernel mapping in user mode<br />翻译:在用户模式下删除内核映射 <br />说明:是一种将Highmem页面映射到内核空间的技术</p><p>[ ]&#160; &#160;Avoid speculative indirect branches in kernel<br />翻译:避免内核中的推测性间接分支<br />说明:待确定作用</p><p>[ ]&#160; &#160; &#160;Enable return-thunks<br />翻译:启用返回thunks<br />说明:Thunk 的编程思维与原生 Promise 是一致的，原生 Promise 能实现的异步业务组合，Thunk 都能实现。区别有以下几点：</p><p>&#160; &#160; 原生 Promise 出现在 ES6，Thunk 没有使用特别的 JS 特性，ES3 下都能完美运行。<br />&#160; &#160; Promise 封装出来的是个对象，异步业务隐藏在 promise 对象中，promise对象的方法或属性值可能被改写（入侵）；Thunk 封装出来是一个 thunk 函数，异步业务隐藏在函数里，对外而言就是一个黑盒，不会受到外部的入侵。<br />&#160; &#160; Promise 通常自称符合函数式编程，但 Thunk 更符合函数式编程，而且是标准的 CPS 风格。<br />&#160; &#160; 功能同样强大，但 Thunk 的 API 更简洁一致，Thunk 封装也更简洁。<br />&#160; &#160; Thunk 拥有完美的 debug 模式，Promise 好像没有？<br />&#160; &#160; Thunk 的性能是原生 Promise 的4倍。</p><p>关于 Thunk 的 demo，可以看看 examples，用超乎你想象的简洁方式进行异步编程。</p><p>[ ] Enable UNRET on kernel entry<br />翻译:对内核条目启用UNRET<br />说明:待确定作用</p><p>[ ]&#160; &#160;Mitigate RSB underflow with call depth tracking<br />翻译:通过呼叫深度跟踪减少RSB下溢<br />说明:待确定作用</p><p>[ ]&#160; &#160; &#160;Enable call thunks and call depth tracking debugging<br />翻译:启用调用thunks和调用深度跟踪调试<br />说明:待确定作用</p><p>[ ]&#160; &#160;Enable IBPB on kernel entry<br />翻译:在内核条目上启用IBPB<br />说明:待确定作用</p><p>[ ]&#160; &#160;Enable IBRS on kernel entry<br />翻译:在内核条目上启用IBRS<br />说明:待确定作用</p><p>[ ]&#160; &#160;Mitigate speculative RAS overflow on AMD<br />翻译:缓解AMD上的推测性RAS溢出<br />说明:待确定作用</p><p>[ ]&#160; &#160;Mitigate Straight-Line-Speculation<br />翻译:减少直线推测<br />说明:straight-line speculation 漏洞的保护机制</p><p>[ ]&#160; &#160;Force GDS Mitigation<br />翻译:强制GDS缓解<br />说明:待确定作用</p><p>附注：<br />参考一下网站：<br /><a href="https://access.redhat.com/documentation/zh-cn/red_hat_enterprise_linux/9/html/9.2_release_notes/kernel_parameters_changes" rel="nofollow">https://access.redhat.com/documentation … rs_changes</a><br /><a href="https://blog.csdn.net/Linux_Everything/article/details/122207171" rel="nofollow">https://blog.csdn.net/Linux_Everything/ … /122207171</a></p>]]></description>
			<author><![CDATA[dummy@example.com (batsom)]]></author>
			<pubDate>Sun, 11 Feb 2024 07:30:01 +0000</pubDate>
			<guid>http://www.gentoo-zh.org/viewtopic.php?pid=864#p864</guid>
		</item>
	</channel>
</rss>
