Page MenuHomeFreeBSD

Fix compat32 on mips64
ClosedPublic

Authored by jhibbits on Sep 25 2020, 4:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 20 2023, 6:11 AM
Unknown Object (File)
Dec 16 2023, 3:25 PM
Unknown Object (File)
Nov 11 2023, 3:06 PM
Unknown Object (File)
Nov 11 2023, 6:30 AM
Unknown Object (File)
Nov 9 2023, 3:11 PM
Unknown Object (File)
Nov 6 2023, 3:07 AM
Unknown Object (File)
Oct 10 2023, 5:32 AM
Unknown Object (File)
Oct 8 2023, 2:03 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 Not Applicable
Unit
Tests Not Applicable