Re: [SELINUX] Handle fuse binary mount data.

From: Urban Widmark
Date: Mon Mar 01 2004 - 04:52:28 EST


On Sun, 29 Feb 2004, James Morris wrote:

> It seems more like a property of the filesystem type: perhaps add
> FS_BINARY_MOUNTDATA to fs_flags for such filesystems, per the patch below.
...
> diff -urN -X dontdiff linux-2.6.3-mm4.o/fs/smbfs/inode.c linux-2.6.3-mm4.w/fs/smbfs/inode.c
> --- linux-2.6.3-mm4.o/fs/smbfs/inode.c 2003-10-15 08:53:19.000000000 -0400
> +++ linux-2.6.3-mm4.w/fs/smbfs/inode.c 2004-02-29 19:50:58.172037088 -0500
> @@ -778,6 +778,7 @@
> .name = "smbfs",
> .get_sb = smb_get_sb,
> .kill_sb = kill_anon_super,
> + .fs_flags = FS_BINARY_MOUNTDATA,
> };
>
> static int __init init_smb_fs(void)

smbfs does not have a binary mountdata, unless the smbmount used is really
old (samba 2.0). If that means that it should get a FS_BINARY_MOUNTDATA
flag or not, I don't know.

/Urban

-
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/