Page MenuHomeFreeBSD

Introduce the PROC_SIGCODE() macro
ClosedPublic

Authored by kd on Jun 3 2022, 9:42 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 31, 7:37 AM
Unknown Object (File)
Tue, May 28, 2:41 PM
Unknown Object (File)
Sun, May 26, 6:48 AM
Unknown Object (File)
Mon, May 20, 2:50 AM
Unknown Object (File)
Sat, May 18, 1:26 AM
Unknown Object (File)
Wed, May 8, 6:53 AM
Unknown Object (File)
Mon, May 6, 9:02 AM
Unknown Object (File)
May 2 2024, 4:31 PM

Details

Summary

Use a getter macro instead of fetching the sigcode address directly from a sysent of a given process.
It assumes that the sigcode is stored in the shared page, which is true in all cases, except for a.out binaries.
This will be later useful when the shared page address randomization is introduced.
No functional change intended.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Jun 7 2022, 2:38 AM

@mindal_semihalf.com do you have these changes in a git repo somewhere? I can merge them as they're reviewed/approved.

@mindal_semihalf.com do you have these changes in a git repo somewhere? I can merge them as they're reviewed/approved.

I'd prefer to do a bit more testing first.
I'll push everything to a public github repo in a day, or two.

This revision was automatically updated to reflect the committed changes.