Page MenuHomeFreeBSD

Switch pl_child_pid from int to pid_t.
ClosedPublic

Authored by jhb on Oct 9 2015, 4:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 24, 9:28 AM
Unknown Object (File)
Sat, Nov 22, 2:01 AM
Unknown Object (File)
Fri, Nov 21, 10:35 PM
Unknown Object (File)
Thu, Nov 20, 8:53 AM
Unknown Object (File)
Tue, Nov 18, 1:43 PM
Unknown Object (File)
Oct 26 2025, 3:15 PM
Unknown Object (File)
Oct 23 2025, 1:38 AM
Unknown Object (File)
Oct 22 2025, 3:11 PM
Subscribers

Details

Summary

Switch pl_child_pid from int to pid_t.

Test Plan
  • make universe passed
  • verified with gdb that size of ptrace_lwpinfo and offset of pl_syscall_code were identical for old and new binaries

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 729
Build 729: arc lint + arc unit

Event Timeline

jhb retitled this revision from to Switch pl_child_pid from int to pid_t..
jhb updated this object.
jhb edited the test plan for this revision. (Show Details)
jhb added a reviewer: kib.
emaste added a reviewer: emaste.
This revision is now accepted and ready to land.Oct 9 2015, 5:06 PM
kib edited edge metadata.

I think that I used int because it is more explicit for ABI. But since the struct ptrace_lwpinfo is not 32/64 bit invariant, this is moot.

This revision was automatically updated to reflect the committed changes.