diff options
Diffstat (limited to 'trunk/m4/libelf.m4')
-rw-r--r-- | trunk/m4/libelf.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/trunk/m4/libelf.m4 b/trunk/m4/libelf.m4 index 7e80a5d..1156e34 100644 --- a/trunk/m4/libelf.m4 +++ b/trunk/m4/libelf.m4 @@ -73,7 +73,8 @@ int main (void) Elf64_Addr val; Elf_Scn *scn; - fd = open ("conflibelftest", O_RDWR | O_CREAT | O_EXCL); if (fd == -1) exit (1); + fd = open ("conflibelftest", O_RDWR | O_CREAT | O_EXCL, 0600); + if (fd == -1) exit (1); unlink ("conflibelftest"); if (write (fd, sparc64_elf, sizeof(sparc64_elf)) != sizeof(sparc64_elf)) exit (1); |