[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH 4/9] libxengnttab: set the cloexec flag on Mini-OS
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 <jgross@xxxxxxxx> --- 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
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |