Page MenuHomeFreeBSD

Convert ss_sp in stack_t and sigstack to void *.
ClosedPublic

Authored by jhb on Jan 27 2016, 3:53 PM.
Tags
None
Referenced Files
F114571180: D5092.id12760.diff
Mon, Apr 14, 1:54 AM
F114556365: D5092.id12768.diff
Sun, Apr 13, 11:06 PM
Unknown Object (File)
Mar 4 2025, 3:10 PM
Unknown Object (File)
Feb 17 2025, 5:59 AM
Unknown Object (File)
Feb 14 2025, 11:25 PM
Unknown Object (File)
Feb 12 2025, 1:15 PM
Unknown Object (File)
Jan 21 2025, 9:40 PM
Unknown Object (File)
Jan 18 2025, 4:32 AM
Subscribers

Details

Summary

Convert ss_sp in stack_t and sigstack to void *.

POSIX requires these members to be of type void * rather than the
char * inherited from 4BSD. NetBSD and OpenBSD both changed their
fields to void * back in 1998. No new build failures were reported
via an exp-run.

Diff Detail

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

Event Timeline

jhb retitled this revision from to Convert ss_sp in stack_t and sigstack to void *..
jhb updated this object.
jhb edited the test plan for this revision. (Show Details)
jhb added a reviewer: kib.
kib edited edge metadata.
kib added inline comments.
sys/amd64/amd64/machdep.c
392 ↗(On Diff #12760)

It would be cleaner to change the sp type to uintptr_t as well, but this is for later.

This revision is now accepted and ready to land.Jan 27 2016, 4:58 PM
This revision was automatically updated to reflect the committed changes.