diff --git a/sys/security/mac/mac_framework.h b/sys/security/mac/mac_framework.h index e21edec84eec..65d879dca1a2 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 92c15bbda945..8573805c8178 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 e21edec84eec..65d879dca1a2 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 92c15bbda945..8573805c8178 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,