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
F148522906: D3857.id9546.diff
Wed, Mar 18, 11:08 AM
F148520402: D3857.id9281.diff
Wed, Mar 18, 10:39 AM
Unknown Object (File)
Sun, Mar 15, 10:45 AM
Unknown Object (File)
Tue, Mar 10, 5:29 PM
Unknown Object (File)
Tue, Mar 10, 5:28 PM
Unknown Object (File)
Jan 24 2026, 10:57 PM
Unknown Object (File)
Dec 20 2025, 2:25 PM
Unknown Object (File)
Nov 24 2025, 9:28 AM
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 Not Applicable
Unit
Tests Not Applicable

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.