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)
Tue, Apr 21, 6:54 PM
Unknown Object (File)
Tue, Apr 21, 6:15 AM
Unknown Object (File)
Tue, Apr 21, 1:57 AM
Unknown Object (File)
Sat, Apr 18, 10:52 PM
Unknown Object (File)
Thu, Apr 2, 7:00 AM
Unknown Object (File)
Wed, Apr 1, 6:35 PM
Unknown Object (File)
Thu, Mar 26, 11:23 PM
Unknown Object (File)
Mar 16 2026, 2:43 PM
Subscribers

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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 โ†—(On Diff #2199)

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 โ†—(On Diff #2199)

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.