Re: [PATCH] 9p: attach-per-user
From: Eric Van Hensbergen
Date: Thu Sep 13 2007 - 10:20:37 EST
On 9/12/07, Latchesar Ionkov <lucho@xxxxxxxxxx> wrote:
>
> - allow only one user to access the tree (access=<uid>)
> Only the user with uid can access the v9fs tree. Other users that attempt
> to access it will get EPERM error.
>
While access=<uid> and dfltuid=<some-other-uid> creates an interesting
flexibility in the way things can be used, I'm wondering if
access=<uid> dfltuid=DEFAULT_UID is intuitive, it might be nice for
the default behavior to be setting defltuid to the uid specified in
access when that access option is used. This can be overridden with
the dfltuid option, but I think it makes more sense to attach as the
uid you are restricting access to.
If that's the way we want to go, I think that can be handled in a
separate patch.
I've merged this stuff into my test tree, as soon as regressions pass
and I confirm they compile clean on another architecture I'll push
them into my devel to be picked up by -mm.
-eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/