Page MenuHomeFreeBSD

linux: adjust ordering of Linux auxv and add dummy AT_HWCAP2
ClosedPublic

Authored by trasz on Apr 6 2021, 4:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jun 20, 11:33 PM
Unknown Object (File)
Sat, Jun 20, 3:41 AM
Unknown Object (File)
May 21 2026, 10:36 AM
Unknown Object (File)
May 20 2026, 1:08 PM
Unknown Object (File)
May 20 2026, 11:32 AM
Unknown Object (File)
May 17 2026, 1:45 AM
Unknown Object (File)
May 16 2026, 2:43 PM
Unknown Object (File)
May 15 2026, 1:34 AM
Subscribers

Details

Summary

This should be a no-op; the purpose of this is to reduce
a spurious difference between Linuxulator and Linux, to make
debugging slightly easier.

Note that AT_HWCAP2 we pass to Linux binaries is always 0,
instead of being equal to 'cpu_feature2'. This matches what
I've observed under Ubuntu Focal VM.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable