[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3a99edaf-0365-ec7e-4d2f-1e21dea007ac@gmx.de>
Date: Tue, 13 Feb 2018 12:40:14 +0000
From: "Enrico Weigelt, metux IT consult" <metux@....de>
To: "Serge E. Hallyn" <serge@...lyn.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] p9caps: add Plan9 capability devices
On 13.02.2018 07:16, Serge E. Hallyn wrote:
>> + /* make sure only one instance per namespace can be opened */ > > ... at a time
yeah, right.
> might be better to keep this state in the user_ns itself, would
> avoid kzalloc below.
thought about, but hesitated to touch user_ns. might not be the best
idea when having p9caps as module (OTOH, doesn't need to be a module)
the whole thing might become a bit more complex when introducing
plan9-like unprivileged mount operations. haven't sorted out how to
do that yet.
> Would it be worth doing any privilege checking here?
Which ones should I check ?
--mtx
Powered by blists - more mailing lists