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)
Wed, Oct 23, 5:12 PM
Unknown Object (File)
Fri, Oct 18, 4:01 AM
Unknown Object (File)
Tue, Oct 15, 1:36 AM
Unknown Object (File)
Oct 2 2024, 5:10 AM
Unknown Object (File)
Sep 14 2024, 11:42 AM
Unknown Object (File)
Sep 9 2024, 9:40 AM
Unknown Object (File)
Sep 1 2024, 6:23 PM
Unknown Object (File)
Aug 25 2024, 8:21 AM

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.