Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5185463imu; Tue, 8 Jan 2019 13:06:16 -0800 (PST) X-Google-Smtp-Source: ALg8bN4JJq3mVWwV/+fbeno68gMgmSp7/2cJ6+dD3XbiK45IFve5ekKE6frIij7ZpY6N6awmzX+4 X-Received: by 2002:a17:902:2c03:: with SMTP id m3mr3184245plb.6.1546981576146; Tue, 08 Jan 2019 13:06:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546981576; cv=none; d=google.com; s=arc-20160816; b=fN6hg9xDHT0cztB3u+SKQbzW6CniDkVPHa4cNfHWaC/4zP1HLj3t6l6d68C8WH9DpG wEwYd5gHT6TBR8unGYStOrr5qV/5fYs/iWohal2TEKsBYy5GjzzABDEG55MZXdCGRoPl 4qXuwbxxejeNFcaOExEDthQ4ozWuIbCXXZzWyIrcIyuvuhfFpkT9JUmyYESSbvPwUe1A krisSBSuxeXs54vEBic8efXkeoHp/vpGG/VOe/8DEFPABqzP6XfhEmx1Ij16AsJpSsR9 T2cslQyf0FhU2NwsE4KUzAm95F+qZPaRETUK6/Uy4PJLT/Fe17iRnEVLF1yPzpO2ZT2d USog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :subject:cc:to:from:date; bh=5+v95ShrklPyXVByB6SNvalSlIMQ2X8fiOhWtjuoJ1U=; b=B5+uT1MbsaEpM8ffVtCtwnj5f61Lv2aNS9Dyx1IwWPe35ntWpCmlRpa3B68lqnMe2V GGEHUKV7/Zx8IXv3xdfFIZaAGbM7IdZk2GkZlTYSPEkn+nVr79qFtVKYZ5GIVc37Wh6a nFGKeeJ/LKpVz/V1JVGGpcgXUqPyt9+w3rdey3F+ZTxYi4ZhjGD70niJWOZV+76t2Jp9 HG2/AOOuc/S9MJLHTaXeLTwcZMgZ3tn4hips83G23aVVaK7Xbf66kvKqG3VW7rdYy5Wx 4VzrLlYAqqlJlE/i+IiGoB8h7kqI6pd/SEi/ysmgNq73aFid7doS816cUfrFMnSpbPyw 0Gmw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u11si40690811pgo.474.2019.01.08.13.05.58; Tue, 08 Jan 2019 13:06:16 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729511AbfAHVEq (ORCPT + 99 others); Tue, 8 Jan 2019 16:04:46 -0500 Received: from namei.org ([65.99.196.166]:55064 "EHLO namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728794AbfAHVEq (ORCPT ); Tue, 8 Jan 2019 16:04:46 -0500 Received: from localhost (localhost [127.0.0.1]) by namei.org (8.14.4/8.14.4) with ESMTP id x08L4cE0025412; Tue, 8 Jan 2019 21:04:38 GMT Date: Wed, 9 Jan 2019 08:04:38 +1100 (AEDT) From: James Morris To: Linus Torvalds cc: linux-security-module@vger.kernel.org, Ingo Molnar , linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, Kees Cook Subject: [GIT PULL] seccomp: build fix for v5.0-rc2 Message-ID: User-Agent: Alpine 2.21 (LRH 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Please pull this fix for a build regression in seccomp. The following changes since commit 7b55851367136b1efd84d98fea81ba57a98304cf: fork: record start_time late (2019-01-08 09:40:53 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git fixes-v5.0-rc1 for you to fetch changes up to cba54b44d0be4eb66dbc7709e1f3f0d65e851f69: samples/seccomp: fix 32-bit build (2019-01-08 13:00:00 -0800) ---------------------------------------------------------------- Tycho Andersen (1): samples/seccomp: fix 32-bit build samples/seccomp/Makefile | 1 + 1 file changed, 1 insertion(+) --- commit cba54b44d0be4eb66dbc7709e1f3f0d65e851f69 Author: Tycho Andersen Date: Mon Jan 7 14:46:34 2019 -0700 samples/seccomp: fix 32-bit build Both the .o and the actual executable need to be built with -m32 in order to link correctly. Fixes: fec7b6690541 ("samples: add an example of seccomp user trap") Signed-off-by: Tycho Andersen Reported-by: Ingo Molnar Signed-off-by: James Morris diff --git a/samples/seccomp/Makefile b/samples/seccomp/Makefile index 4920903c8009..a5607668a5c7 100644 --- a/samples/seccomp/Makefile +++ b/samples/seccomp/Makefile @@ -37,6 +37,7 @@ HOSTCFLAGS_bpf-fancy.o += $(MFLAG) HOSTLDLIBS_bpf-direct += $(MFLAG) HOSTLDLIBS_bpf-fancy += $(MFLAG) HOSTLDLIBS_dropper += $(MFLAG) +HOSTLDLIBS_user-trap.o += $(MFLAG) HOSTLDLIBS_user-trap += $(MFLAG) endif always := $(hostprogs-m)