From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#45198: 28.0.50; Sandbox mode Date: Mon, 14 Dec 2020 09:48:47 -0500 Message-ID: References: <0917E396-F78C-45BF-8A1F-5C23CA722D9A@acm.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20571"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Bastien , Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , 45198@debbugs.gnu.org, =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= To: Philipp Stephani Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 14 15:49:13 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kopA1-0005Fw-VG for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Dec 2020 15:49:13 +0100 Original-Received: from localhost ([::1]:54170 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kopA0-0003IC-V2 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Dec 2020 09:49:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46420) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kop9q-0003Fm-7B for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2020 09:49:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40143) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kop9p-0000p0-U7 for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2020 09:49:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kop9p-0001RM-R7 for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2020 09:49:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Dec 2020 14:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45198 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 45198-submit@debbugs.gnu.org id=B45198.16079573375527 (code B ref 45198); Mon, 14 Dec 2020 14:49:01 +0000 Original-Received: (at 45198) by debbugs.gnu.org; 14 Dec 2020 14:48:57 +0000 Original-Received: from localhost ([127.0.0.1]:51689 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kop9l-0001R4-Gn for submit@debbugs.gnu.org; Mon, 14 Dec 2020 09:48:57 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:63864) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kop9j-0001Qq-Qd for 45198@debbugs.gnu.org; Mon, 14 Dec 2020 09:48:56 -0500 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 7FBB280967; Mon, 14 Dec 2020 09:48:50 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 36ED780904; Mon, 14 Dec 2020 09:48:49 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1607957329; bh=jsw4TqrMyZvUVgKKJRm1lFRRvHciN4k6p4IljXQNDDw=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=T9gCBGn+neUY6xD6XJ0g3QrWCUlZXMWt6U1w4y5pJ3w599QSQVH0u7Ek8yQMWbiMo gI18Y6KKS9/AiBAw/rrO/9WtJiVvb8nTE0RD1/i47xOEp9a6men31/+y3CV/Nc3D42 1ZKDDjbMfA3CLgzkmgJQRWg0mVHcT0FyV2FPiMCvrgbuv58zh/GmgLFdLrsTYNe3W3 o5Seittnx2jbScxxbDLq+0t2JzT7k5B/Ye7IUFkodf9RPscozF2fC3pzBhENg2KFRP 1coIvd7LfDjBaY1ON/hwJ5640zNxkRwYrWWuZIxtcxBn6G7FfPpHYe4MCJNGeiVTlY ZKU28970CIbMw== Original-Received: from alfajor (69-165-136-52.dsl.teksavvy.com [69.165.136.52]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id E846E12023D; Mon, 14 Dec 2020 09:48:48 -0500 (EST) In-Reply-To: (Philipp Stephani's message of "Mon, 14 Dec 2020 14:44:25 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:196049 Archived-At: > namespace also don't work in multithreaded processes. Allowing > sandboxing (at least for now) only at process startup avoids such > issues and should be good enough for the given use case (Flymake > background compilation), since we need to start a new process anyway. BTW, while flymake does already use a background process, I think there's a deeper reason why we'll always need a separate process: there's no way to exit a sandbox. Stefan