lkml.org 
[lkml]   [2004]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] fmount system call
On Thu, Apr 22, 2004 at 12:54:24PM +0200, Miklos Szeredi wrote:
> This patch adds a new fmount() system call, which is exactly the same
> as mount(), except the second parameter (mount target) is a file
> descriptor instead of a path.
>
> The main advantage is that caller can check permissions on target
> without rename races. This can be done without fmount(), by doing
> chdir() + mount("."), but this only works for directories and uses the
> CWD which can be slightly tricky to restore.

While I like the idea of fmount I think we should use the chance to untangle
the mess the other mount paramters are.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.355 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site