Function sys_handle_query

Source
pub fn sys_handle_query(trapframe: &mut Trapframe) -> usize
Expand description

sys_handle_query - Get information about a KernelObject handle

This system call allows user space to discover the type and capabilities of a KernelObject, enabling type-safe wrapper implementations.

§Arguments

  • handle: The handle to query
  • info_ptr: Pointer to KernelObjectInfo structure to fill

§Returns

  • 0 on success
  • usize::MAX on error