Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2018 04:02:51 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        Konstantin Belousov <kostikbel@gmail.com>, Li-Wen Hsu <lwhsu@freebsd.org>
Cc:        Yuri Pankov <yuripv@icloud.com>, freebsd-hackers@freebsd.org
Subject:   Re: Calling getaddrinfo(3) in 32-bit binary on 64-bit host
Message-ID:  <5A66517B.4040802@grosbein.net>
In-Reply-To: <20180122192925.GI55707@kib.kiev.ua>
References:  <CAKBkRUx14r%2B%2BZ-n64SNDd4uu=hoJv-KaXxeyUGM7f%2BDS2Ha%2BmQ@mail.gmail.com> <8c6dc5b5-7640-61fc-b687-08efd1e621ee@icloud.com> <20180122154709.GF55707@kib.kiev.ua> <CAKBkRUz6vt_ynoENce%2BL6G05O4vjS4Z31Cq4wG6px1KMJQDCew@mail.gmail.com> <20180122192925.GI55707@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
23.01.2018 2:29, Konstantin Belousov пишет:
> On Tue, Jan 23, 2018 at 02:55:24AM +0800, Li-Wen Hsu wrote:
>> I'll try to find other uses of SA_SIZE() and see if they would be run in
>> compat32 mode and works or not.
> There are enough uses of SA_SIZE() by functions which are perhaps called
> both from a sysctl handler and for queuing the routing messages into routing
> socket queue.  In the later case, we cannot know ABI of the reader.  This
> is what I referenced when I noted that routing socket's ABI compat is
> impossible to implement correctly.

Can't we supply sysctl handler with some kind of back reference to original
userland caller of the syscall to find its ABI?





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5A66517B.4040802>