Page MenuHomeFreeBSD

Fix compat32 on mips64
ClosedPublic

Authored by jhibbits on Sep 25 2020, 4:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 23, 6:47 PM
Unknown Object (File)
Fri, Nov 22, 11:32 PM
Unknown Object (File)
Oct 17 2024, 9:43 PM
Unknown Object (File)
Oct 6 2024, 3:26 AM
Unknown Object (File)
Oct 5 2024, 11:32 PM
Unknown Object (File)
Oct 5 2024, 8:30 PM
Unknown Object (File)
Oct 5 2024, 7:52 AM
Unknown Object (File)
Oct 5 2024, 4:10 AM
Subscribers

Details

Reviewers
adrian
brooks
Group Reviewers
MIPS
Commits
rS366162: Fix compat32 on mips64
Summary

Two bugs:

  • Elf32_Auxinfo is broken, using pointers in the union, which are 64-bits not 32.
  • freebsd32_sysarch() doesn't update the 'user local' register when handling MIPS_SET_TLS, leading to a NULL pointer dereference in the 32-bit application.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 33815
Build 31032: arc lint + arc unit