projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d887a1
)
ecore-drm: append O_CLOEXEC always
author
Derek Foreman
<derekf@osg.samsung.com>
Thu, 30 Apr 2015 18:28:30 +0000
(14:28 -0400)
committer
Chris Michael
<cp.michael@samsung.com>
Thu, 30 Apr 2015 18:28:56 +0000
(14:28 -0400)
Summary:
Seems libinput wasn't bothering to set this so all child processes get
their hands on input devices
@fix
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2455
src/lib/ecore_drm/ecore_drm_launcher.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore_drm/ecore_drm_launcher.c
b/src/lib/ecore_drm/ecore_drm_launcher.c
index ae28be0e8dc3306263665f999d9b34b9bd450397..35b8ffcd334a2425653c4868a05f44dea0420ff2 100644
(file)
--- a/
src/lib/ecore_drm/ecore_drm_launcher.c
+++ b/
src/lib/ecore_drm/ecore_drm_launcher.c
@@
-141,7
+141,7
@@
_ecore_drm_launcher_device_open_no_pending(const char *device, int flags)
{
fd = _ecore_drm_logind_device_open_no_pending(device);
if (fd < 0) return -1;
- if (_ecore_drm_launcher_device_flags_set(fd, flags) < 0)
+ if (_ecore_drm_launcher_device_flags_set(fd, flags
| O_CLOEXEC
) < 0)
{
close(fd);
_ecore_drm_logind_device_close(device);