Page MenuHomeFreeBSD

linux(4): Export the AT_RANDOM depending on the process osreldata
ClosedPublic

Authored by dchagin on Apr 18 2023, 10:17 AM.
Referenced Files
Unknown Object (File)
Mon, Jun 8, 5:54 AM
Unknown Object (File)
Sat, Jun 6, 7:01 AM
Unknown Object (File)
Sun, May 31, 9:52 AM
Unknown Object (File)
May 25 2026, 9:02 AM
Unknown Object (File)
May 21 2026, 1:43 AM
Unknown Object (File)
May 20 2026, 9:21 PM
Unknown Object (File)
May 19 2026, 8:16 AM
Unknown Object (File)
May 17 2026, 3:19 PM
Subscribers

Diff Detail

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

Event Timeline

My quick google suggests Linux AT_CANARY is defined as pointing to 16 random bytes.
Should we add either a runtime test or assertion that imgp->canarylen >= 16?

My quick google suggests Linux AT_CANARY is defined as pointing to 16 random bytes.
Should we add either a runtime test or assertion that imgp->canarylen >= 16?

https://cgit.freebsd.org/src/tree/sys/compat/linux/linux_elf.c#n332

This revision is now accepted and ready to land.Apr 18 2023, 1:11 PM