Page MenuHomeFreeBSD

arm64: fix struct l_sigaction_t layout
ClosedPublic

Authored by mhorne on Dec 3 2020, 4:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Mar 28, 5:33 PM
Unknown Object (File)
Wed, Mar 25, 12:08 AM
Unknown Object (File)
Mon, Mar 23, 8:11 AM
Unknown Object (File)
Sun, Mar 22, 10:01 PM
Unknown Object (File)
Sat, Mar 21, 5:50 AM
Unknown Object (File)
Wed, Mar 18, 1:50 AM
Unknown Object (File)
Tue, Mar 17, 2:24 AM
Unknown Object (File)
Tue, Mar 10, 3:20 AM
Subscribers

Details

Summary

This was likely copied from amd64, but the layout of the struct differs
slightly between these platforms. This fixes spurious `unsupported sigaction
flag 0xXXXXXXXX` messages when executing some Linux binaries on arm64.

Linux struct definition: https://github.com/torvalds/linux/blob/34816d20f173a90389c8a7e641166d8ea9dce70a/include/uapi/asm-generic/signal.h#L104

Diff Detail

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

Event Timeline

mhorne requested review of this revision.Dec 3 2020, 4:35 PM

Yes, seems I just incorrectly copied this from x86.

This revision is now accepted and ready to land.Dec 8 2020, 3:48 PM
This revision was automatically updated to reflect the committed changes.