Received: by 10.213.65.68 with SMTP id h4csp133130imn; Mon, 12 Mar 2018 08:58:22 -0700 (PDT) X-Google-Smtp-Source: AG47ELsDFw8EQQnShgJgFBIu6nbvzupeUeIMUFLmTwS63D1jXpRARQfGGU7KMQ5ZPQjzT4uCEaJW X-Received: by 10.98.58.129 with SMTP id v1mr8465254pfj.203.1520870302913; Mon, 12 Mar 2018 08:58:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520870302; cv=none; d=google.com; s=arc-20160816; b=tZgyNgsbT1PPEWt2T0cE61lTM6xEFttQpRLW9euIiTXdb3lccs2lHn7XQx69WSsC8I JIEyEcSeZ5IHUJDJE/NKK0hSdEexXZ4QfajrFy31xPGCuo3NlBcKJK0gQjKrLGpu5H83 TT93tob7A+SDPtk4dmsuvh8RvDkFLdLfH4ldW4epZ4+9rhxaWacMETs6c04PhFG/MX0f W4YWqr9WLEppDKvWvXHOPnmO13LNesoCi/cctFXMbNFwMWCZeG50YgKonF5Na41t2Zyq Yfo1bRigzqseohq5bLtj66fnhHaDPKHGJv50Ku2vRvuC2LU5NnJr8tr8DXKlyV8OumMO gxKA== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=3cfV8GAcvi8ZCWesNgDpdTr/hLyP2382uzYGdduF2dE=; b=fGFwmxGiKV9psG9QQrlxfJQNhmEfZOrl78Pjru2fQdJsl4eE6rN9jAl5q0S4sazjVS BodeNb3WkDl7VxgR7mISxUQPkY9/lkZR7E6KwCeEUaNTJ28klYwquIblmsDGCThOVRG9 ux2zDvjc2ur6iHQ5tLBxDGkcX2Xwxrvmwx7d9YeOHbv8b6gAHSPVrBkNR3mSFCZGDNYR bsGlYsH1RjTE1xsAA4+1D1WBHWMY3qUejn1cFCjyzfgb4xQIlGBMaR4GJJO1ye5FHloP 9KleN2IF689+g5iTge9UL+/08+WcwBoflmwAkUq1rbqcDvaQ7OYd9jJxBSsd6Dhz6wVe ERng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paul-moore-com.20150623.gappssmtp.com header.s=20150623 header.b=B0ml+CVy; 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 k8si5946043pfi.3.2018.03.12.08.58.08; Mon, 12 Mar 2018 08:58:22 -0700 (PDT) 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=@paul-moore-com.20150623.gappssmtp.com header.s=20150623 header.b=B0ml+CVy; 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 S932600AbeCLP4m (ORCPT + 99 others); Mon, 12 Mar 2018 11:56:42 -0400 Received: from mail-lf0-f65.google.com ([209.85.215.65]:43743 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932494AbeCLP4l (ORCPT ); Mon, 12 Mar 2018 11:56:41 -0400 Received: by mail-lf0-f65.google.com with SMTP id q69-v6so23995896lfi.10 for ; Mon, 12 Mar 2018 08:56:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=3cfV8GAcvi8ZCWesNgDpdTr/hLyP2382uzYGdduF2dE=; b=B0ml+CVya1LYsfoJWKRhl1xMX1L7CynBQxb8Nve33m53Qd4qkBdm3d+7ukd8NM28xb 1RgOGyRi7jXz1rJwy+63G+IycMaNy0a2Dxgrg9SYhbp8rZTzQGpBYN/u97GbjwMw/kL5 BpqzmMC0LEtbKdUuTx/BEW2jnNex/jWkv5/79Go3MaUcBJD6SQ/o0C0WJC02Z2eFXq1P 5lvALCO+s8ceEt0fJZARjfdIKxykmwKP7ttLPx5MovFsWKtj6Ti/YhYXT/yziaUdUn3H WUO0gCDPt7nImVdf8Q94N5BFdlDfT73vCuiQ+f+ZGrgFaV09e9HW/gD/4yY3of9iIp6l SzwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=3cfV8GAcvi8ZCWesNgDpdTr/hLyP2382uzYGdduF2dE=; b=oCyuPMZgmXX7ivSPmCjUgr5pKzcHTABq2Jk8MvGaVAQwOG32imT2KNNOgu+/YcZ0MT Hi4aEKrwgHqTqSSIsSVh87z0u+XPcJgtQI9YQmxUJE1b/qowwJEwnDwO40mmGDq6Cwkx jh8Y7Ifp68LK047emMOxr43FeZDOV5RoaxebaR9KJPDKKO8tA16f8QxaTV3ugdKmbxbz kf5+fIraTxJ4pWtpldHg1HuRGEka/QKf5ZaqtOGzcvxNKK4rdiNqH9bkbRkoLLIvvwLB bk5hkmR498HonkN0XiC5Sego4gGKUqZhySMdzHo1YpfPeb3KJU4pu6eu/+PDUwxIw6fm KGFQ== X-Gm-Message-State: AElRT7Hz94yIlnXj/fvAnT5vDlIf9F22BwlQ4LwzfA6JuixjcV0fsz/e Ykkt+pbRl6dYIejmgDx/mnUWjVmpSFzGK16JUp2q X-Received: by 10.46.145.90 with SMTP id q26mr5325151ljg.83.1520870199588; Mon, 12 Mar 2018 08:56:39 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a19:d8a7:0:0:0:0:0 with HTTP; Mon, 12 Mar 2018 08:56:38 -0700 (PDT) X-Originating-IP: [108.20.156.165] In-Reply-To: <20180312153049.udobftmchbpb7lou@madcap2.tricolour.ca> References: <9ed76ccb239078ad5a2808d23c7b7f1738b0b2b8.1520835596.git.rgb@redhat.com> <20180312153049.udobftmchbpb7lou@madcap2.tricolour.ca> From: Paul Moore Date: Mon, 12 Mar 2018 11:56:38 -0400 Message-ID: Subject: Re: [PATCH ghak21 V2 2/4] audit: link denied should not directly generate PATH record To: Richard Guy Briggs Cc: Linux-Audit Mailing List , 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 On Mon, Mar 12, 2018 at 11:30 AM, Richard Guy Briggs wrote: > On 2018-03-12 11:05, Paul Moore wrote: >> On Mon, Mar 12, 2018 at 2:31 AM, Richard Guy Briggs wrote: >> > Audit link denied events generate duplicate PATH records which disagree >> > in different ways from symlink and hardlink denials. >> > audit_log_link_denied() should not directly generate PATH records. >> > While we're at it, remove the now useless struct path argument. >> > >> > See: https://github.com/linux-audit/audit-kernel/issues/21 >> > Signed-off-by: Richard Guy Briggs >> > --- >> > fs/namei.c | 2 +- >> > include/linux/audit.h | 6 ++---- >> > kernel/audit.c | 17 ++--------------- >> > 3 files changed, 5 insertions(+), 20 deletions(-) >> >> I have no objection to the v2 change of removing the link parameter, >> but this patch can not be merged as-is because the v1 patch has >> already been merged into audit/next (as stated on the mailing list). > > Yes, I self-NACKed that patch. > > https://www.redhat.com/archives/linux-audit/2018-March/msg00070.html > > Is it not possible to drop it, or would you have to do a revert to avoid > a rebase? Yes, it is possible to drop a patch from the audit/next patch stack, but dropping patches is considered *very* bad form and not something I want to do without a Very Good Reason. While the v2 patch is the "right" patch, the v1 patch is not dangerous, so I would rather you just build on top of what is currently in audit/next. -- paul moore www.paul-moore.com