Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3383194imu; Mon, 7 Jan 2019 02:17:08 -0800 (PST) X-Google-Smtp-Source: ALg8bN5kBKsOj2v1tfQzE8ysceutHI6071mMitNsG77o/lh37/yBIMiIXrApvhLkMXxTMOgQrEi6 X-Received: by 2002:a63:e74b:: with SMTP id j11mr10518287pgk.397.1546856228463; Mon, 07 Jan 2019 02:17:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546856228; cv=none; d=google.com; s=arc-20160816; b=Ugojg8o/AnihQu9ZJVW7uymTzdi/rTt1pD8If8plyxoEhQqegrQ88SOEgWP3O7nNor Jm9+hmzWmooGeaJY3h3YobEHNX+p4dGUz5O5xuXFZf1dyoZl/IMN8ouv7UevGQr5xCnD mEmI0R65zsw5WFPsLfRMG70xHxpKEn1l1fyAVW33xpVNdn2NWQygkiD0k7vd1ujqIfeb xsjx3e+D9SowZZGkDiYDu6bTaTom3uXD1UVEpx0zlRB19mXqitrCLU2gleSlnkzEm/rE k45xEcv/nnS1iQLV+/ELbp4FEQNS8fX2Y0yCyof21KyghJTe+mhXbmkReCACAwRK+MYD eH/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=yWirVjqGb8oxtQKBz5VYdknzBxnaGsefnIlvvHeuY7g=; b=PxeQsJ4eZ8IQC5ft++3YHw+HBCXaNUKxVnSR7nNdZ2T6S+Q4wi0m/pSSvI33bmpsED 4KcjuJf2sqouNctnSkrUYiGKk/O1PlrMvXC9Qg/fDnyhDpn+2YBkYeSsY3nsUYEzthEk FMhvdYlFAsQZUCalSWAtLRqQcP4AZsS9ehlN6D4OPw/jh/4ET8NO6SBIUIIRQV9bGPV+ 8WGdcxLpp0TosrC2yk9kse3/vT5dhiuRrxDRKiZTbgKeASH5+OwjpLgnognPJHtQhPUO 8hJP4cft6YuxD+NmtnWOKPZLyQIcqOi4ZUmEse208NGuPfWhA7jEs5A1HaMXaykP0ynU +EGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=iJYPV0Fw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l23si58553477pgh.533.2019.01.07.02.16.53; Mon, 07 Jan 2019 02:17:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=iJYPV0Fw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726788AbfAGKPr (ORCPT + 99 others); Mon, 7 Jan 2019 05:15:47 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:45350 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726668AbfAGKPq (ORCPT ); Mon, 7 Jan 2019 05:15:46 -0500 Received: by mail-wr1-f68.google.com with SMTP id t6so42530324wrr.12; Mon, 07 Jan 2019 02:15:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=yWirVjqGb8oxtQKBz5VYdknzBxnaGsefnIlvvHeuY7g=; b=iJYPV0FwUrMRQan3NlPP/Dst6utgocQVSR7jieBqzJK4szthcTcKSK0rEd28CMiJXm GPT8G+0qn3xPqL12BeNqeNb24a2EetfcKN+kJ5LCnPhp8rRJLdSItOY3Gcc7/blpdieU 1NXGHYswV1ngjxtg0dAp/uK+UWP/YeIy0S+v4cu3mJoA0kPUoFgdVtvvKcFb0ED/HPbi g65SjOztI80SAYFZ5NTvS6VGsrzaE9Z3oYFOjwBm0zpaWoNWKyqjIeWBq+Fr3i4Kb6yD 3caflwBsHyUb33nG8Okuq4QdVWqR4A7xkWL+H2mqNn0Ac3gMoi21eqOumQrbWhyKLuPz koUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=yWirVjqGb8oxtQKBz5VYdknzBxnaGsefnIlvvHeuY7g=; b=GEcoulZK+/Li8NIYkxz/W6OCuFk2ZIBnLyGfd46n+U4OtIb580EcsdHmm5uJkYk/jn g8rFlZfan8oYzYAOK4J/4XSgKtVNj5n5MZKV4HtJ8bQDhv0uxj+NX9xdAsn3yYjs+vPm d6qrgGNKnPhCsQoli/aD+Gj6RcUy8eGsmudy7am6LcN9NAMZI1kTgge9q61t6GLOVhQ6 QIeWB9xY61EqG7HxaqG1ZxnZ67vO1BoqNCZEPUfKrcb8MwgusGL4EU3vF1ozDmwOUUPj aN5jHbueuJNn/6w8ieri2vXKGEXdYZv9NANJBEt8mjMFr8roI272XaVa3iKX1EsHMnCP 0fHg== X-Gm-Message-State: AJcUukdewMb1DbyqsM25Ltzdc4Nfp9q0n9HCcW76AwESsoIXcGaTgvAO 4Dd/ZoYd1hCyWWMw+zCcrKI= X-Received: by 2002:a5d:418b:: with SMTP id m11mr47463365wrp.8.1546856143892; Mon, 07 Jan 2019 02:15:43 -0800 (PST) Received: from gmail.com (2E8B0CD5.catv.pool.telekom.hu. [46.139.12.213]) by smtp.gmail.com with ESMTPSA id u204sm6847662wmu.30.2019.01.07.02.15.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 07 Jan 2019 02:15:43 -0800 (PST) Date: Mon, 7 Jan 2019 11:15:40 +0100 From: Ingo Molnar To: James Morris Cc: Linus Torvalds , linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, Thomas Gleixner , Borislav Petkov Subject: Re: [GIT PULL] security: seccomp changes for v4.21 Message-ID: <20190107101540.GA87402@gmail.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * James Morris wrote: > From Kees: > > "- Add SECCOMP_RET_USER_NOTIF > > - seccomp fixes for sparse warnings and s390 build (Tycho)" > > > > The following changes since commit 1072bd678547f8663cfb81a22fdb50c589e4976e: > > security: fs: make inode explicitly non-modular (2018-12-12 14:58:51 -0800) > > are available in the Git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next-seccomp > > for you to fetch changes up to 55b8cbe470d103b44104c64dbf89e5cad525d4e0: > > Merge tag 'seccomp-next-part2' of https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux into next-seccomp (2018-12-17 11:36:26 -0800) > > ---------------------------------------------------------------- > James Morris (2): > Merge tag 'seccomp-next' of https://git.kernel.org/.../kees/linux into next-seccomp > Merge tag 'seccomp-next-part2' of https://git.kernel.org/.../kees/linux into next-seccomp > > Tycho Andersen (6): > seccomp: hoist struct seccomp_data recalculation higher > seccomp: switch system call argument type to void * > seccomp: add a return code to trap to userspace > samples: add an example of seccomp user trap > seccomp: fix poor type promotion > seccomp, s390: fix build for syscall type change > > Documentation/ioctl/ioctl-number.txt | 1 + > Documentation/userspace-api/seccomp_filter.rst | 84 +++++ > arch/s390/kernel/compat_wrapper.c | 2 +- > include/linux/seccomp.h | 9 +- > include/linux/syscalls.h | 2 +- > include/uapi/linux/seccomp.h | 40 ++- > kernel/seccomp.c | 467 ++++++++++++++++++++++++- > samples/seccomp/.gitignore | 1 + > samples/seccomp/Makefile | 7 +- > samples/seccomp/user-trap.c | 375 ++++++++++++++++++++ > tools/testing/selftests/seccomp/seccomp_bpf.c | 447 ++++++++++++++++++++++- > 11 files changed, 1411 insertions(+), 24 deletions(-) > create mode 100644 samples/seccomp/user-trap.c 32-bit x86 allyesconfig doesn't build: /usr/bin/ld: i386:x86-64 architecture of input file `samples/seccomp/user-trap.o' is incompatible with i386 output /usr/bin/ld: samples/seccomp/user-trap.o: file class ELFCLASS64 incompatible with ELFCLASS32 /usr/bin/ld: final link failed: File in wrong format collect2: error: ld returned 1 exit status scripts/Makefile.host:99: recipe for target 'samples/seccomp/user-trap' failed make[2]: *** [samples/seccomp/user-trap] Error 1 Is this a known regression? Thanks, Ingo