diff options
author | rwatson <rwatson@FreeBSD.org> | 2005-10-02 09:53:00 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2005-10-02 09:53:00 +0000 |
commit | 98b9a514bdb495edb5c3ef26e2a11a360fdd75dc (patch) | |
tree | 3e0d099e9f9901317a34d146b55834bd2b12cb76 /sys | |
parent | 4a3de87cfe892ce5e9e4b40be039f2547a891155 (diff) | |
download | FreeBSD-src-98b9a514bdb495edb5c3ef26e2a11a360fdd75dc.zip FreeBSD-src-98b9a514bdb495edb5c3ef26e2a11a360fdd75dc.tar.gz |
Complete removal of mac_create_root_mount/mpo_create_root_mount MAC
interfaces.
Obtained from: TrustedBSD Project
Submitted by: Chris Vance <Christopher dot Vance at SPARTA dot com>
MFC after: 3 days
Diffstat (limited to 'sys')
-rw-r--r-- | sys/security/mac/mac_framework.h | 1 | ||||
-rw-r--r-- | sys/security/mac/mac_policy.h | 2 | ||||
-rw-r--r-- | sys/sys/mac.h | 1 | ||||
-rw-r--r-- | sys/sys/mac_policy.h | 2 |
4 files changed, 0 insertions, 6 deletions
diff --git a/sys/security/mac/mac_framework.h b/sys/security/mac/mac_framework.h index e21edec..65d879d 100644 --- a/sys/security/mac/mac_framework.h +++ b/sys/security/mac/mac_framework.h @@ -209,7 +209,6 @@ void mac_create_devfs_symlink(struct ucred *cred, struct mount *mp, int mac_create_vnode_extattr(struct ucred *cred, struct mount *mp, struct vnode *dvp, struct vnode *vp, struct componentname *cnp); void mac_create_mount(struct ucred *cred, struct mount *mp); -void mac_create_root_mount(struct ucred *cred, struct mount *mp); void mac_relabel_vnode(struct ucred *cred, struct vnode *vp, struct label *newlabel); void mac_update_devfsdirent(struct mount *mp, struct devfs_dirent *de, diff --git a/sys/security/mac/mac_policy.h b/sys/security/mac/mac_policy.h index 92c15bb..8573805 100644 --- a/sys/security/mac/mac_policy.h +++ b/sys/security/mac/mac_policy.h @@ -217,8 +217,6 @@ struct mac_policy_ops { struct componentname *cnp); void (*mpo_create_mount)(struct ucred *cred, struct mount *mp, struct label *mntlabel, struct label *fslabel); - void (*mpo_create_root_mount)(struct ucred *cred, struct mount *mp, - struct label *mountlabel, struct label *fslabel); void (*mpo_relabel_vnode)(struct ucred *cred, struct vnode *vp, struct label *vnodelabel, struct label *label); int (*mpo_setlabel_vnode_extattr)(struct ucred *cred, diff --git a/sys/sys/mac.h b/sys/sys/mac.h index e21edec..65d879d 100644 --- a/sys/sys/mac.h +++ b/sys/sys/mac.h @@ -209,7 +209,6 @@ void mac_create_devfs_symlink(struct ucred *cred, struct mount *mp, int mac_create_vnode_extattr(struct ucred *cred, struct mount *mp, struct vnode *dvp, struct vnode *vp, struct componentname *cnp); void mac_create_mount(struct ucred *cred, struct mount *mp); -void mac_create_root_mount(struct ucred *cred, struct mount *mp); void mac_relabel_vnode(struct ucred *cred, struct vnode *vp, struct label *newlabel); void mac_update_devfsdirent(struct mount *mp, struct devfs_dirent *de, diff --git a/sys/sys/mac_policy.h b/sys/sys/mac_policy.h index 92c15bb..8573805 100644 --- a/sys/sys/mac_policy.h +++ b/sys/sys/mac_policy.h @@ -217,8 +217,6 @@ struct mac_policy_ops { struct componentname *cnp); void (*mpo_create_mount)(struct ucred *cred, struct mount *mp, struct label *mntlabel, struct label *fslabel); - void (*mpo_create_root_mount)(struct ucred *cred, struct mount *mp, - struct label *mountlabel, struct label *fslabel); void (*mpo_relabel_vnode)(struct ucred *cred, struct vnode *vp, struct label *vnodelabel, struct label *label); int (*mpo_setlabel_vnode_extattr)(struct ucred *cred, |