summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/gdb/29k-share/udi/udip2soc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/binutils/gdb/29k-share/udi/udip2soc.c')
-rw-r--r--gnu/usr.bin/binutils/gdb/29k-share/udi/udip2soc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/gdb/29k-share/udi/udip2soc.c b/gnu/usr.bin/binutils/gdb/29k-share/udi/udip2soc.c
index e92dead8e3b..7046a4e8845 100644
--- a/gnu/usr.bin/binutils/gdb/29k-share/udi/udip2soc.c
+++ b/gnu/usr.bin/binutils/gdb/29k-share/udi/udip2soc.c
@@ -280,7 +280,7 @@ UDIConnect(Config, Session)
int f;
sprintf(soc_con[cnt].tip_string,"/tmp/U%d", getpid() + pos);
- f = open(soc_con[cnt].tip_string, O_CREAT);
+ f = open(soc_con[cnt].tip_string, O_CREAT, 0600);
if (f == -1)
continue;