From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12olkn2081.outbound.protection.outlook.com [40.92.23.81]) by sourceware.org (Postfix) with ESMTPS id 29E543858405 for ; Tue, 24 Aug 2021 18:27:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 29E543858405 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Wj98KHs1N980tRPqpE9/jMLcSxDjno0HwPuOvYZgSjPQk0clTGnb6hH3IIhxekkvUXIpnOObzAloiZU7k06X8Gd4eH4Eb9A7t+zCwh2lFZyHTOkPn78mb5ZHbcUiTbZx/v8MjZWhljQdGMRxbLOCpfCTKmmF5qSnQ0bTRnaVUMhN2KxGcyWCdkdbSPmmx5U+smthVCVmQ/t4eoHRB6afreKXDjUwO0Ca/JO7qPa36OXIXpGyeYDOmTcYjH7wAz9uU6TjIGDOmMwcNY1hUFYOWsKrx4NcaMneC6tIcqfnN/t3nmzWku08z/iwNYtIlnCW2kCeMJOBGXzZ6TRzBY4LPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=H/BNKIfXKXjg79e5k8Ku2/YTUCO5kYY88aR+4H6pIJc=; b=S9oVQlPeTD09y6k+RDc31pB8PP57wYB9MM9OakyJh4Vh4QSe03tZ3opGsdRydBsnpIQ74Ktz/ATehDrm5crSAi39e7VhF67bXBUQA1gVRoNSKrYJPb7xMMFBIvPOziDcjpdSXlMCkPChl7AbHMyx80Zs1AZFv312YC8yypH/MSGItnIPfyUocopkBCBPkwlnXapFeOoSJWpozt3EmYqc9IyJFtpC24MOepKqpstw7kM891BNh786XWB/0bK2RyFT6Ziv/THFsVlHgZQXO6EjkDnMJXMwTugKaXswq2A7X7g9Jgj1iGxUgw6kixPapNsaMS7Bb9W126tn3dmLHQpn2g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from MWHPR1401MB1951.namprd14.prod.outlook.com (2603:10b6:301:51::14) by CO6PR14MB4356.namprd14.prod.outlook.com (2603:10b6:5:342::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4436.19; Tue, 24 Aug 2021 18:27:39 +0000 Received: from MWHPR1401MB1951.namprd14.prod.outlook.com ([fe80::adc0:8922:4de7:e7b7]) by MWHPR1401MB1951.namprd14.prod.outlook.com ([fe80::adc0:8922:4de7:e7b7%9]) with mapi id 15.20.4436.025; Tue, 24 Aug 2021 18:27:39 +0000 From: Jay K To: "libffi-discuss@sourceware.org" , DJ Delorie Subject: Re: is fork() supported? Thread-Topic: is fork() supported? Thread-Index: AQHXiWtrnWK1bzfmykWVm1UIt/hNSatkkfAAgAAC1IeAHoCBgIAAApNn Date: Tue, 24 Aug 2021 18:27:39 +0000 Message-ID: References: <87tuk447q4.fsf@oldenburg.str.redhat.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-tmn: [QZYCzAOdhcrs00EmN388rqZnBroi0zRqq5LRFs4wW8DX/CAR5TtZiqEkB4oo2EeM] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e9984cdb-2e5c-4ea1-d886-08d9672cdae0 x-ms-traffictypediagnostic: CO6PR14MB4356: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: XfjivCILQjCAj9chVBJDwcLmDUTYjq8/V3+UWZWw3dFzo2PRt9+Mhl9E4lUTJHVoqHNCxjS4f2LFf9Zvs5O/Joh9DMMKjtRzGdG79Et9RHyouKRqgZjuEkj7277aWhJbE5Kb+phreIwSZx9m44hmL7XxspU7n4Zc0WTCpaBjbEbTGukuR6wzpfbRFUgQxHVcW82YHGxu0Bw7v8FzL4Km6fJtUc8CY6GyqgJnXpnIxSS3JT9uzcrqNVjzf7DdMAJKdaWPd8YdiKkd7HBEi/+gQYqsM/FrTtltkek20VcCSNGsImceneomrdYhQuH6akHLNRRuSQO00pvwVBSMlJCoWqriOl/vBBwfm4K/KkPSMjvLOY5wWhGchOoH36EwIDQ42GMsS/Dp1zRl3FHMdJfKDnJQLQjmhu4PbsSM6qTtKsXMg+31Ss5Z23exUjbSYaSD x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: 8/DTEkPoXc3CGIrMFL9Zo2tBjyIi74bDxJGNgghdLcV9CPrGaOun+618AXtU5A6Nv+y1r9NEhF+LUj3OWz4+/apd9om2PFOYY9VSBO7tqsNtLsXZgSXZaqe6tCIY3P2oQS6sRJy/XNaBRnguDDy3WOGzh4MhhiyWSsFxCbxjBw/imXr9jBKVYj1DH4JW+9RrfSuMScpJ8k9aznrxi90m7Q== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: sct-15-20-3174-20-msonline-outlook-32894.templateTenant X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MWHPR1401MB1951.namprd14.prod.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: e9984cdb-2e5c-4ea1-d886-08d9672cdae0 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Aug 2021 18:27:39.6926 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR14MB4356 X-Spam-Status: No, score=1.9 required=5.0 tests=BAYES_00, DKIM_INVALID, DKIM_SIGNED, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, HTML_MESSAGE, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_PASS, TXREP, T_SPF_HELO_TEMPERROR autolearn=no autolearn_force=no version=3.4.4 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: libffi-discuss@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libffi-discuss mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Aug 2021 18:27:42 -0000 On my point, sorry: 1. Sorry, I assumed mail from DJ was about djgpp, and that context was l= acking in libffi. My mistake. 2. Either way, I was referring to the work that came after "trampfd", wi= th the static trampolines that get mmaped repeatedly. 3. So libffi no longer has read/write/execute memory, or turns read/writ= e into execute, correct? 4. So the implied assertion or question then, does that work very much s= weep away "all such problems", or some remain? - Jay ________________________________ From: Libffi-discuss on behalf of DJ Delorie via Libffi-discuss Sent: Tuesday, August 24, 2021 6:15 PM To: libffi-discuss@sourceware.org Subject: Re: is fork() supported? Florian Weimer via Libffi-discuss writes: >> The bug that will never die. > Well, there are two ways to fix it: The thread ended without resolution... we've (RH) got a bug report against it, and I need to know if I can tell them "don't do that" or if I'm obligated to pursue some fix. So my question isn't CAN we fix it, it's MUST we fix it... I.e. is this a supported feature, or something that 'happened to work' so got abused?