mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-03 06:40:05 +00:00
Kernel: Remove SmapDisabler in bind()
This commit is contained in:
parent
2d7ae42f75
commit
1434f30f92
Notes:
sideshowbarker
2024-07-19 10:12:23 +09:00
Author: https://github.com/awesomekling
Commit: 1434f30f92
3 changed files with 18 additions and 14 deletions
|
@ -2808,7 +2808,6 @@ int Process::sys$bind(int sockfd, const sockaddr* address, socklen_t address_len
|
|||
return -EBADF;
|
||||
if (!description->is_socket())
|
||||
return -ENOTSOCK;
|
||||
SmapDisabler disabler;
|
||||
auto& socket = *description->socket();
|
||||
return socket.bind(address, address_length);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue