Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3814047imm; Tue, 29 May 2018 14:20:11 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLgbFjG7i9BdSBLPkGWH9XScystLBmBd0h65yxW7TbHVH0GAocWs+IR2ukDX6SR0Srzb0e1 X-Received: by 2002:a63:a902:: with SMTP id u2-v6mr48052pge.169.1527628811031; Tue, 29 May 2018 14:20:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527628811; cv=none; d=google.com; s=arc-20160816; b=dsY7f9gg5PJfJVJmjKzLCqLI92630nZQOdJ183gj/yV9FlTgLSGSgx9HL31PINEGNo vTBcuAabYA3XLa3lQh/qbxRxumF+JwhRog20IMpXd3FcHyPQ7MuV0Df5iqcZVjB7Eqh5 REm3FbcMekf7aP73ANOSd4vSDeEKmknjAwWJzzjpjFYa+SrNZrbAdLKqAKjF5nFERej9 L7QmZ3zNUK7HdJ2rePUR7DdgdpE8iVtvAXthIOya+TQm6jqBVluylIP7ur5Sd6W0ONv1 KeW+R1sB75+GJkwhLDQpNyMFAlBiGSxS2xRL0lm0yE+hwKyfSMXVfUqNEFZgQoUNRs4A qSKQ== 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=OqJP9DR1NouqGeR2sSesbMgG2+kPB+8lu8ZVBrZANw8=; b=c0l2QmbpcgFJ9i9a6thB01P+F5CrkpzgywCRG2bZ/cO3Zz/KVqgp37IGzEhIuHsLV5 +Tf+pNZmg+ZLC+NDRv+7+NE1k4PdF9NDq2MH7DhEFmdy12dfQTHPhyoXOk/8ZkXVkW1h Y4bXtPcAonyeRTszdy760qdBqCHyfAmou+3G/iiScdj8CKXTGy+BkVbekeh8Dr79/0xf g83WXB/egpGvDSabtwgrthgjN7r6gzS0uul+bipLD6mnE5S5GRj7l99ict+sQv6yQSKp aLJGXjQVlSr+P+Iy5EhfaPFmGHIOediKGww5tlsRKVjvkmSQ4gn0me4pPPx5gJi5QoSM Yotw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paul-moore-com.20150623.gappssmtp.com header.s=20150623 header.b=fE3QBiTR; 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 a92-v6si33838780pla.291.2018.05.29.14.19.56; Tue, 29 May 2018 14:20:11 -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=fE3QBiTR; 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 S967406AbeE2VSs (ORCPT + 99 others); Tue, 29 May 2018 17:18:48 -0400 Received: from mail-lf0-f48.google.com ([209.85.215.48]:34464 "EHLO mail-lf0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967319AbeE2VSD (ORCPT ); Tue, 29 May 2018 17:18:03 -0400 Received: by mail-lf0-f48.google.com with SMTP id o9-v6so950549lfk.1 for ; Tue, 29 May 2018 14:18:02 -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=OqJP9DR1NouqGeR2sSesbMgG2+kPB+8lu8ZVBrZANw8=; b=fE3QBiTR78SkWN1djnanZKJlJkP/WZTyOSAoarcdkWIbh/JMPBPZOFF/m2CY13NLMT 57lrvybLA5h8GpQMTpRtGtWl7rlYm0hW866n2C9R/SwlGiL2dKRhPJwcQBFX5KxaHflS UWfBacylrd1fXogivsZKkZzYSy0BMcfPa0B26LGsI884X7W/jip2BcqbU7MFkecXiUal 8C6iFlcZCCKlszcP0+woBOMzek7dIYOkmTl8tO2eI7SDPhStQgWDAvClteC7qibvNEg9 ZLTerRa4dSgljwhO237IDGO7tGW5bpwfV8vrAHcDzZ6213gO9ehxjiirRV3ZNNweuMN7 m8ug== 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=OqJP9DR1NouqGeR2sSesbMgG2+kPB+8lu8ZVBrZANw8=; b=X13nBd2HLnJjpgrZljHnP0fUb7jLEKLf7T2g4lJtsfJgvrdk2yy0mVRtC6o/rGkkkF HmdT8BNQazwOqqKt7j1r6fy1qutOg00cRUiSqVNCTBk5m3eFhUqZgbs85IAJ5cL0q0x0 zl5TrHiSZpEbfHSMak3MTR/aq/t+YCByyDgzebeIQakO1A4OjctI18Gi/4u84XXaJH+j FuJWje2zr4o6PNyBfVlYkrftuQM36b2l95vNnIIB258PFIPCKb24pd3hCHkkZEG3S8DS Qp1Tw0cfF9BuFKiQexnsYcZiCTYlbR8K8O9Nkqz8vU3yU6RqbkD1paiEfby78n1akMpw NQew== X-Gm-Message-State: ALKqPwe7nYYJCjJLuwr8TzzFhi9vnK5Pq0zwxSQoplFJplW+ncp5Z2C0 bUuAx2YR/6LiB3ZYE0YQtFFVDqglF16ZxbzjmAgy X-Received: by 2002:a2e:29cf:: with SMTP id p76-v6mr65119ljp.12.1527628681822; Tue, 29 May 2018 14:18:01 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a19:a911:0:0:0:0:0 with HTTP; Tue, 29 May 2018 14:18:01 -0700 (PDT) X-Originating-IP: [108.20.156.165] In-Reply-To: <20180524201105.3179904-5-stefanb@linux.vnet.ibm.com> References: <20180524201105.3179904-1-stefanb@linux.vnet.ibm.com> <20180524201105.3179904-5-stefanb@linux.vnet.ibm.com> From: Paul Moore Date: Tue, 29 May 2018 17:18:01 -0400 Message-ID: Subject: Re: [PATCH 4/8] audit: Allow others to call audit_log_d_path_exe() To: Stefan Berger Cc: zohar@linux.vnet.ibm.com, sgrubb@redhat.com, linux-integrity@vger.kernel.org, linux-audit@redhat.com, linux-kernel@vger.kernel.org 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 Thu, May 24, 2018 at 4:11 PM, Stefan Berger wrote: > Add the prototype for audit_log_d_path_exe() so that it can be > called by IMA later in this series. > > Signed-off-by: Stefan Berger > Reviewed-by: Mimi Zohar > --- > include/linux/audit.h | 5 +++++ > 1 file changed, 5 insertions(+) Acked-by: Paul Moore > diff --git a/include/linux/audit.h b/include/linux/audit.h > index 2deb76c74d10..65eca0795308 100644 > --- a/include/linux/audit.h > +++ b/include/linux/audit.h > @@ -144,6 +144,8 @@ extern void audit_log_untrustedstring(struct audit_buffer *ab, > extern void audit_log_d_path(struct audit_buffer *ab, > const char *prefix, > const struct path *path); > +extern void audit_log_d_path_exe(struct audit_buffer *ab, > + struct mm_struct *mm); > extern void audit_log_key(struct audit_buffer *ab, > char *key); > extern void audit_log_link_denied(const char *operation); > @@ -192,6 +194,9 @@ static inline void audit_log_d_path(struct audit_buffer *ab, > const char *prefix, > const struct path *path) > { } > +static inline void audit_log_d_path_exe(struct audit_buffer *ab, > + struct mm_struct *mm) > +{} > static inline void audit_log_key(struct audit_buffer *ab, char *key) > { } > static inline void audit_log_link_denied(const char *string) > -- > 2.13.6 > > -- > Linux-audit mailing list > Linux-audit@redhat.com > https://www.redhat.com/mailman/listinfo/linux-audit -- paul moore www.paul-moore.com