Andreas Kling
308773ffda
Kernel/Net: Add a special SOCKET_TRY() and use it in socket code
...
Sockets remember their last error code in the SO_ERROR field, so we need
to take special care to remember this when returning an error.
This patch adds a SOCKET_TRY() that works like TRY() but also calls
set_so_error() on the failure path.
There's probably a lot more code that should be using this, but that's
outside the scope of this patch.
2021-09-07 15:05:51 +02:00
..
2021-04-22 11:22:27 +02:00
2021-09-07 13:47:37 +02:00
2021-08-23 01:07:45 +02:00
2021-09-07 13:47:37 +02:00
2021-08-23 01:07:45 +02:00
2021-04-22 11:22:27 +02:00
2021-04-22 11:22:27 +02:00
2021-09-05 20:08:57 +02:00
2021-09-05 20:08:57 +02:00
2021-09-07 15:05:51 +02:00
2021-09-07 13:53:14 +02:00
2021-08-07 11:48:00 +02:00
2021-09-07 15:05:51 +02:00
2021-09-07 13:53:14 +02:00
2021-07-11 18:00:31 +02:00
2021-08-03 10:20:51 +02:00
2021-09-07 13:47:37 +02:00
2021-08-23 01:07:45 +02:00
2021-09-06 01:53:26 +02:00
2021-08-03 18:54:23 +02:00
2021-09-07 13:47:37 +02:00
2021-08-06 14:05:58 +02:00
2021-09-07 14:44:29 +02:00
2021-04-30 23:11:56 +02:00
2021-09-05 01:10:56 +02:00
2021-09-03 23:18:50 +02:00
2021-09-07 13:47:37 +02:00
2021-08-23 01:07:45 +02:00
2021-09-07 13:47:37 +02:00
2021-09-05 20:08:57 +02:00
2021-09-07 14:55:44 +02:00
2021-09-07 15:05:51 +02:00
2021-09-05 20:08:57 +02:00
2021-09-07 15:05:51 +02:00
2021-09-07 14:44:29 +02:00
2021-04-22 11:22:27 +02:00
2021-09-07 15:05:51 +02:00
2021-09-07 13:53:14 +02:00