Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108991635
D28889.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
542 B
Referenced Files
None
Subscribers
None
D28889.diff
View Options
diff --git a/tests/sys/kern/ptrace_test.c b/tests/sys/kern/ptrace_test.c
--- a/tests/sys/kern/ptrace_test.c
+++ b/tests/sys/kern/ptrace_test.c
@@ -3947,7 +3947,8 @@
if (fpid == 0) {
trace_me();
kill(getpid(), 0);
- close(3);
+ /* Close a fd that should not exist. */
+ close(12345);
exit(1);
}
@@ -4049,7 +4050,7 @@
ATF_REQUIRE(ptrace(PT_GET_SC_ARGS, wpid, (caddr_t)args,
sizeof(args)) != -1);
- REQUIRE_EQ(args[0], 3);
+ REQUIRE_EQ(args[0], 12345);
REQUIRE_EQ(ptrace(PT_CONTINUE, fpid, (caddr_t)1, 0), 0);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 31, 9:22 AM (13 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16359653
Default Alt Text
D28889.diff (542 B)
Attached To
Mode
D28889: Fix ptrace_test:ptrace__syscall_args after ATF upgrade
Attached
Detach File
Event Timeline
Log In to Comment