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
This commit is contained in:
parent
ac827533df
commit
5bb52dc4d5
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user