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)
Fri, Oct 3, 11:45 PM
Unknown Object (File)
Fri, Oct 3, 10:19 AM
Unknown Object (File)
Thu, Oct 2, 8:27 PM
Unknown Object (File)
Thu, Oct 2, 5:25 PM
Unknown Object (File)
Sun, Sep 28, 3:10 PM
Unknown Object (File)
Aug 30 2025, 7:14 AM
Unknown Object (File)
Aug 3 2025, 1:33 AM
Unknown Object (File)
Jul 28 2025, 2:38 AM
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