HomeFreeBSD

Fix ptrace_test:ptrace__syscall_args after ATF upgrade

Description

Fix ptrace_test:ptrace__syscall_args after ATF upgrade

ATF now opens the results file (without CLOEXEC), so the child actually
has a valid file descriptor 3. To fix this simply use a large number that
will definitely not be a valid file descriptor.

Reviewed by: jhb, cem, lwhsu
Differential Revision: https://reviews.freebsd.org/D28889

Details

Provenance
arichardsonAuthored on Feb 23 2021, 12:51 PM
Reviewer
jhb
Differential Revision
D28889: Fix ptrace_test:ptrace__syscall_args after ATF upgrade
Parents
rG1032131464f1: Remove atf_tc_skip calls from ptrace_test
Branches
Unknown
Tags
Unknown