In the commit method of the login module, a privileged code clears up the current subject and replaces the principals, and the public and private credentials.
在登录模块的commit方法中,可以使用特权代码清除当前主题并替换相应的主体、公开的和私有的凭据。
Kernel space is flagged in the page tables as exclusive to privileged code (ring 2 or lower), hence a page fault is triggered if user-mode programs try to touch it.
系统内核所使用的内存空间通过特权码(privileged code,2级或者更低)来标记,以防止用户模式的程序访问到内核空间而发生页面错误。
As expected, the program has received a SIGILL (signal number 4) with an si code of 5, which is set when a privileged opcode is executed by a user-space program.
正如我们期望的一样,这个程序会接收到一个SIGILL(信号编号为4)信号,其si代码为5,这是在用户空间的程序执行特权操作时产生的。
应用推荐