From owner-freebsd-emulation@freebsd.org Thu Apr 30 05:33:25 2020 Return-Path: Delivered-To: freebsd-emulation@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7EB552B10B8 for ; Thu, 30 Apr 2020 05:33:25 +0000 (UTC) (envelope-from amit@phpandmore.net) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 49CPDj1vlMz4JxS for ; Thu, 30 Apr 2020 05:33:25 +0000 (UTC) (envelope-from amit@phpandmore.net) Received: by mailman.nyi.freebsd.org (Postfix) id 416152B10B7; Thu, 30 Apr 2020 05:33:25 +0000 (UTC) Delivered-To: emulation@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4125F2B10B6 for ; Thu, 30 Apr 2020 05:33:25 +0000 (UTC) (envelope-from amit@phpandmore.net) Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49CPDh3Y1tz4JxR for ; Thu, 30 Apr 2020 05:33:24 +0000 (UTC) (envelope-from amit@phpandmore.net) Received: by mail-wr1-x434.google.com with SMTP id c12so97757wrp.0 for ; Wed, 29 Apr 2020 22:33:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phpandmore-net.20150623.gappssmtp.com; s=20150623; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=y5XNWTNtFEw77MlIHkTzUoot92D0x53P0FtlUAFGMJw=; b=gJu3kEkna7aRIBxlFEdtFYnwIRweOa9/hdz8HpgYHCZJsfTncPxkI+dJM5ITU8sNL6 4MwWqqcXKsub/dwuoP2qpfpBVNfetxJVkUJjQ3BPYZrRLf5vQ7N3QeB4ZsXV4bFDsx8A tmKhYottfiBbSqWwXGzWrAYxydjcE9Ay7lkAh6brcybS3Pt/nzZeSDeo4UtC66tv9Dug ID/w7uNMehUU3BjFulmaAZ7/bSJlLWAhtCRP7CTGVpJPnZiSMQO2z8qLbGhddBk/O7Ov aoIsAK4kl4ptXdt9Wr6o8m/ZwJc49OB34gLpV44NIdyOgWCljH9+7DMA5hlHGVpYQLeR /29Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=y5XNWTNtFEw77MlIHkTzUoot92D0x53P0FtlUAFGMJw=; b=X4IrdijnWch/8rZTu1ivWlwVzUw6OYVv+gP4P/eqqIjx8Lzhc7lxV5TeI7P1vkXyxW OeNL6g4oBW4ybKHcbg4aBoPe/QVqLvLAOzWOongljRCVHrWXLtxp/Ds87eUn23p9TW+T JyA1VvxCi9t1Vpy7hh4GqrD02KvKFCCQ2PGMufLLNhf3XScsUvUn/EuOoQFxDUz+xNTs rDNCfrkWGdPCOWi2fKhV/eTrN5bXB1zedpWVXpSPgb/qyqvjhAzQv5AISl0YGyqi3zIf aYjih4TbOKnD//F6qq/RKKxyDT8BghAuh9VL4Sis29wvJRgmLupOhbEcGZbLqGFmGoHQ 0DMQ== X-Gm-Message-State: AGi0PuYOwhkxlKuyutkx3sZfy95x6PIyra4aCxAJVdZf9ml6tr65QLgV B+2tlmzO+hnsx7RYsb4l1Iw8aden3fxDbw== X-Google-Smtp-Source: APiQypLGKSzpKOi7/MRl90FrdtvxnRw0bVmbyXnOtS+JSesA9/wLaYkL3CpyWr7ekIZo2J7eBgGYKQ== X-Received: by 2002:adf:a18c:: with SMTP id u12mr1675950wru.325.1588224801933; Wed, 29 Apr 2020 22:33:21 -0700 (PDT) Received: from homeBSD.local ([2a02:ed0:5f88:4900:3a60:77ff:fe2e:af49]) by smtp.gmail.com with ESMTPSA id 33sm2323407wrp.5.2020.04.29.22.33.21 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Apr 2020 22:33:21 -0700 (PDT) To: emulation@FreeBSD.org From: Amit Yaron Subject: Socket Problems in linux-c7 Message-ID: Date: Thu, 30 Apr 2020 08:33:05 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 49CPDh3Y1tz4JxR X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=phpandmore-net.20150623.gappssmtp.com header.s=20150623 header.b=gJu3kEkn; spf=none (mx1.freebsd.org: domain of amit@phpandmore.net has no SPF policy when checking 2a00:1450:4864:20::434) smtp.mailfrom=amit@phpandmore.net X-Spamd-Result: default: False [-4.73 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[phpandmore-net.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[emulation@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[phpandmore-net.20150623.gappssmtp.com:+]; RCVD_IN_DNSWL_NONE(0.00)[4.3.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-2.43)[ip: (-9.37), ipnet: 2a00:1450::/32(-2.32), asn: 15169(-0.43), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Apr 2020 05:33:25 -0000 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 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?