Re: [SELINUX] Handle fuse binary mount data.

From: Urban Widmark (urban_at_teststation.com)
Date: 03/01/04

  • Next message: Arnd Bergmann: "Re: finding unused globals in the kernel"
    Date:	Mon, 1 Mar 2004 10:48:51 +0100 (CET)
    To: James Morris <jmorris@redhat.com>
    
    

    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@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Arnd Bergmann: "Re: finding unused globals in the kernel"

    Relevant Pages