diff options
Diffstat (limited to 'sys/security/mac_mls/mac_mls.c')
-rw-r--r-- | sys/security/mac_mls/mac_mls.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/security/mac_mls/mac_mls.c b/sys/security/mac_mls/mac_mls.c index 506f031..b0f2a61 100644 --- a/sys/security/mac_mls/mac_mls.c +++ b/sys/security/mac_mls/mac_mls.c @@ -36,6 +36,7 @@ /* * Developed by the TrustedBSD Project. + * * MLS fixed label mandatory confidentiality policy. */ @@ -815,7 +816,7 @@ mac_mls_relabel_vnode(struct ucred *cred, struct vnode *vp, } static void -mac_mls_update_devfsdirent(struct mount *mp, struct devfs_dirent *de, +mac_mls_update_devfs(struct mount *mp, struct devfs_dirent *de, struct label *delabel, struct vnode *vp, struct label *vplabel) { struct mac_mls *source, *dest; @@ -2866,7 +2867,7 @@ static struct mac_policy_ops mac_mls_ops = .mpo_init = mac_mls_init, .mpo_init_bpfdesc_label = mac_mls_init_label, .mpo_init_cred_label = mac_mls_init_label, - .mpo_init_devfsdirent_label = mac_mls_init_label, + .mpo_init_devfs_label = mac_mls_init_label, .mpo_init_ifnet_label = mac_mls_init_label, .mpo_init_inpcb_label = mac_mls_init_label_waitcheck, .mpo_init_syncache_label = mac_mls_init_label_waitcheck, @@ -2884,7 +2885,7 @@ static struct mac_policy_ops mac_mls_ops = .mpo_init_vnode_label = mac_mls_init_label, .mpo_destroy_bpfdesc_label = mac_mls_destroy_label, .mpo_destroy_cred_label = mac_mls_destroy_label, - .mpo_destroy_devfsdirent_label = mac_mls_destroy_label, + .mpo_destroy_devfs_label = mac_mls_destroy_label, .mpo_destroy_ifnet_label = mac_mls_destroy_label, .mpo_destroy_inpcb_label = mac_mls_destroy_label, .mpo_destroy_syncache_label = mac_mls_destroy_label, @@ -2922,7 +2923,7 @@ static struct mac_policy_ops mac_mls_ops = .mpo_create_devfs_symlink = mac_mls_create_devfs_symlink, .mpo_create_mount = mac_mls_create_mount, .mpo_relabel_vnode = mac_mls_relabel_vnode, - .mpo_update_devfsdirent = mac_mls_update_devfsdirent, + .mpo_update_devfs = mac_mls_update_devfs, .mpo_associate_vnode_devfs = mac_mls_associate_vnode_devfs, .mpo_associate_vnode_extattr = mac_mls_associate_vnode_extattr, .mpo_associate_vnode_singlelabel = mac_mls_associate_vnode_singlelabel, |