Loading libcutils/ashmem-dev.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -51,7 +51,7 @@ static int __ashmem_open_locked() int ret; int ret; struct stat st; struct stat st; int fd = TEMP_FAILURE_RETRY(open(ASHMEM_DEVICE, O_RDWR)); int fd = TEMP_FAILURE_RETRY(open(ASHMEM_DEVICE, O_RDWR | O_CLOEXEC)); if (fd < 0) { if (fd < 0) { return fd; return fd; } } Loading Loading
libcutils/ashmem-dev.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -51,7 +51,7 @@ static int __ashmem_open_locked() int ret; int ret; struct stat st; struct stat st; int fd = TEMP_FAILURE_RETRY(open(ASHMEM_DEVICE, O_RDWR)); int fd = TEMP_FAILURE_RETRY(open(ASHMEM_DEVICE, O_RDWR | O_CLOEXEC)); if (fd < 0) { if (fd < 0) { return fd; return fd; } } Loading