Merge "ion.c: add O_CLOEXEC to /dev/ion open" am: d91e35fb09
am: 84ccb2dbe0
Change-Id: I87dea345156be3f0745e4df513b725fa451823b3
This commit is contained in:
commit
376aa73945
|
@ -34,7 +34,7 @@
|
|||
|
||||
int ion_open()
|
||||
{
|
||||
int fd = open("/dev/ion", O_RDONLY);
|
||||
int fd = open("/dev/ion", O_RDONLY | O_CLOEXEC);
|
||||
if (fd < 0)
|
||||
ALOGE("open /dev/ion failed!\n");
|
||||
return fd;
|
||||
|
|
Loading…
Reference in New Issue