raster pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=9a03009364aa060e092741f188a355388202456b
commit 9a03009364aa060e092741f188a355388202456b Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com> Date: Sat Apr 11 09:45:26 2015 +0900 ecore x vsync - ensure drm fb is set to close on exec - intended @fix - minor - fixes T2138 as muc as efl can (dri card0 file) --- src/lib/ecore_x/xlib/ecore_x_vsync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ecore_x/xlib/ecore_x_vsync.c b/src/lib/ecore_x/xlib/ecore_x_vsync.c index 435e173..4109de2 100644 --- a/src/lib/ecore_x/xlib/ecore_x_vsync.c +++ b/src/lib/ecore_x/xlib/ecore_x_vsync.c @@ -452,7 +452,7 @@ _drm_init(int *flags) } snprintf(buf, sizeof(buf), "/dev/dri/card0"); if (stat(buf, &st) != 0) return 0; - drm_fd = open(buf, O_RDWR); + drm_fd = open(buf, O_RDWR | O_CLOEXEC); if (drm_fd < 0) return 0; if (!getenv("ECORE_VSYNC_DRM_ALL")) --