Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix the issues with sys_getsockopt
  • Loading branch information
HeartLinked committed Feb 10, 2025
commit 3782d9455d18846af71ddac650616856eb1951e2
1 change: 0 additions & 1 deletion api/ruxos_posix_api/src/imp/net.rs
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,6 @@ pub fn sys_getsockopt(
);
}
syscall_body!(sys_getsockopt, {
return Ok(0);
if optval.is_null() {
return Err(LinuxError::EFAULT);
}
Expand Down