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)
Sat, Nov 15, 4:30 AM
Unknown Object (File)
Sat, Nov 15, 4:28 AM
Unknown Object (File)
Sat, Nov 15, 4:28 AM
Unknown Object (File)
Sat, Nov 15, 2:03 AM
Unknown Object (File)
Fri, Nov 14, 11:50 PM
Unknown Object (File)
Sat, Nov 8, 11:55 PM
Unknown Object (File)
Tue, Oct 28, 4:21 PM
Unknown Object (File)
Oct 6 2025, 8:29 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.