From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#43071: Enable WebKit sandboxing Date: Thu, 27 Aug 2020 06:41:57 -0700 Message-ID: References: <05668e76-ce5b-0766-471f-0cafa91fd978@cs.ucla.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28462"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Robert Pluim , Jimmy Aguilar Mena , Jaesup Kwak , Qiantan Hong , Sungbin Jo To: Paul Eggert , 43071@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 27 15:45:57 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 1kBIE0-0007J2-RL for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 Aug 2020 15:45:56 +0200 Original-Received: from localhost ([::1]:38840 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kBIDz-0002EG-U2 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 Aug 2020 09:45:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49090) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kBIBC-0006PJ-IJ for bug-gnu-emacs@gnu.org; Thu, 27 Aug 2020 09:43:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58844) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kBIBC-0006gu-79 for bug-gnu-emacs@gnu.org; Thu, 27 Aug 2020 09:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kBIBC-0002h5-58 for bug-gnu-emacs@gnu.org; Thu, 27 Aug 2020 09:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Aug 2020 13:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43071 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 43071-submit@debbugs.gnu.org id=B43071.159853572610293 (code B ref 43071); Thu, 27 Aug 2020 13:43:02 +0000 Original-Received: (at 43071) by debbugs.gnu.org; 27 Aug 2020 13:42:06 +0000 Original-Received: from localhost ([127.0.0.1]:42157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBIAI-0002fx-B4 for submit@debbugs.gnu.org; Thu, 27 Aug 2020 09:42:06 -0400 Original-Received: from mail-yb1-f173.google.com ([209.85.219.173]:41834) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBIAG-0002fR-5I for 43071@debbugs.gnu.org; Thu, 27 Aug 2020 09:42:04 -0400 Original-Received: by mail-yb1-f173.google.com with SMTP id h20so2563749ybj.8 for <43071@debbugs.gnu.org>; Thu, 27 Aug 2020 06:42:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:in-reply-to:references:mime-version:date:message-id:subject:to :cc; bh=VErhhHa0uzqM5BsEhOq3F21vYctER2qNRBiZKtpEvqc=; b=Wvm3WUELa4Ml3HPAfrqa8I0m92g1ddwD8hcc+7Ii+LHRm0RfU9WKpgPuwEzpJgzvIG XdcUjdK4j6GYyYueAmhKob3T8Z6BUKBNNi8iWv1CqEwddNTA2mtevLMEnqbvHJOpLJNl vYY1ojxoMOLfGyY78up2jS2IL9oTA3jxxLa1y8Awm0X2a6irtIfz7fyN4OCfpoKtruL0 jhkGQtZsUGnUkVneIirllob+IIJT/il3q1XsbNCKz76z0Ju/s6T6kyWi3TR+/J4I1XtS gviEgtOKB5jHapTuM3/1UzIw8ieod0Z1cCYmJFsGBZf44THA88Atem2vDfjaGhH2XEv/ t8Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=VErhhHa0uzqM5BsEhOq3F21vYctER2qNRBiZKtpEvqc=; b=oRcctRBfrPd7Mn6MrCj7QZ3hGP3RRKflekyBBlPNsRNV7ttN334lJwwwsCuujNJTKp OSI7r2D1ejHv5KMNBXQBJs6o7dvp0KA8Lt/s2JPaYA140TDfIbbz/0+hLeTDNariZBOa Wv9VHOVsKsfHgqIT7RYoDJC9b3rHmI7LbBJWEiFrBeLuMFDOordcjZyBBudn6MQfwveE TwLc/0nXMNLWEtlFuFyAmz5C17vAiQRWrtvrsgCoKt+aqoNbABJXjLuy8ErRNJ9HVDgV aZdPRYWiHpCQcwB7P2hGgfP52svkIOORWUJZYqu/LJgBqdEZ5x9O+ZAkrpHQvk37REBe P4nw== X-Gm-Message-State: AOAM532R1BHRCZOOzClG5YlaaW22X8C3NyFelHCGt877Uf9qL55OtKoV /c4DecTQkrknD5kph9g1B2orKCEZlOWEyLGxXmE= X-Google-Smtp-Source: ABdhPJzWmCMvTAQC9kVVQPKpIUxMofpOXAB7JJ+Vv/ieSSUR+/J5H81tMP7ZViPiBp4TchFmIzKJGwdr10vLE40B2no= X-Received: by 2002:a5b:508:: with SMTP id o8mr31264833ybp.43.1598535718423; Thu, 27 Aug 2020 06:41:58 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 27 Aug 2020 06:41:58 -0700 In-Reply-To: <05668e76-ce5b-0766-471f-0cafa91fd978@cs.ucla.edu> 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:186536 Archived-At: Paul Eggert writes: > Qiantan Hong suggested that Emacs should enable sandboxing in WebKit, for all > the usual security reasons. (Thanks, Qiantan!) > > Attached is a proposed patch to implement that suggestion; it's a bit fancier > than what Qiantan originally proposed in > because it checks > that WebKit 2.26 or later is in use, and it avoids a duplicate call to > webkit_web_context_get_default. I'm cc'ing this to Qiantan and to other recent > committers to xwidget.c, to get their opinions. Thanks Qiantan Hong and Paul Eggert. Is this important enough to warrant backporting to emacs-26?