Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F170012802
D28889.id84532.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
579 B
Referenced Files
None
Subscribers
None
D28889.id84532.diff
View Options
Index: tests/sys/kern/ptrace_test.c
===================================================================
--- tests/sys/kern/ptrace_test.c
+++ tests/sys/kern/ptrace_test.c
@@ -3965,7 +3965,7 @@
if (fpid == 0) {
trace_me();
kill(getpid(), 0);
- close(3);
+ close(12345); /* Any fd number that should not exist */
exit(1);
}
@@ -4067,7 +4067,7 @@
ATF_REQUIRE(ptrace(PT_GET_SC_ARGS, wpid, (caddr_t)args,
sizeof(args)) != -1);
- REQUIRE_EQ_INT(args[0], 3);
+ REQUIRE_EQ_INT(args[0], 12345);
REQUIRE_EQ_INT(ptrace(PT_CONTINUE, fpid, (caddr_t)1, 0), 0);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Sep 4, 6:10 AM (4 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38201863
Default Alt Text
D28889.id84532.diff (579 B)
Attached To
Mode
D28889: Fix ptrace_test:ptrace__syscall_args after ATF upgrade
Attached
Detach File
Event Timeline
Log In to Comment