Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4960880imu; Tue, 29 Jan 2019 10:21:54 -0800 (PST) X-Google-Smtp-Source: ALg8bN54ARD5SCVOKH52ESFVn+OWvL3AZP4FS/xmjKER1OwKqDf1yLKTySjYeBCUdg7ME9Kx3X1P X-Received: by 2002:a63:cd4c:: with SMTP id a12mr25035772pgj.252.1548786114167; Tue, 29 Jan 2019 10:21:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548786114; cv=none; d=google.com; s=arc-20160816; b=y3gwLa01nOyE5j78zU2yzGv6Hp6ErLp8Zd/PM9beZsPq78lVVw00D0Fn+RXnxTnYbv aNabqW/ePL7ixNIdMAJ6WjYYfde3VpYP7hZoC2VdlaPdteI0COHfsraiknVrpxRFuWVC TsESamX7j8gS5vXWwUjZ8byx0MakeBBg1G+1VbvMmlmBUwZ329+NKnNpMPVkxliL5xRP Ml68YEWwX34+8hgAgyrJOEz/Idkyqlpjz4D6bDcg30y9IcmdFasOxfl2JFfJs9xUR5Cl AcuuJkeAL95B89LK0G8M2TcCxvPLNIz8PPFFZX5MsR0ftW37RlLXNIByAefAVeletW5s IePw== 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=dC239ZrpeLmzKNGp7d/PMxvG6dvpCn21nw5Gvt8HUmM=; b=Dqc7kVDrGkTou6iho+yLXio2X8LqIE25wijZN2ORGh4lwqGqFBEPLOc+Gga7nlPvkT 3Hof5jiAACvFV07dOE32NswJyKJxZmnzIOub0RznlyeE+PqYMYkwaQxhQ8o9Mp16CyY3 Cc7N4mPtmXdIHRS3qqttcSYx0v6gyP1SP6Y6EecknRk9pUm2uBXw1Qee0wRLj1TDHHW6 2aYw8xH77Ta9C/pQfb6hYIQ6kNMKpR+tcB1o4DsQe+BypjtTHCI6CsDl4ZoYpDKM1M1a Q8KygsvSPS1m5TFPY0U6hwfFq2CTKCtOX2b8rVgYjgWpWoF7hDgYsbEoJvOaa8FUUKvr keuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=cHk2LUjz; 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 j3si35368533plk.199.2019.01.29.10.21.38; Tue, 29 Jan 2019 10:21:54 -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=cHk2LUjz; 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 S1728558AbfA2SV1 (ORCPT + 99 others); Tue, 29 Jan 2019 13:21:27 -0500 Received: from mail-yb1-f193.google.com ([209.85.219.193]:46836 "EHLO mail-yb1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727276AbfA2SV1 (ORCPT ); Tue, 29 Jan 2019 13:21:27 -0500 Received: by mail-yb1-f193.google.com with SMTP id y7so8533555ybg.13 for ; Tue, 29 Jan 2019 10:21:27 -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=dC239ZrpeLmzKNGp7d/PMxvG6dvpCn21nw5Gvt8HUmM=; b=cHk2LUjzKuO08PqN6tHA2ob9kDTBUPqG4IP3XBq4fKgSUvY1lx/X4A+8udBlTZZmF2 MEqAK1fG52bITYGEh+D0yDaUgyBKkj0zOGch7kiknjrrIyzuWIFeYVK8QxS3mj8VVOiJ IHGSOg4/OR0bFhhFxmsZPZ11380o3HIY0wYHc= 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=dC239ZrpeLmzKNGp7d/PMxvG6dvpCn21nw5Gvt8HUmM=; b=GiI5VO94Yck1lZMJoYgDoILgfH/SChl4OOi55a0uPIJXQbwXpIrmTNLMvo0UBrGSsi Zlh3ua4xN+ZoHlx8xlPbSBU2+HSRz4h+bsgheuOUvBYibxCT3vmWCsG+waB1rhKJJPgz CAGDvt+npltEsYfU+mWcHM6N5KA5q3hC9a/y9TtpKL35FKBP7XR2DBUMT1QFIehzUyK9 BTu/5ApAEzoEjIThuvBzKW93ZyVymOLzDj1gIKYFAs0DpdFaokw1wBss7BrdJMV00pck PD6ai8+2h55WApEwAEnC7Vdo9PpeYoMCFw3NXKLiTsbi6iadg7iiPzwHRhytVMTFtIJZ wq2Q== X-Gm-Message-State: AJcUukfhSzIQc1pDp6CUAC4URzJRJcDih/uopA4gOgMt07mECZsOxOEp 8t/nMG9hkRFEiywHnYyHSjjBklSmRLgtQOhf1LW8uQ== X-Received: by 2002:a25:16c6:: with SMTP id 189mr25723340ybw.17.1548786086721; Tue, 29 Jan 2019 10:21:26 -0800 (PST) MIME-Version: 1.0 References: <20190129171143.3945af24@canb.auug.org.au> In-Reply-To: From: Micah Morton Date: Tue, 29 Jan 2019 10:21:16 -0800 Message-ID: Subject: Re: linux-next: Tree for Jan 29 (security/safesetid/) To: Randy Dunlap Cc: Stephen Rothwell , Linux Next Mailing List , Linux Kernel Mailing List , linux-security-module 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 I noticed you don't have the following lines (or some of the other related security ones) in your .config. CONFIG_SECURITY=y CONFIG_SECURITY_WRITABLE_HOOKS=y Seems like we need a 'depends on SECURITY' line (or something like that) in security/safesetid/Kconfig -- let me see if that fixes things and if so I'll upload a patch On Tue, Jan 29, 2019 at 9:04 AM Randy Dunlap wrote: > > On 1/28/19 10:11 PM, Stephen Rothwell wrote: > > Hi all, > > > > Changes since 20190125: > > > > on x86_64: > > ld: security/safesetid/lsm.o:(.data+0x10): undefined reference to `security_hook_heads' > ld: security/safesetid/lsm.o:(.data+0x38): undefined reference to `security_hook_heads' > ld: security/safesetid/lsm.o: in function `safesetid_security_init': > lsm.c:(.init.text+0x14): undefined reference to `security_add_hooks' > > > Full randconfig file is attached. > > -- > ~Randy