Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1527501

Re: Formal description of system call interface

From Szabolcs Nagy <nsz@port70.net>
Newsgroups linux.kernel
Subject Re: Formal description of system call interface
Date 2016-11-22 14:10 +0100
Message-ID <sGiZI-7z8-27@gated-at.bofh.it> (permalink)
References <sAEqd-308-11@gated-at.bofh.it> <sAG8F-47m-17@gated-at.bofh.it> <sFYoh-2MJ-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


* Dmitry Vyukov <dvyukov@google.com> [2016-11-21 16:03:04 +0100]:
> On Mon, Nov 7, 2016 at 1:28 AM, Szabolcs Nagy <nsz@port70.net> wrote:
> > * Dmitry Vyukov <dvyukov@google.com> [2016-11-06 14:39:28 -0800]:
> >> For the reference, current syzkaller descriptions are in txt files here:
> >> https://github.com/google/syzkaller/tree/master/sys
> > ...
> >> Taking the opportunity, if you see that something is missing/wrong
> >> in the descriptions of the subsystem you care about, or if it is not
> >> described at all, fixes are welcome.
> >
> > abi variants are missing (abi variation makes a lot of
> > syscall interface related work painful).
> 
> 
> What exactly do you mean by "abi variants"? Is it architecture?
> What exactly needs to be added to the descriptions support "abi variants?
> 

abi variant is a supported syscall abi
(linux supports several abis on the same arch:
e.g. x86 has i386,x86_64,x32 one might also
call different endianness a different abi, but
i'd expect le/be to be handled together.)

available syscalls, argument types and ordering
can be different across abis

i may be wrong, but i did not see those handled
in sys.txt, looking at it now i see missing
paddings in ipc structs (*_ds) so it may not
work the way i assumed (these are types which
have some abi variation).

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: Formal description of system call interface Dmitry Vyukov <dvyukov@google.com> - 2016-11-21 16:10 +0100
  Re: Formal description of system call interface Szabolcs Nagy <nsz@port70.net> - 2016-11-22 14:10 +0100

csiph-web