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
F110746686: D39646.diff
Sat, Feb 22, 2:21 PM
F110741562: D39646.id120551.diff
Sat, Feb 22, 1:32 PM
Unknown Object (File)
Wed, Jan 29, 8:03 AM
Unknown Object (File)
Tue, Jan 28, 5:10 PM
Unknown Object (File)
Jan 11 2025, 7:04 AM
Unknown Object (File)
Jan 3 2025, 11:01 AM
Unknown Object (File)
Nov 15 2024, 4:43 PM
Unknown Object (File)
Nov 15 2024, 2:44 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