Re: RFC [PATCH 1/6] VFS: Add GPL_EXPORTED function vfs_kern_mount()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 11, 2006 at 02:05:30PM -0400, Trond Myklebust wrote:
> From: Trond Myklebust <Trond.Myklebust@xxxxxxxxxx>
> 
> do_kern_mount() does not allow the kernel to use private mount interfaces
> without exposing the same interfaces to userland. The problem is that the
> filesystem is referenced by name, thus meaning that it and its mount
> interface must be registered in the global filesystem list.
> 
> vfs_kern_mount() passes the struct file_system_type as an explicit
> parameter in order to overcome this limitation.

Looks good.  In addition please switch kern_mount to use it instead
of converting from struct file_system_type to name and back.  Also
all other callers of do_kern_mount except for do_new_mount should
probably use it directly instead of doing the name lookup.  Except
for simple_pin_fs() which will need a paramter change all those
would be trivial aswell.  So instead of adding another entry point care
to switch the existing one to saner prototype and the sane name?

-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux