diff options
author | Michael Tokarev <mjt@tls.msk.ru> | 2014-01-17 14:23:51 +0400 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2014-02-15 16:10:25 +0400 |
commit | 62dc90c668fc4e17639f594b70a1001780f59a9b (patch) | |
tree | 0515935251b1decee814c2090d8e3680eefc170d /include/net | |
parent | 21684af0233df1d2b554db736e4feb774950d488 (diff) |
linux-user: refactor do_socketcall()
Refactor do_socketcall() to do argument conversion/checking first,
according to a lookup table (which call has how many args) and
by calling the right function second with ready-to-go arguments.
This ensures that all arguments are handled as abi_long, according
to socketcall prototype, and simplifies argument handling alot too.
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions