zx_restricted_unbind_state

总结

解除受限状态 VMO 与当前线程的绑定。

声明

#include <zircon/syscalls-next.h>

zx_status_t zx_restricted_unbind_state(uint32_t options);

说明

取消绑定任何可能绑定到调用线程的受限状态 VMO。

另请参阅 zx_restricted_bind_state()

在没有绑定 VMO 的线程上调用 unbind 不会出错。

options 必须为零。

权限

无。

错误

ZX_ERR_INVALID_ARGS options 是 0 以外的任何值。

另请参阅