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
F170747123: D3857.id.diff
Sun, Sep 6, 9:36 AM
F170734215: D3857.id9281.diff
Sun, Sep 6, 7:22 AM
F170710850: D3857.diff
Sun, Sep 6, 3:50 AM
Unknown Object (File)
Sat, Sep 5, 11:53 AM
Unknown Object (File)
Thu, Sep 3, 7:24 AM
Unknown Object (File)
Thu, Sep 3, 3:35 AM
Unknown Object (File)
Wed, Sep 2, 9:04 AM
Unknown Object (File)
Tue, Sep 1, 10:55 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 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.