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
F143597181: D1062.diff
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
Unknown Object (File)
Nov 14 2025, 11:50 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.