Re: [PATCH v8 09/11] 9p: darwin: Implement compatibility for mknodat

2022-02-25 Thread Christian Schoenebeck
On Freitag, 25. Februar 2022 17:38:51 CET Will Cohen wrote: > On Fri, Feb 25, 2022 at 11:31 AM Christian Schoenebeck < > > qemu_...@crudebyte.com> wrote: > > On Freitag, 25. Februar 2022 15:00:40 CET Will Cohen wrote: > > > On Tue, Feb 22, 2022 at 9:27 AM Christian Schoenebeck [...] > > > osdep.h

Re: [PATCH v8 09/11] 9p: darwin: Implement compatibility for mknodat

2022-02-25 Thread Will Cohen
On Fri, Feb 25, 2022 at 11:31 AM Christian Schoenebeck < qemu_...@crudebyte.com> wrote: > On Freitag, 25. Februar 2022 15:00:40 CET Will Cohen wrote: > > On Tue, Feb 22, 2022 at 9:27 AM Christian Schoenebeck < > > > > qemu_...@crudebyte.com> wrote: > > > On Sonntag, 20. Februar 2022 17:50:54 CET W

Re: [PATCH v8 09/11] 9p: darwin: Implement compatibility for mknodat

2022-02-25 Thread Christian Schoenebeck
On Freitag, 25. Februar 2022 15:00:40 CET Will Cohen wrote: > On Tue, Feb 22, 2022 at 9:27 AM Christian Schoenebeck < > > qemu_...@crudebyte.com> wrote: > > On Sonntag, 20. Februar 2022 17:50:54 CET Will Cohen wrote: > > > From: Keno Fischer > > > > > > Darwin does not support mknodat. However,

Re: [PATCH v8 09/11] 9p: darwin: Implement compatibility for mknodat

2022-02-25 Thread Will Cohen
On Tue, Feb 22, 2022 at 9:27 AM Christian Schoenebeck < qemu_...@crudebyte.com> wrote: > On Sonntag, 20. Februar 2022 17:50:54 CET Will Cohen wrote: > > From: Keno Fischer > > > > Darwin does not support mknodat. However, to avoid race conditions > > with later setting the permissions, we must av

Re: [PATCH v8 09/11] 9p: darwin: Implement compatibility for mknodat

2022-02-22 Thread Christian Schoenebeck
On Sonntag, 20. Februar 2022 17:50:54 CET Will Cohen wrote: > From: Keno Fischer > > Darwin does not support mknodat. However, to avoid race conditions > with later setting the permissions, we must avoid using mknod on > the full path instead. We could try to fchdir, but that would cause > proble

Re: [PATCH v8 09/11] 9p: darwin: Implement compatibility for mknodat

2022-02-20 Thread Christian Schoenebeck
On Sonntag, 20. Februar 2022 17:50:54 CET Will Cohen wrote: > From: Keno Fischer > > Darwin does not support mknodat. However, to avoid race conditions > with later setting the permissions, we must avoid using mknod on > the full path instead. We could try to fchdir, but that would cause > proble