Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp70691imu; Tue, 8 Jan 2019 14:53:55 -0800 (PST) X-Google-Smtp-Source: ALg8bN7eAKhqMc4GSFGt+1wKwxOZ6Pz+RioThLa+7JpWI0AIpj5kxzx5btzGJ4KQpIpcOTucsucT X-Received: by 2002:a63:d5e:: with SMTP id 30mr3230041pgn.54.1546988035307; Tue, 08 Jan 2019 14:53:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546988035; cv=none; d=google.com; s=arc-20160816; b=lrEIldIrYnDrk9IQA+kwLxi3is3KTY5KuN1AzbrAfxYy/8pHMcWrpyVnvIBPd3mLMi UvSQDfhaWniA3Tc2CAqB/NdzApto+/+Ulcq+em7v6EZA4UNIgq9OXyIqN65N/CnDyAvE aJ8i51/7+ATxj2n1cPMCGezcOQ+7BnUUtgspYr/Lbi1f3L1wAxBRsYCmF+j23yE7qmQc 2/7gL25azEVyvcho60L1HnPJol0e0NDH9mpE3HGpAij/Ai1AnCWsfATYYZsH1mzagoBN RZUnoFMg3KF1QH6vol97fqea8V8O7I1unBqYZLn7WQO9Bd/ilMHqLhhobWcCgYgP/qRR IW9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=d3yd9D37qc6JkHvOXsqsDpNI+Gs7w2ansAKhkfNPYkQ=; b=bacMDqPiOf9fpZdQzo1+hnBeI93qqy//OywW/EMByTUbcHNU9oxbpTJFu/RcwORwdx /2+jsmyq7fjgzK5VsAVZk8zaWihta3ingwOWG4A4Rfdc6QBpczk3imLiXImKsJh/7CX2 kkWZz+pB1alQwCJgY0pvftILGtxGtGBHus62vxyqZOm4JD2l0NWSmxO4AuD2DQvBVnke wkQySNwq1BYFhF/L75oTFV+nqXsdDdznEo2Dd7k08ZfOKoLHWSNBRz7IYrQ/WHMadL0T qpImkl+OQU6hLM49JYZRnJxrl0qOrBlPEtC44z/fdgEbzqGg0O1bz2jhm4Ww0WMRp+y9 aQWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=m1jQUEw6; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m2si5654402pgs.96.2019.01.08.14.53.40; Tue, 08 Jan 2019 14:53:55 -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=pass header.i=@chromium.org header.s=google header.b=m1jQUEw6; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729891AbfAHVMK (ORCPT + 99 others); Tue, 8 Jan 2019 16:12:10 -0500 Received: from mail-vs1-f67.google.com ([209.85.217.67]:42257 "EHLO mail-vs1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729768AbfAHVMH (ORCPT ); Tue, 8 Jan 2019 16:12:07 -0500 Received: by mail-vs1-f67.google.com with SMTP id b74so3406315vsd.9 for ; Tue, 08 Jan 2019 13:12:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=d3yd9D37qc6JkHvOXsqsDpNI+Gs7w2ansAKhkfNPYkQ=; b=m1jQUEw6q81E5DJnpX9Bi50bdMo3bQ783+zQzPbIDROzuE2KV/3MSJjqJc16ITLvHP mp98HXB0eok6EICYWssiLxSUYqtYFqtW9mPPvxrVe/Xsp//AWIIUp6FOjFqCyjpeJKcL ImzuG+niwzj4xxJzZt6f12U8av3gGFfgqmdoo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=d3yd9D37qc6JkHvOXsqsDpNI+Gs7w2ansAKhkfNPYkQ=; b=rOFpqeNY3PXRr+LAwxcfv3gcFm+U9d3JZW6py3xrzH+5Phhr006tkHLArFX3jBwTrp o8cXtFyUS78rbSAU8FP+rBWtk7IHJghDDvLvWBSrFkgmG3BwJYkMH1ykuiPDg9xzqW6L fyA7vLroFn9e0Fhu25/KRdf1+4m7eQbkBn3J/DQSTcBfkKHXgTMnbo9mWzuAyhQW88a5 +RRd5U8AgpnEDunQpVmBXhXZcLpZe5MttsC/dTaYhYfogTomwKjAjO3TTNJ0sGRDf7ju cNj7GnHrq3PTd8Cav7bTKkFuPEjYBsbbKyj0ohAZC7EbrOf0dsmHicrEZGZai0J8JpiM nDCQ== X-Gm-Message-State: AJcUukfyZ2Tnl1p1sE79RtxdNWveDiqrUUMuWWlnzA12ipXI05i80mWo oP02mLs/WZW6FINy8vqhkCJ44Zt+G3Q= X-Received: by 2002:a67:b44:: with SMTP id 65mr1372440vsl.77.1546981924885; Tue, 08 Jan 2019 13:12:04 -0800 (PST) Received: from mail-vs1-f45.google.com (mail-vs1-f45.google.com. [209.85.217.45]) by smtp.gmail.com with ESMTPSA id j95sm34836942uad.6.2019.01.08.13.12.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Jan 2019 13:12:03 -0800 (PST) Received: by mail-vs1-f45.google.com with SMTP id p74so3430453vsc.0 for ; Tue, 08 Jan 2019 13:12:03 -0800 (PST) X-Received: by 2002:a67:e15e:: with SMTP id o30mr1425746vsl.66.1546981922995; Tue, 08 Jan 2019 13:12:02 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Kees Cook Date: Tue, 8 Jan 2019 13:11:51 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [GIT PULL] seccomp: build fix for v5.0-rc2 To: James Morris Cc: Linus Torvalds , linux-security-module , Ingo Molnar , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This was already picked up by x86-urgent... -Kees On Tue, Jan 8, 2019 at 1:04 PM James Morris wrote: > > 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) -- Kees Cook