From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752125AbbBQReh (ORCPT ); Tue, 17 Feb 2015 12:34:37 -0500 Received: from zeniv.linux.org.uk ([195.92.253.2]:49468 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751110AbbBQReg (ORCPT ); Tue, 17 Feb 2015 12:34:36 -0500 Date: Tue, 17 Feb 2015 17:34:35 +0000 From: Al Viro To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: [git pull] getname/putname stuff Message-ID: <20150217173435.GK29656@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Rework of getname/getname_kernel/etc., mostly from Paul Moore. Gets rid of quite a pile of kludges between namei and audit... Please, pull from git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git getname2 Shortlog: Al Viro (2): cut down the number of do_path_lookup() callers simpler calling conventions for filename_mountpoint() Paul Moore (5): fs: rework getname_kernel to handle up to PATH_MAX sized filenames fs: create proper filename objects using getname_kernel() audit: enable filename recording via getname_kernel() audit: fix filename matching in __audit_inode() and __audit_inode_child() audit: replace getname()/putname() hacks with reference counters Diffstat: fs/exec.c | 10 ++- fs/namei.c | 143 +++++++++++++++++++++++++---------------- fs/open.c | 10 ++- include/linux/audit.h | 3 - include/linux/fs.h | 9 +-- kernel/audit.h | 17 +---- kernel/auditsc.c | 171 +++++++++++--------------------------------------- 7 files changed, 145 insertions(+), 218 deletions(-)