svn commit: r332782 - in head/sys: amd64/linux amd64/linux32 compat/freebsd32 i386/linux kern sys

Brooks Davis brooks at freebsd.org
Thu Apr 19 16:49:51 UTC 2018


On Thu, Apr 19, 2018 at 04:00:34PM +0000, John Baldwin wrote:
> Author: jhb
> Date: Thu Apr 19 16:00:34 2018
> New Revision: 332782
> URL: https://svnweb.freebsd.org/changeset/base/332782
> 
> Log:
>   Simplify the code to allocate stack for auxv, argv[], and environment vectors.
>   
>   Remove auxarg_size as it was only used once right after a confusing
>   assignment in each of the variants of exec_copyout_strings().

Thanks!  I just tripped over auxarg_size's confusing nature in CheriBSD.

I do wonder if allocating AT_COUNT entries is quite right since some are
emitted only optionally.  That said, it's not as though the waste is
significant.

-- Brooks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20180419/dc2ed1e1/attachment.sig>


More information about the svn-src-head mailing list