Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F137326587
D34885.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
506 B
Referenced Files
None
Subscribers
None
D34885.diff
View Options
diff --git a/tests/sys/audit/inter-process.c b/tests/sys/audit/inter-process.c
--- a/tests/sys/audit/inter-process.c
+++ b/tests/sys/audit/inter-process.c
@@ -1454,7 +1454,7 @@
ATF_TC_BODY(shm_unlink_success, tc)
{
/* Build an absolute path to a file in the test-case directory */
- char dirpath[50];
+ char dirpath[PATH_MAX];
ATF_REQUIRE(getcwd(dirpath, sizeof(dirpath)) != NULL);
strlcat(dirpath, path, sizeof(dirpath));
ATF_REQUIRE(shm_open(dirpath, O_CREAT | O_TRUNC | O_RDWR, 0600) != -1);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 23, 12:21 PM (1 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26013653
Default Alt Text
D34885.diff (506 B)
Attached To
Mode
D34885: Extending the length of dirpath to fix the failure in kyua test sys/audit/inter-process:shm_unlink_success
Attached
Detach File
Event Timeline
Log In to Comment