Skip to content

Commit 26e4a48

Browse files
committed
MDEV-8743: ib_logfile0 Use O_CLOEXEC so galera SST scripts don't get fd
1 parent 7bd9530 commit 26e4a48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage/innobase/os/os0file.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3578,7 +3578,7 @@ os_aio_native_aio_supported(void)
35783578

35793579
strcpy(name + dirnamelen, "ib_logfile0");
35803580

3581-
fd = ::open(name, O_RDONLY);
3581+
fd = ::open(name, O_RDONLY | O_CLOEXEC);
35823582

35833583
if (fd == -1) {
35843584

0 commit comments

Comments
 (0)