Date: Tue, 27 Jul 2010 17:31:03 +0000 (UTC) From: Alan Cox <alc@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/compat/freebsd32 freebsd32_misc.c src/sys/kern imgact_shell.c kern_exec.c src/sys/sys imgact.h src/sys/vm vm_init.c Message-ID: <201007271732.o6RHWeGZ090830@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
alc 2010-07-27 17:31:03 UTC FreeBSD src repository Modified files: sys/compat/freebsd32 freebsd32_misc.c sys/kern imgact_shell.c kern_exec.c sys/sys imgact.h sys/vm vm_init.c Log: SVN rev 210545 on 2010-07-27 17:31:03Z by alc Introduce exec_alloc_args(). The objective being to encapsulate the details of the string buffer allocation in one place. Eliminate the portion of the string buffer that was dedicated to storing the interpreter name. The pointer to the interpreter name can simply be made to point to the appropriate argument string. Reviewed by: kib Revision Changes Path 1.110 +7 -9 src/sys/compat/freebsd32/freebsd32_misc.c 1.39 +1 -2 src/sys/kern/imgact_shell.c 1.354 +23 -13 src/sys/kern/kern_exec.c 1.50 +1 -0 src/sys/sys/imgact.h 1.52 +1 -3 src/sys/vm/vm_init.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007271732.o6RHWeGZ090830>