diff options
author | Jan Lindström <jan.lindstrom@mariadb.com> | 2018-03-15 08:38:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-15 08:38:05 +0200 |
commit | f66a3159100dfb98025b63e92486b63cf3ba4aa3 (patch) | |
tree | 7b9f1a4957a51fd3d6d305befbf30767bcf496b2 /storage/innobase/fsp | |
parent | 7fb03d7abf4e668d76aded38378120361c218ba4 (diff) | |
parent | fafec1a9cc053f132f5ecd67626832a4a739f2b8 (diff) | |
download | mariadb-git-f66a3159100dfb98025b63e92486b63cf3ba4aa3.tar.gz |
Merge pull request #638 from grooverdan/10.3-MDEV-8743-fopen_o_cloexec
MDEV-8743: fopen mode e (glibc only) to prevent galera SST scripts ac…
Diffstat (limited to 'storage/innobase/fsp')
-rw-r--r-- | storage/innobase/fsp/fsp0file.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/fsp/fsp0file.cc b/storage/innobase/fsp/fsp0file.cc index 6e9f307ebc8..2a0cb5a8fee 100644 --- a/storage/innobase/fsp/fsp0file.cc +++ b/storage/innobase/fsp/fsp0file.cc @@ -1043,7 +1043,7 @@ char* RemoteDatafile::read_link_file( const char* link_filepath) { - FILE* file = fopen(link_filepath, "r+b"); + FILE* file = fopen(link_filepath, "r+b" STR_O_CLOEXEC); if (file == NULL) { return(NULL); } |