Re: [PATCH 3/9] VFS: Introduce a mount context

From: Jeff Layton
Date: Wed May 10 2017 - 09:37:26 EST


On Wed, 2017-05-10 at 14:31 +0100, David Howells wrote:
> Jeff Layton <jlayton@xxxxxxxxxx> 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 <jlayton@xxxxxxxxxx>