sysdeps/managarm: Stub setsockopt(AF_NETLINK, SO_ERROR)
@@ -308,6 +308,9 @@ int sys_setsockopt(int fd, int layer, int number,
}else if(layer == AF_NETLINK && number == SO_ACCEPTCONN) {
mlibc::infoLogger() << "\e[31mmlibc: setsockopt() call with AF_NETLINK and SO_ACCEPTCONN is unimplemented\e[39m" << frg::endlog;
return 0;
+ }else if(layer == AF_NETLINK && number == SO_ERROR) {
+ mlibc::infoLogger() << "\e[31mmlibc: setsockopt() call with AF_NETLINK and SO_ERROR is unimplemented\e[39m" << frg::endlog;
+ return 0;
}else{
mlibc::panicLogger() << "\e[31mmlibc: Unexpected setsockopt() call, layer: " << layer << " number: " << number << "\e[39m" << frg::endlog;
__builtin_unreachable();
