|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH] tools/libxs: Open /dev/xen/xenbus fds as O_CLOEXEC
On 04.05.24 03:16, Andrew Cooper wrote: The header description for xs_open() goes as far as to suggest that the fd is O_CLOEXEC, but it isn't actually. `xl devd` has been observed leaking /dev/xen/xenbus into children. Link: https://github.com/QubesOS/qubes-issues/issues/8292 Reported-by: Demi Marie Obenour <demi@xxxxxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> With the style breakage below fixed: Reviewed-by: Juergen Gross <jgross@xxxxxxxx>
Nit: spaces around the "|", please. Juergen }static int all_restrict_cb(Xentoolcore__Active_Handle *ah, domid_t domid) {base-commit: feb9158a620040846d76981acbe8ea9e2255a07b
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |