[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YhliUqSoyMEm5jws@zeniv-ca.linux.org.uk>
Date: Fri, 25 Feb 2022 23:12:18 +0000
From: Al Viro <viro@...iv.linux.org.uk>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v3] tracefs: Set the group ownership in apply_options()
not parse_options()
On Fri, Feb 25, 2022 at 03:34:26PM -0500, Steven Rostedt wrote:
> From: "Steven Rostedt (Google)" <rostedt@...dmis.org>
>
> Al Viro brought it to my attention that the dentries may not be filled
> when the parse_options() is called, causing the call to set_gid() to
> possibly crash. It should only be called if parse_options() succeeds
> totally anyway.
>
> He suggested the logical place to do the update is in apply_options().
Feel free to slap my Acked-by on that variant...
Powered by blists - more mailing lists