Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153939846
D20989.id59900.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
685 B
Referenced Files
None
Subscribers
None
D20989.id59900.diff
View Options
Index: head/lib/libc/tests/gen/dir2_test.c
===================================================================
--- head/lib/libc/tests/gen/dir2_test.c
+++ head/lib/libc/tests/gen/dir2_test.c
@@ -73,7 +73,7 @@
char filename[16];
snprintf(filename, sizeof(filename), "%d", i);
- fd = openat(dirfd, filename, O_WRONLY | O_CREAT);
+ fd = openat(dirfd, filename, O_WRONLY | O_CREAT, 0600);
ATF_REQUIRE(fd > 0);
close(fd);
}
@@ -150,7 +150,7 @@
char filename[16];
snprintf(filename, sizeof(filename), "%d", i);
- fd = openat(dirfd, filename, O_WRONLY | O_CREAT);
+ fd = openat(dirfd, filename, O_WRONLY | O_CREAT, 0600);
ATF_REQUIRE(fd > 0);
close(fd);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 25, 11:18 PM (8 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32147338
Default Alt Text
D20989.id59900.diff (685 B)
Attached To
Mode
D20989: Include a mode when creating files with openat().
Attached
Detach File
Event Timeline
Log In to Comment