Re: [PATCH v5 4/6] 9pfs: fix wrong errno being sent to Linux client on macOS host

2022-04-29 Thread Bin Meng
On Fri, Apr 29, 2022 at 11:16 PM Christian Schoenebeck wrote: > > On Freitag, 29. April 2022 16:16:54 CEST Bin Meng wrote: > > On Fri, Apr 29, 2022 at 9:48 PM Christian Schoenebeck > > > > wrote: > > > On Freitag, 29. April 2022 15:29:15 CEST Greg Kurz wrote: > > > > On Fri, 29 Apr 2022 21:19:51

Re: [PATCH v5 4/6] 9pfs: fix wrong errno being sent to Linux client on macOS host

2022-04-29 Thread Christian Schoenebeck
On Freitag, 29. April 2022 16:16:54 CEST Bin Meng wrote: > On Fri, Apr 29, 2022 at 9:48 PM Christian Schoenebeck > > wrote: > > On Freitag, 29. April 2022 15:29:15 CEST Greg Kurz wrote: > > > On Fri, 29 Apr 2022 21:19:51 +0800 > > > > > > Bin Meng wrote: > > > > On Fri, Apr 29, 2022 at 9:08 PM

Re: [PATCH v5 4/6] 9pfs: fix wrong errno being sent to Linux client on macOS host

2022-04-29 Thread Bin Meng
On Fri, Apr 29, 2022 at 9:48 PM Christian Schoenebeck wrote: > > On Freitag, 29. April 2022 15:29:15 CEST Greg Kurz wrote: > > On Fri, 29 Apr 2022 21:19:51 +0800 > > > > Bin Meng wrote: > > > On Fri, Apr 29, 2022 at 9:08 PM Greg Kurz wrote: > > > > On Fri, 29 Apr 2022 14:46:26 +0200 > > > > > >

Re: [PATCH v5 4/6] 9pfs: fix wrong errno being sent to Linux client on macOS host

2022-04-29 Thread Christian Schoenebeck
On Freitag, 29. April 2022 15:29:15 CEST Greg Kurz wrote: > On Fri, 29 Apr 2022 21:19:51 +0800 > > Bin Meng wrote: > > On Fri, Apr 29, 2022 at 9:08 PM Greg Kurz wrote: > > > On Fri, 29 Apr 2022 14:46:26 +0200 > > > > > > Christian Schoenebeck wrote: > > > > On Freitag, 29. April 2022 13:28:39

Re: [PATCH v5 4/6] 9pfs: fix wrong errno being sent to Linux client on macOS host

2022-04-29 Thread Greg Kurz
On Fri, 29 Apr 2022 21:19:51 +0800 Bin Meng wrote: > On Fri, Apr 29, 2022 at 9:08 PM Greg Kurz wrote: > > > > On Fri, 29 Apr 2022 14:46:26 +0200 > > Christian Schoenebeck wrote: > > > > > On Freitag, 29. April 2022 13:28:39 CEST Bin Meng wrote: > > > > On Fri, Apr 29, 2022 at 7:16 PM Christian

Re: [PATCH v5 4/6] 9pfs: fix wrong errno being sent to Linux client on macOS host

2022-04-29 Thread Bin Meng
On Fri, Apr 29, 2022 at 9:08 PM Greg Kurz wrote: > > On Fri, 29 Apr 2022 14:46:26 +0200 > Christian Schoenebeck wrote: > > > On Freitag, 29. April 2022 13:28:39 CEST Bin Meng wrote: > > > On Fri, Apr 29, 2022 at 7:16 PM Christian Schoenebeck > > > > > > wrote: > > > > Linux and macOS only share

Re: [PATCH v5 4/6] 9pfs: fix wrong errno being sent to Linux client on macOS host

2022-04-29 Thread Greg Kurz
On Fri, 29 Apr 2022 14:46:26 +0200 Christian Schoenebeck wrote: > On Freitag, 29. April 2022 13:28:39 CEST Bin Meng wrote: > > On Fri, Apr 29, 2022 at 7:16 PM Christian Schoenebeck > > > > wrote: > > > Linux and macOS only share some errno definitions with equal macro > > > name and value. In f

Re: [PATCH v5 4/6] 9pfs: fix wrong errno being sent to Linux client on macOS host

2022-04-29 Thread Christian Schoenebeck via
On Freitag, 29. April 2022 13:28:39 CEST Bin Meng wrote: > On Fri, Apr 29, 2022 at 7:16 PM Christian Schoenebeck > > wrote: > > Linux and macOS only share some errno definitions with equal macro > > name and value. In fact most mappings for errno are completely > > different on the two systems. >

Re: [PATCH v5 4/6] 9pfs: fix wrong errno being sent to Linux client on macOS host

2022-04-29 Thread Greg Kurz
On Fri, 29 Apr 2022 19:28:39 +0800 Bin Meng wrote: > On Fri, Apr 29, 2022 at 7:16 PM Christian Schoenebeck > wrote: > > > > Linux and macOS only share some errno definitions with equal macro > > name and value. In fact most mappings for errno are completely > > different on the two systems. > >

Re: [PATCH v5 4/6] 9pfs: fix wrong errno being sent to Linux client on macOS host

2022-04-29 Thread Bin Meng
On Fri, Apr 29, 2022 at 7:16 PM Christian Schoenebeck wrote: > > Linux and macOS only share some errno definitions with equal macro > name and value. In fact most mappings for errno are completely > different on the two systems. > > This patch converts some important errno values from macOS host t

[PATCH v5 4/6] 9pfs: fix wrong errno being sent to Linux client on macOS host

2022-04-29 Thread Christian Schoenebeck
Linux and macOS only share some errno definitions with equal macro name and value. In fact most mappings for errno are completely different on the two systems. This patch converts some important errno values from macOS host to corresponding Linux errno values before eventually sending such error c