Skip to main content

sys_set_robust_list

Function sys_set_robust_list 

Source
pub fn sys_set_robust_list(head: u64, len: usize) -> Result<u64, SyscallError>
Expand description

SYS_SET_ROBUST_LIST (610): Register the robust list head for the current task.

§Arguments

  • head - Pointer to a userspace robust_list_head structure
  • len - Size of the robust_list_head structure (must be >= 24 on x86_64)

§Returns

  • 0 on success
  • -EINVAL if len is invalid