Page MenuHomeFreeBSD

Fix compat32 on mips64
ClosedPublic

Authored by jhibbits on Sep 25 2020, 4:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 6, 10:54 PM
Unknown Object (File)
Fri, May 1, 12:33 PM
Unknown Object (File)
Mon, Apr 27, 1:05 PM
Unknown Object (File)
Mon, Apr 27, 3:43 AM
Unknown Object (File)
Apr 26 2026, 10:28 AM
Unknown Object (File)
Apr 25 2026, 8:39 AM
Unknown Object (File)
Apr 22 2026, 12:21 AM
Unknown Object (File)
Apr 20 2026, 10:59 PM
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