Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Apr 2020 08:33:05 +0300
From:      Amit Yaron <amit@phpandmore.net>
To:        emulation@FreeBSD.org
Subject:   Socket Problems in linux-c7
Message-ID:  <ba049132-b759-e86d-4861-b786e84f4322@phpandmore.net>

next in thread | raw e-mail | index | archive | help
With 'objdump' I've found that I get the message "CreateReportChannel 
failed" because the function 'setsockopt' fails.
Following is the Assembly code found in /compat/linux/opt/zoom/ZoomLauncher:
   4091b0:       8b 7c 24 04             mov    0x4(%rsp),%edi
   4091b4:       48 8d 0d 89 d4 01 00    lea 0x1d489(%rip),%rcx        # 
42664
4 
<_ZZN15google_breakpad21CrashGenerationServer19CreateReportChannelEPiS1_E2on>
   4091bb:       41 b8 04 00 00 00       mov    $0x4,%r8d
   4091c1:       ba 10 00 00 00          mov    $0x10,%edx
   4091c6:       be 01 00 00 00          mov    $0x1,%esi
   4091cb:       e8 90 98 ff ff          callq  402a60 <setsockopt@plt>

The equivalent code in C is:
     sts=setsockopt(sv[0],SOL_SOCKET,0x10,&opt,4);

But the output I get from 'perror' is:
"Protocol not available"

Does any solution exists for that problem?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ba049132-b759-e86d-4861-b786e84f4322>