Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Mar 2017 08:43:20 +0100
From:      Ed Schouten <ed@nuxi.nl>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        Ed Schouten <ed@freebsd.org>, src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r315701 - in head/sys: amd64/cloudabi32 amd64/cloudabi64 arm/cloudabi32 arm64/cloudabi64 i386/cloudabi32
Message-ID:  <CABh_MK=Gge1oSJ9ERvvNCeEW2F6omLiLAVqEYQ1sdG5oVoVZVg@mail.gmail.com>
In-Reply-To: <20170322230026.GV43712@kib.kiev.ua>
References:  <201703220705.v2M75RHE066483@repo.freebsd.org> <20170322090258.GR43712@kib.kiev.ua> <CABh_MKmEMidUHFXw1fpwb8TP7qEktnFPgXH4UUvmu2bmhdgiqA@mail.gmail.com> <20170322230026.GV43712@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
--94eb2c0612c0c88648054b61093a
Content-Type: text/plain; charset=UTF-8

Hi Kostik,

2017-03-23 0:00 GMT+01:00 Konstantin Belousov <kostikbel@gmail.com>:
> On Wed, Mar 22, 2017 at 03:16:24PM +0100, Ed Schouten wrote:
>> Similarly, I seem to remember CloudABI's brandinfos set compat_3_brand
>> for a similar reason: it seems to be required by imgact_elf.c. Would
>> we also want to change that?
>
> Could you please try this ?

Thanks! I just gave the patch a try, but the comparison added to
imgact_elf.c now causes the brandinfo to be skipped entirely. Attached
is a patch that does work for me.

-- 
Ed Schouten <ed@nuxi.nl>
Nuxi, 's-Hertogenbosch, the Netherlands
KvK-nr.: 62051717

--94eb2c0612c0c88648054b61093a
Content-Type: text/plain; charset=US-ASCII; name="compat_3_brand.diff"
Content-Disposition: attachment; filename="compat_3_brand.diff"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_j0m39csf0

SW5kZXg6IHN5cy9hbWQ2NC9jbG91ZGFiaTMyL2Nsb3VkYWJpMzJfc3lzdmVj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SwKLQkJICAgIGJpLT5jb21wYXRfM19icmFuZCkgPT0gMCkpIHsKKwkJICAgIGJpLT5j
b21wYXRfM19icmFuZCkgPT0gMCkpKSB7CiAJCQkvKiBMb29rcyBnb29kLCBidXQgZ2l2ZSBicmFu
ZCBhIGNoYW5jZSB0byB2ZXRvICovCiAJCQlpZiAoIWJpLT5oZWFkZXJfc3VwcG9ydGVkIHx8CiAJ
CQkgICAgYmktPmhlYWRlcl9zdXBwb3J0ZWQoaW1ncCkpIHsK
--94eb2c0612c0c88648054b61093a--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABh_MK=Gge1oSJ9ERvvNCeEW2F6omLiLAVqEYQ1sdG5oVoVZVg>