Page MenuHomeFreeBSD

Fix compat32 on mips64
ClosedPublic

Authored by jhibbits on Sep 25 2020, 4:37 PM.
Tags
None
Referenced Files
F140891442: D26556.id54425.diff
Mon, Dec 29, 7:30 AM
Unknown Object (File)
Sat, Dec 27, 2:14 AM
Unknown Object (File)
Sat, Dec 6, 11:41 AM
Unknown Object (File)
Nov 27 2025, 8:51 AM
Unknown Object (File)
Nov 14 2025, 2:31 AM
Unknown Object (File)
Nov 3 2025, 6:11 AM
Unknown Object (File)
Sep 17 2025, 12:37 AM
Unknown Object (File)
Sep 13 2025, 12:46 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 Not Applicable
Unit
Tests Not Applicable