diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2007-04-23 13:36:54 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2007-04-23 13:36:54 +0000 |
| commit | 305759909e4d09b2016bcc57f650a09cee23955d (patch) | |
| tree | 14bfe298fcdbdad74972de0dc9e05993e61787a1 /sys/security/mac_mls/mac_mls.c | |
| parent | 78007886c995898a9494648343e5236bca1cbba3 (diff) | |
Notes
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 506f03197f9d..b0f2a61fb90c 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, |
