diff options
author | Christian Schoenebeck <qemu_oss@crudebyte.com> | 2022-04-29 12:25:11 +0200 |
---|---|---|
committer | Christian Schoenebeck <qemu_oss@crudebyte.com> | 2022-05-01 14:02:08 +0200 |
commit | 055ab89327bab83f1bd07e9de07f7628643d3d8d (patch) | |
tree | b476decdd015728b60259ac232b83ace55f7379e /hw/xenpv | |
parent | 096af171274cc76c51bf11366ae257391ddfed2a (diff) |
9pfs: fix qemu_mknodat(S_IFSOCK) on macOS
mknod() on macOS does not support creating sockets, so divert to
call sequence socket(), bind() and fchmodat() respectively if S_IFSOCK
was passed with mode argument.
Link: https://lore.kernel.org/qemu-devel/17933734.zYzKuhC07K@silver/
Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Message-Id: <2e7b5ecd7a6d83a538db4e8a22d8fb03e9e0f06e.1651228001.git.qemu_oss@crudebyte.com>
[C.S. - Use AT_SYMLINK_NOFOLLOW instead of AT_SYMLINK_NOFOLLOW_ANY. ]
Link: https://lore.kernel.org/qemu-devel/3704033.BMyLRrx2Jx@silver/
Diffstat (limited to 'hw/xenpv')
0 files changed, 0 insertions, 0 deletions