With Mini-OS now supporting the O_CLOEXEC flag for the kexec case, set the related cloexec flag in minios.c.
Signed-off-by: Juergen Gross <jgr...@suse.com> --- tools/libs/gnttab/minios.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/libs/gnttab/minios.c b/tools/libs/gnttab/minios.c index cac89f0ba6..63bbdc7719 100644 --- a/tools/libs/gnttab/minios.c +++ b/tools/libs/gnttab/minios.c @@ -74,6 +74,7 @@ int osdep_gnttab_open(xengnttab_handle *xgt) } file->dev = gntmap; + file->cloexec = true; gntmap_init(gntmap); xgt->fd = fd; return 0; -- 2.43.0