From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lynn Winebarger Newsgroups: gmane.emacs.devel Subject: Re: Finalizing 'inhibit-automatic-native-compilation' Date: Mon, 20 Feb 2023 17:17:38 -0500 Message-ID: References: <20230218.061335.1468428093197134401.tats%nobody@tats.iris.ne.jp> <837cwcwnpf.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000a42eb005f5290846" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31379"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Andrea Corallo , Eli Zaretskii , tats@debian.org, emacs-devel , spwhitton@spwhitton.name, 1021842@bugs.debian.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Feb 20 23:18:50 2023 Return-path: Envelope-to: ged-emacs-devel@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 1pUEUj-0007v0-9v for ged-emacs-devel@m.gmane-mx.org; Mon, 20 Feb 2023 23:18:49 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pUETx-0004sn-7Z; Mon, 20 Feb 2023 17:18:01 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pUETr-0004qs-LH for emacs-devel@gnu.org; Mon, 20 Feb 2023 17:17:57 -0500 Original-Received: from mail-pj1-x102a.google.com ([2607:f8b0:4864:20::102a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pUETp-00053e-3u; Mon, 20 Feb 2023 17:17:55 -0500 Original-Received: by mail-pj1-x102a.google.com with SMTP id qi12-20020a17090b274c00b002341621377cso2639260pjb.2; Mon, 20 Feb 2023 14:17:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=tK7NQ7W/r+gFYmpF6cke0vg0yXcvFxq5880yB1WBACQ=; b=k8mkh629bH57gREubBTY/1W+ot5GHi6V3VgqtcpQU/ykbOWnIBWA7Vo1ZrdYncG6n/ rgm1837u5OsLnNhZaU2pxPAWxB0Wl/BfjU+ztK/9Q48uOgbwr4sKmT7rjvg295rYyA/8 hlJS89eGYbLDsRhZNJgqfD6L0nIeMuLsc3OrgSWhGkYnw4hqig6R7lgxHvsbSSccbgqb 2C1Nb2wOWAMRbTlGbVoK6EKGQbZ+kUiBR4VW18for9xIy0devPvaRfTK2WNk2h8XUwXD XJGlBsbk43iN+umWpylRHEq8dJeeuUHEt4wvrI8QKRK5OKjP0ST1Ig/vD0zF/O+QzgYv 3Saw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=tK7NQ7W/r+gFYmpF6cke0vg0yXcvFxq5880yB1WBACQ=; b=WPWbErubKGtgHzz72Wx6TFue79/+EkbdaU5HF3HGOXjU1hbXR+QHYYIUbLYpBUAUK5 Vfa5k1VuuWMu68SjTwIvFdT7eJ9j/q5YllPVNgE6lkupVeKAHS3ONqN4w8vL2Pl0KG4/ MLFlmiPkm9/cF9H8dyFi9Omx+TBgUtASr1Vy9dwsxf1qVu7/DUNkhcoSLWAn+J2uGn8M Y9U6o1AFRxHqSgp1YHtGWEJB7KyLa1pA4kA3cH/VDY+e1Ggn2IQMNOWa8+ARMAoqALeA mOAFL4h8XZ1sn6ivm07OdTN/GQ6z8/UUV8SGa+OQZ1EPXAthFUpN1PommdD3bUYscO4S 2j5A== X-Gm-Message-State: AO0yUKXCkBZLtv/KcUzOg0g133SyfUY1sNwFxlK4xB/r+WbZ/h/gAYqK lD4+3ABaTVzXzUfC0IdRywmJxxJPIcaR8HRrDdk= X-Google-Smtp-Source: AK7set+QZB2SZdJTml5tkqEjEtU6cva93VIDoAQPHdtKxB2DtCWFPH01ZnVWNSEjGE/+CMVzwGoHkWm42sBFnhQmG2o= X-Received: by 2002:a17:90b:1806:b0:22c:4a69:6805 with SMTP id lw6-20020a17090b180600b0022c4a696805mr1008881pjb.7.1676931470993; Mon, 20 Feb 2023 14:17:50 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::102a; envelope-from=owinebar@gmail.com; helo=mail-pj1-x102a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:303629 Archived-At: --000000000000a42eb005f5290846 Content-Type: text/plain; charset="UTF-8" On Mon, Feb 20, 2023, 4:34 PM Stefan Monnier wrote: > > Just to be clear, this condition should be checked before emacs is > > willing to use the temporary directory in question. No unprivileged > > user should be able to overwrite a directory entry the uid of the > > emacs process creates at any point in the path to the temporary file. > > AFAIK we usually consider it's up to the user/system to make sure this > is the case. That seems like a pretty aggressive assumption for this functionality. Lynn --000000000000a42eb005f5290846 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, Feb 20, 2023, 4:34 PM Stefan Monnier <monnier= @iro.umontreal.ca> wrote:
&g= t; Just to be clear, this condition should be checked before emacs is
> willing to use the temporary directory in question.=C2=A0 No unprivile= ged
> user should be able to overwrite a directory entry the uid of the
> emacs process creates at any point in the path to the temporary file.<= br>
AFAIK we usually consider it's up to the user/system to make sure this<= br> is the case.

That seems like a pretty aggressive assumption for this functiona= lity.

Lynn

--000000000000a42eb005f5290846--