Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 84ccb2db authored by Nick Kralevich's avatar Nick Kralevich Committed by android-build-merger
Browse files

Merge "ion.c: add O_CLOEXEC to /dev/ion open"

am: d91e35fb

Change-Id: I97fcb4d10ae1a724fc24588f1ee3b0e783d40a62
parents 3ff028c7 d91e35fb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;