diff options
author | Carlo Marcelo Arenas Belón <carenas@gmail.com> | 2018-08-24 01:56:01 -0700 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2018-09-25 22:36:49 +0200 |
commit | 83eb6e509062b8907eb95a00170ef6dde8d264fd (patch) | |
tree | a915abde418d3481877f19b7085dbd70eac6e52b /linux-user/elfload.c | |
parent | f7e6a401fe3313e6d7dd0c56aa660e684f08e657 (diff) |
linux-user: add SO_LINGER to {g,s}etsockopt
Original implementation for setsockopt by Chen Gang[1]; all bugs mine,
including removing assignment for optname which hopefully makes the
logic easier to follow and moving some variables to make the code
more selfcontained.
[1] http://patchwork.ozlabs.org/patch/565659/
Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
Co-Authored-By: Chen Gang <gang.chen.5i5j@gmail.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20180824085601.6259-1-carenas@gmail.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/elfload.c')
0 files changed, 0 insertions, 0 deletions