Re: [PATCH 3/3] binderfs_test: switch from /dev to /tmp as mountpoint

From: Christian Brauner
Date: Fri Mar 13 2020 - 08:55:29 EST


On Thu, Mar 12, 2020 at 04:54:25PM -0700, Kees Cook wrote:
> On Thu, Mar 12, 2020 at 02:15:31PM +0100, Christian Brauner wrote:
> > Unprivileged users will be able to create directories in there. The
> > unprivileged test for /dev wouldn't have worked on most systems.
> >
> > Signed-off-by: Christian Brauner <christian.brauner@xxxxxxxxxx>
>
> Seems good. (Though would a dynamic location be better?
> mkstemp()-style?)

Yeah, when I originally wrote binderfs that was really more of a
test-stub than anything else. I'll see if I can switch to something less
hard-coded. :)