summaryrefslogtreecommitdiffstats
path: root/sys/fs/devfs/devfs.h
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2002-12-09 03:44:28 +0000
committerrwatson <rwatson@FreeBSD.org>2002-12-09 03:44:28 +0000
commitc5caffe9c429caa50e5fbb079d7ee14257116c62 (patch)
treed6e9f6d24a2d8fb99e7d51ac22d960517e26182b /sys/fs/devfs/devfs.h
parent5fcceddc0789f268ea6002c625215947c0cbe4b9 (diff)
downloadFreeBSD-src-c5caffe9c429caa50e5fbb079d7ee14257116c62.zip
FreeBSD-src-c5caffe9c429caa50e5fbb079d7ee14257116c62.tar.gz
Remove dm_root entry from struct devfs_mount. It's never set, and is
unused. Replace it with a dm_mount back-pointer to the struct mount that the devfs_mount is associated with. Export that pointer to MAC Framework entry points, where all current policies don't use the pointer. This permits the SEBSD port of SELinux's FLASK/TE to compile out-of-the-box on 5.0-CURRENT with full file system labeling support. Approved by: re (murray) Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
Diffstat (limited to 'sys/fs/devfs/devfs.h')
-rw-r--r--sys/fs/devfs/devfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/devfs/devfs.h b/sys/fs/devfs/devfs.h
index a30bbde..7c660ec 100644
--- a/sys/fs/devfs/devfs.h
+++ b/sys/fs/devfs/devfs.h
@@ -168,7 +168,7 @@ struct devfs_dirent {
};
struct devfs_mount {
- struct vnode *dm_root; /* Root node */
+ struct mount *dm_mount;
struct devfs_dirent *dm_rootdir;
struct devfs_dirent *dm_basedir;
unsigned dm_generation;
OpenPOWER on IntegriCloud