Skip to content

oslib: fix OSes support for qemu_close_all_open_fd()

Clément Léger qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2qemu/osdep: fix current process fds path for other OSesutil/oslib-posix.c+6 -12 replies
2/2qemu/osdep: handle sysconf(_SC_OPEN_MAX) return value == -1util/oslib-posix.c+12 -010 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchDaniel P. BerrangéMichael Tokarev
1/2R-b R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] oslib: fix OSes support for qemu_close_all_open_fd()

Some OSes (MacOS, FreeBSD) were not correctly handled by the original close_fd() code. Handle them by fixing the path for self process open file descriptors location as well as sysconf(_SC_OPEN_MAX) potentially returning -1 on MacOS.

---

Clément Léger (2):
qemu/osdep: fix current process fds path for other OSes qemu/osdep: handle sysconf(_SC_OPEN_MAX) return value == -1

 util/oslib-posix.c | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)
Signature · 1 line
2.45.2