为执行越级调用,CALL指令必须包含一个选择符而不是地址,选择符指向一个称为调用门(call gate)的描述符,由它给出被调用过程的地址,因此要跳转到任何一个不同级别的代码段的中间都是不可能的,只有正式指定的入口点可以使用...
基于222个网页-相关网页
FD 3是一个solaris门(高速远程过程调用(rpc)接口),以只读模式打开。
FD 3 is a Solaris door (a high-speed Remote Procedure Call (RPC) interface), opened in read-only mode.
如果在入口点处(或者附近)没有这样的门,那么代码将使用调用者当时持有的任何键来运行。
Without a gate at (or near) an entry point, code would run with whichever keys the caller happened to hold.
替换门也是非常重要的,它可以用于放弃调用者的键;通常在这些情况中,内核就是您的调用者,并且保持对内核内部数据的访问权限是不合理的。
The replace gate is also important in relinquishing the caller's keys; typically the kernel is your caller in these situations, and retaining access to kernel internal data would be inappropriate.
应用推荐