Socket Problems in linux-c7

Amit Yaron amit at phpandmore.net
Thu Apr 30 05:33:25 UTC 2020


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 at 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?


More information about the freebsd-emulation mailing list