Page MenuHomeFreeBSD

Introduce the PROC_SIGCODE() macro
ClosedPublic

Authored by kd on Jun 3 2022, 9:42 AM.
Tags
None
Referenced Files
F82262139: D35392.diff
Sat, Apr 27, 2:16 AM
Unknown Object (File)
Tue, Apr 23, 9:21 AM
Unknown Object (File)
Mon, Apr 22, 3:00 PM
Unknown Object (File)
Mon, Apr 22, 7:18 AM
Unknown Object (File)
Mon, Apr 8, 11:08 AM
Unknown Object (File)
Mar 11 2024, 11:31 AM
Unknown Object (File)
Mar 9 2024, 12:13 AM
Unknown Object (File)
Feb 29 2024, 12:40 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.