From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#75017: 31.0.50; Untrusted user lisp files Date: Sat, 21 Dec 2024 22:16:05 -0500 Message-ID: References: <87bjx43gp7.fsf@pub.pink> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32637"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Andrea Corallo , Eli Zaretskii , john muhl , 75017@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 22 04:17:25 2024 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 1tPCT6-0008MF-TR for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 22 Dec 2024 04:17:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tPCSp-0000bM-PY; Sat, 21 Dec 2024 22:17:07 -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 1tPCSm-0000b6-1n for bug-gnu-emacs@gnu.org; Sat, 21 Dec 2024 22:17:06 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tPCSl-0002DU-Oq for bug-gnu-emacs@gnu.org; Sat, 21 Dec 2024 22:17:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=a/xYDKv1u7YO8hR3n1/2B1/bGVxSW8lV1UXeBIDNZf8=; b=vTwVuUmwT4dCga5qexNvokrMI794p+5Al3AvY6CDKqm5cq5PgXSKkZHfkb2+p8E4JIW+0HmiN73k6MURFOFZB1ZS9gewAlxsYs7gofHGrApdSLFdUiU4VAj1FYMiIkEbWrA70qqcv/OmLagpFiGDgzhjXGIVxSOyyRTigZvNZC4WEgftickcaqumOsbLr+JGWllaoSCM+UHzGeaZzoHdbL4w/wLRXLdk/K5jV7nrYhHjmppFtcRuirgCn0pPzAINCasCU5T3OpH1eUCuQflVPIdluhiZnuom9s4PXrx/tT1J88lZOXJH5Vg33sNjCGNzo+U3H5p3rHgbMgO6jbdFZQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tPCSk-0000EJ-K4 for bug-gnu-emacs@gnu.org; Sat, 21 Dec 2024 22:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 Dec 2024 03:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75017 X-GNU-PR-Package: emacs Original-Received: via spool by 75017-submit@debbugs.gnu.org id=B75017.1734837375800 (code B ref 75017); Sun, 22 Dec 2024 03:17:02 +0000 Original-Received: (at 75017) by debbugs.gnu.org; 22 Dec 2024 03:16:15 +0000 Original-Received: from localhost ([127.0.0.1]:48581 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPCRz-0000Cq-F4 for submit@debbugs.gnu.org; Sat, 21 Dec 2024 22:16:15 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:21641) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPCRy-0000Cd-5R for 75017@debbugs.gnu.org; Sat, 21 Dec 2024 22:16:14 -0500 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 998ED4421B6; Sat, 21 Dec 2024 22:16:08 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1734837367; bh=g4sQixjiOQAgtzT+atQCagNbgSL83syZ0+UeuXC2KKM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=ZgDocbc387FIahsxvQ35WB9fgnuGM1ZYobs2tJTZhv98l6eIK0Qy8kmk/ED21EcoJ cXCUsghKyrDwjyXE3YfHk2M9jNiBwt1VahBOu49rlyzm1gpF1iWWxUhzP9Z7/BT9p8 kCtUcbLh6o2qB352NTnwlKS8v2QC1wuQJPBHOH22y+DXzxMbA6khV8BwmQb9SJVqgC fr4D33yylUN+2LCElfLnjmqxbIx0E8HHgNcfgETRbKm8GJsJstnNFLFQIWPU4799Q4 O9PqTX4y2zA6dtjfTuu4ZeGLYOLwG5gJ8vKFJ0uPQGm+xTpuYAujx1uy1sUB9z4zh0 HACqhXrA725tw== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id A42E04421C8; Sat, 21 Dec 2024 22:16:07 -0500 (EST) Original-Received: from asado (unknown [199.119.74.1]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 1982F12055E; Sat, 21 Dec 2024 22:16:06 -0500 (EST) In-Reply-To: (Stefan Kangas's message of "Sun, 22 Dec 2024 02:47:45 +0000") 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:297568 Archived-At: > Maybe we should install something like the below? Fine by me, but I think this should be added via a new `trusted-content-function(s)` and added buffer-locally only in elisp-mode buffers. Stefan