Messages in this thread | | | Date | Thu, 22 Apr 2004 12:45:03 +0100 | From | Christoph Hellwig <> | Subject | Re: [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/
| |