From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030215AbcDLWb7 (ORCPT ); Tue, 12 Apr 2016 18:31:59 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:36050 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965013AbcDLWbz (ORCPT ); Tue, 12 Apr 2016 18:31:55 -0400 Date: Tue, 12 Apr 2016 23:31:17 +0100 From: Al Viro To: Kees Cook Cc: James Morris , Joe Perches , Mimi Zohar , Andy Shevchenko , Andrew Morton , "Serge E. Hallyn" , Jonathan Corbet , Kalle Valo , Mauro Carvalho Chehab , Guenter Roeck , Jiri Slaby , Paul Moore , Stephen Smalley , Casey Schaufler , Andreas Gruenbacher , Rasmus Villemoes , Ulf Hansson , Vitaly Kuznetsov , linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [PATCH v4 5/6] fs: provide function to report enum strings Message-ID: <20160412223117.GP25498@ZenIV.linux.org.uk> References: <1460480085-32263-1-git-send-email-keescook@chromium.org> <1460480085-32263-6-git-send-email-keescook@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1460480085-32263-6-git-send-email-keescook@chromium.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 12, 2016 at 09:54:44AM -0700, Kees Cook wrote: > Providing human-readable (and audit-parsable) strings for the READING_* > enums is needed by some LSMs. > > Signed-off-by: Kees Cook > --- > fs/exec.c | 19 +++++++++++++++++++ > include/linux/fs.h | 1 + > 2 files changed, 20 insertions(+) What the devil is that doing in fs/exec.c, of all places?