K Lange
K Lange
The usual way I prevent silly mistakes by explorative users is to require a `--really` argument on things that shouldn't be manual run. With `migrate`, I think a better option...
The main way would be to look at `/proc/mounts`, though the current format is a bit awkward for parsing, especially with the tree layout.
I should have mentioned I am thinking of improving the formatting of `/proc/mounts`, so relying on the current formatting is not a good idea either. Nothing else currently depends on...
I might mirror to codeberg. Github isn't even technically the main upstream for ToaruOS - my own server is, it's just not public. No worries!
Notably, the function that should have been doing this is here: https://github.com/klange/toaruos/blob/28190adf4cdda25950df2e7e0c69ebc638877b51/kernel/net/socket.c#L283 Use of `msg_name` would have been introduced when `recvfrom` was implemented: https://github.com/klange/toaruos/commit/18b802d7ee41b262ef239630c7d53828d5cc39f3 ICMP sockets should have the same...
Thanks for the PR, I'll take a look at it after my New Year's obligations have concluded in a few days. > To fix this issue, the user `msghdr` should...