Re: [PATCH] linux-user: Use EPROTONOSUPPORT for unimplemented netlink protocols

2020-07-13 Thread Laurent Vivier
Le 07/07/2020 à 02:10, Josh Kunz a écrit : > Linux uses the EPROTONOSUPPORT error code[1] if the users requests a > netlink socket with an unsupported netlink protocol. This change > switches linux-user to use the same code as Linux, instead of > EPFNOSUPPORT (which AFAIK is just an anachronistic

Re: [PATCH] linux-user: Use EPROTONOSUPPORT for unimplemented netlink protocols

2020-07-07 Thread Laurent Vivier
Le 07/07/2020 à 02:10, Josh Kunz a écrit : > Linux uses the EPROTONOSUPPORT error code[1] if the users requests a > netlink socket with an unsupported netlink protocol. This change > switches linux-user to use the same code as Linux, instead of > EPFNOSUPPORT (which AFAIK is just an anachronistic

[PATCH] linux-user: Use EPROTONOSUPPORT for unimplemented netlink protocols

2020-07-06 Thread Josh Kunz
Linux uses the EPROTONOSUPPORT error code[1] if the users requests a netlink socket with an unsupported netlink protocol. This change switches linux-user to use the same code as Linux, instead of EPFNOSUPPORT (which AFAIK is just an anachronistic version of EAFNOSUPPORT). Tested by compiling all