summaryrefslogtreecommitdiffstats
path: root/sys/security/mac_biba/mac_biba.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/security/mac_biba/mac_biba.c')
-rw-r--r--sys/security/mac_biba/mac_biba.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/security/mac_biba/mac_biba.c b/sys/security/mac_biba/mac_biba.c
index f2d973a..9396b38 100644
--- a/sys/security/mac_biba/mac_biba.c
+++ b/sys/security/mac_biba/mac_biba.c
@@ -851,7 +851,7 @@ mac_biba_relabel_vnode(struct ucred *cred, struct vnode *vp,
}
static void
-mac_biba_update_devfsdirent(struct mount *mp, struct devfs_dirent *de,
+mac_biba_update_devfs(struct mount *mp, struct devfs_dirent *de,
struct label *delabel, struct vnode *vp, struct label *vplabel)
{
struct mac_biba *source, *dest;
@@ -3241,7 +3241,7 @@ static struct mac_policy_ops mac_biba_ops =
.mpo_init = mac_biba_init,
.mpo_init_bpfdesc_label = mac_biba_init_label,
.mpo_init_cred_label = mac_biba_init_label,
- .mpo_init_devfsdirent_label = mac_biba_init_label,
+ .mpo_init_devfs_label = mac_biba_init_label,
.mpo_init_ifnet_label = mac_biba_init_label,
.mpo_init_inpcb_label = mac_biba_init_label_waitcheck,
.mpo_init_syncache_label = mac_biba_init_label_waitcheck,
@@ -3260,7 +3260,7 @@ static struct mac_policy_ops mac_biba_ops =
.mpo_init_vnode_label = mac_biba_init_label,
.mpo_destroy_bpfdesc_label = mac_biba_destroy_label,
.mpo_destroy_cred_label = mac_biba_destroy_label,
- .mpo_destroy_devfsdirent_label = mac_biba_destroy_label,
+ .mpo_destroy_devfs_label = mac_biba_destroy_label,
.mpo_destroy_ifnet_label = mac_biba_destroy_label,
.mpo_destroy_inpcb_label = mac_biba_destroy_label,
.mpo_destroy_syncache_label = mac_biba_destroy_label,
@@ -3298,7 +3298,7 @@ static struct mac_policy_ops mac_biba_ops =
.mpo_create_devfs_symlink = mac_biba_create_devfs_symlink,
.mpo_create_mount = mac_biba_create_mount,
.mpo_relabel_vnode = mac_biba_relabel_vnode,
- .mpo_update_devfsdirent = mac_biba_update_devfsdirent,
+ .mpo_update_devfs = mac_biba_update_devfs,
.mpo_associate_vnode_devfs = mac_biba_associate_vnode_devfs,
.mpo_associate_vnode_extattr = mac_biba_associate_vnode_extattr,
.mpo_associate_vnode_singlelabel = mac_biba_associate_vnode_singlelabel,
OpenPOWER on IntegriCloud