From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753251AbdEJNhX (ORCPT ); Wed, 10 May 2017 09:37:23 -0400 Received: from mail-qk0-f178.google.com ([209.85.220.178]:35557 "EHLO mail-qk0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753013AbdEJNhV (ORCPT ); Wed, 10 May 2017 09:37:21 -0400 Message-ID: <1494423438.2688.15.camel@redhat.com> Subject: Re: [PATCH 3/9] VFS: Introduce a mount context From: Jeff Layton To: David Howells Cc: Miklos Szeredi , viro , linux-fsdevel , linux-nfs@vger.kernel.org, lkml Date: Wed, 10 May 2017 09:37:18 -0400 In-Reply-To: <25115.1494423114@warthog.procyon.org.uk> References: <1494422409.2688.13.camel@redhat.com> <149382747487.30481.15428192741961545429.stgit@warthog.procyon.org.uk> <149382749941.30481.11685229083280551867.stgit@warthog.procyon.org.uk> <10943.1494284264@warthog.procyon.org.uk> <15762.1494322915@warthog.procyon.org.uk> <1494355884.2659.18.camel@redhat.com> <30059.1494403518@warthog.procyon.org.uk> <25115.1494423114@warthog.procyon.org.uk> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6 (3.22.6-2.fc25) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2017-05-10 at 14:31 +0100, David Howells wrote: > Jeff Layton wrote: > > > One idea might be to always kfree it on syscall entry > > You can't do that otherwise there's no way to retrieve the strings. > > True...you'd have to exempt the syscall that does the retrieving. -- Jeff Layton