Page MenuHomeFreeBSD

Put linux_platform into the vdso to avoid copying it onto the stack at every exec.
ClosedPublic

Authored by dchagin on Nov 1 2014, 1:02 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Feb 8, 1:44 PM
Unknown Object (File)
Sat, Jan 31, 12:42 AM
Unknown Object (File)
Thu, Jan 29, 11:14 AM
Unknown Object (File)
Dec 14 2025, 10:14 AM
Unknown Object (File)
Nov 15 2025, 4:30 AM
Unknown Object (File)
Nov 15 2025, 4:28 AM
Unknown Object (File)
Nov 15 2025, 4:28 AM
Unknown Object (File)
Nov 15 2025, 2:03 AM
Subscribers

Diff Detail

Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

dchagin retitled this revision from to Put linux_platform into the vdso to avoid copying it onto the stack at every exec..
trasz added inline comments.
sys/compat/linux/linux_misc.c
734

I'd feel safer if you converted LINUX_MAX_UTSNAME into proper sizeof; here and the places above.

sys/compat/linux/linux_misc.c
734

LINUX_MAX_UTSNAME is a proper dst size.

trasz added a reviewer: trasz.
This revision is now accepted and ready to land.Mar 25 2015, 11:22 AM
This revision was automatically updated to reflect the committed changes.