dll注入、ring0、ring3...都是Windows特定的概念吗?

发布于 2024-09-02 09:42:49 字数 24 浏览 2 评论 0原文

它们存在于 Linux 平台上吗?

Do they exist on linux platforms?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

离去的眼神 2024-09-09 09:42:49

环是 x86 处理器架构术语,其中处理器可以以称为“优先级”的四种不同操作模式之一执行,编号为 0 到 3。优先级 0 允许在 CPU 上执行任何操作,而优先级 3 是最优先的。受限制 - 有些指令无法在优先级三上执行。 .DLL

注入不特定于任何操作系统。

Rings are x86 processor architecture terminology, in which the processor can execute in one of four different operating modes called "priority levels, numbered zero to three. Priority level zero is allowed to perform any operation on the CPU, while priority level three is the most restricted - there are some instructions that cannot be executed at priority level three. Ref.

DLL injection is not specific to any operating system.

薯片软お妹 2024-09-09 09:42:49

嗯,DLL注入不是Windows特有的概念,Linux也可以做到,而且可能稍微简单一些。 (请参阅http://en.wikipedia.org/wiki/DLL_injection)。此外,IIRC 这三个“环”是 x86 特定的概念(不依赖于操作系统)。所以回答你的问题,不,这些都不是 Windows 特定的。

Well, DLL injection is not a Windows-specific concept, Linux can do it too, and it might be slightly simpler. (See http://en.wikipedia.org/wiki/DLL_injection). Also, IIRC the three "rings" are an x86 specific concept (not OS dependent). So to answer your question, no, none of these things is Windows specific.

风苍溪 2024-09-09 09:42:49

正如维基百科条目所解释的那样,概念是一个非常通用的概念。具体到Linux,它说:

Linux和Windows是两种操作系统
使用管理员/用户模式的系统。
为了执行专门的功能,
用户模式代码必须执行系统
调用主管模式,甚至
可信代码所在的内核空间
操作系统将执行
需要的任务并将其返回给用户
空间。

其他操作系统(正如本文再次提到的那样,请参阅其他文章以获取更多详细信息)可以使用不同的安全体系结构(尤其是基于功能的体系结构)。

The ring concept is a very general one, as the wikipedia entry explains. Re Linux specifically, it says:

Linux and Windows are two operating
systems that use supervisor/user-mode.
To perform specialized functions,
user-mode code must perform a system
call into supervisor mode or even to
the kernel space where trusted code of
the operating system will perform the
needed task and return it back to user
space.

Other operating systems (as, again, the article mentions, pointing to other articles for more details) can use different security architectures (esp. capability-based ones).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文