From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932213AbdJYG4n (ORCPT ); Wed, 25 Oct 2017 02:56:43 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:20708 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751328AbdJYG4k (ORCPT ); Wed, 25 Oct 2017 02:56:40 -0400 Date: Wed, 25 Oct 2017 08:56:28 +0200 (CEST) From: James Morris X-X-Sender: james.l.morris@localhost To: Casey Schaufler cc: LSM , Linux Audit , Paul Moore , LKLM Subject: Re: [PATCH] Audit: remove unused audit_log_secctx function In-Reply-To: <7138b693-9f67-05b1-926a-f0b8ca4035d2@schaufler-ca.com> Message-ID: References: <7138b693-9f67-05b1-926a-f0b8ca4035d2@schaufler-ca.com> User-Agent: Alpine 2.20 (LFD 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Source-IP: userv0022.oracle.com [156.151.31.74] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 24 Oct 2017, Casey Schaufler wrote: > The function audit_log_secctx() is unused in the upstream kernel. > All it does is wrap another function that doesn't need wrapping. > It claims to give you the SELinux context, but that is not true if > you are using a different security module. > > Signed-off-by: Casey Schaufler Reviewed-by: James Morris -- James Morris