Page MenuHomeFreeBSD

Remove p_code from struct proc.
ClosedPublic

Authored by jhb on Apr 25 2019, 5:23 AM.
Tags
None
Referenced Files
F163328332: D20047.diff
Wed, Jul 22, 4:04 AM
F163326452: D20047.id56659.diff
Wed, Jul 22, 3:43 AM
Unknown Object (File)
Tue, Jul 21, 5:19 PM
Unknown Object (File)
Tue, Jul 21, 6:58 AM
Unknown Object (File)
Tue, Jul 21, 2:20 AM
Unknown Object (File)
Mon, Jul 20, 7:42 PM
Unknown Object (File)
Mon, Jul 20, 1:19 PM
Unknown Object (File)
Sun, Jul 19, 6:30 PM
Subscribers

Details

Summary

Contrary to the comments, it was never used by core dumps or debuggers.
Instead, it used to hold the signal code of a pending signal, but that
was replaced by the 'ksi_code' member of ksiginfo_t when signal information
was reworked in 7.0.

Test Plan
  • compiled and booted amd64 and i386 kernels and ran ptrace_test under both

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Apr 25 2019, 8:07 AM
This revision was automatically updated to reflect the committed changes.