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

2022-02-14 Thread Philippe Mathieu-Daudé via
On 10/2/22 14:29, 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 problems if multiple threads try to call

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

2022-02-10 Thread Will Cohen
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 problems if multiple threads try to call mknodat at the same time. However, lu