Return-Path: Received: from mailout4.zoneedit.com (mailout4.zoneedit.com [64.68.198.64]) by arago-project.org (Postfix) with ESMTPS id 2C5EA52B6B for ; Wed, 6 Oct 2021 23:35:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id 6DECB40C1E; Wed, 6 Oct 2021 23:35:58 +0000 (UTC) Received: from mailout4.zoneedit.com ([127.0.0.1]) by localhost (zmo14-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hqxBHFpPVJ3C; Wed, 6 Oct 2021 23:35:58 +0000 (UTC) Received: from mail.denix.org (pool-100-15-86-127.washdc.fios.verizon.net [100.15.86.127]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout4.zoneedit.com (Postfix) with ESMTPSA id 4C1BE40031; Wed, 6 Oct 2021 23:35:56 +0000 (UTC) Received: by mail.denix.org (Postfix, from userid 1000) id 1841E17467A; Wed, 6 Oct 2021 19:35:56 -0400 (EDT) Date: Wed, 6 Oct 2021 19:35:56 -0400 From: Denys Dmytriyenko To: Vivien Didelot Message-ID: <20211006233556.GP1528@denix.org> References: <20211006205454.4056166-1-vdidelot@pbsc.com> <20211006231956.GN1528@denix.org> <20211006193120.GB4085741@t480s.localdomain> MIME-Version: 1.0 In-Reply-To: <20211006193120.GB4085741@t480s.localdomain> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: meta-arago@arago-project.org, Denys Dmytriyenko Subject: Re: [PATCH] qtwebengine: replace patch with chromium flags X-BeenThere: meta-arago@arago-project.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Arago metadata layer for TI SDKs - OE-Core/Yocto compatible List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Oct 2021 23:35:17 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Oct 06, 2021 at 07:31:20PM -0400, Vivien Didelot wrote: > Hi Denys, > > On Wed, 06 Oct 2021 19:19:56 -0400 Denys Dmytriyenko wrote: > > On Wed, Oct 06, 2021 at 04:54:54PM -0400, Vivien Didelot wrote: > > > Instead of maintaining an inappropriate hack on qtwebengine to disable > > > seccomp filter sandbox, export the corresponding chromium flag in > > > the QTWEBENGINE_CHROMIUM_FLAGS environment variable. > > > > > > Signed-off-by: Vivien Didelot > > > --- > > > .../qt5/qtbase-conf/ti33x/qt_env.sh | 5 +++ > > > ...-disable-SECCOMP-BPF-Sandbox-at-star.patch | 32 ------------------- > > > .../recipes-qt/qt5/qtwebengine_git.bbappend | 4 --- > > > 3 files changed, 5 insertions(+), 36 deletions(-) > > > delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtwebengine/0003-qtwebengine-HACK-disable-SECCOMP-BPF-Sandbox-at-star.patch > > > > > > diff --git a/meta-arago-distro/recipes-qt/qt5/qtbase-conf/ti33x/qt_env.sh b/meta-arago-distro/recipes-qt/qt5/qtbase-conf/ti33x/qt_env.sh > > > index 29fa2969..96526393 100644 > > > --- a/meta-arago-distro/recipes-qt/qt5/qtbase-conf/ti33x/qt_env.sh > > > +++ b/meta-arago-distro/recipes-qt/qt5/qtbase-conf/ti33x/qt_env.sh > > > @@ -7,3 +7,8 @@ export QT_QPA_EGLFS_KMS_CONFIG=/etc/qt5/eglfs_kms_cfg.json > > > export QT_QPA_EGLFS_INTEGRATION=eglfs_kms > > > export QT_QPA_EGLFS_ALWAYS_SET_MODE=1 > > > export QT_WAYLAND_SHELL_INTEGRATION=wl-shell > > > + > > > +# SECCOMP-BPF Sandbox does not work due to unexpected FUTEX_UNLOCK_PI call > > > +# from the pthread implementation. Disable this feature temporarily until > > > +# those issues are resolved. > > > +export QTWEBENGINE_CHROMIUM_FLAGS="--disable-seccomp-filter-sandbox" > > > > Why is this only done for ti33x platform? What about other platforms? > > Good catch! Should I bbappend the qtwebengine recipe instead to deploy > a new qtwebengine_env.sh file containing QTWEBENGINE_CHROMIUM_FLAGS? Can you add to both qt_env.sh files - generic and ti33x specific? -- Regards, Denys Dmytriyenko PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964 Fingerprint: 25FC E4A5 8A72 2F69 1186 6D76 4209 0272 9A92 C964