Page MenuHomeFreeBSD

Fix compat32 on mips64
ClosedPublic

Authored by jhibbits on Fri, Sep 25, 4:37 PM.

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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.