Date: Thu, 20 Nov 2003 11:20:51 -0800 (PST) From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 42811 for review Message-ID: <200311201920.hAKJKp7t089851@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=42811 Change 42811 by rwatson@rwatson_tislabs on 2003/11/20 11:20:17 If using MAC, force MNT_MULTILABEL in devfs mounts so that we don't "create"/"associate" vnodes more than once. Affected files ... .. //depot/projects/trustedbsd/sedarwin/apsl/xnu/bsd/miscfs/devfs/devfs_vfsops.c#2 edit Differences ... ==== //depot/projects/trustedbsd/sedarwin/apsl/xnu/bsd/miscfs/devfs/devfs_vfsops.c#2 (text+ko) ==== @@ -156,6 +156,9 @@ mp->mnt_stat.f_fsid.val[0] = (int32_t)(void *)devfs_mp_p; mp->mnt_stat.f_fsid.val[1] = mp->mnt_stat.f_type; mp->mnt_flag |= MNT_LOCAL; +#ifdef MAC + mp->mnt_flag |= MNT_MULTILABEL; +#endif DEVFS_LOCK(p); error = dev_dup_plane(devfs_mp_p);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311201920.hAKJKp7t089851>