diff options
author | rwatson <rwatson@FreeBSD.org> | 2007-04-23 13:36:54 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2007-04-23 13:36:54 +0000 |
commit | 62d2d15116b9a8fc154125c71b470ea40916f727 (patch) | |
tree | 14bfe298fcdbdad74972de0dc9e05993e61787a1 /sys/security/mac_stub/mac_stub.c | |
parent | 7ffc2492aefff9e4350fa66d015e86a00a98f452 (diff) | |
download | FreeBSD-src-62d2d15116b9a8fc154125c71b470ea40916f727.zip FreeBSD-src-62d2d15116b9a8fc154125c71b470ea40916f727.tar.gz |
Rename mac*devfsdirent*() to mac*devfs*() to synchronize with SEDarwin,
where similar data structures exist to support devfs and the MAC
Framework, but are named differently.
Obtained from: TrustedBSD Project
Sponsored by: SPARTA, Inc.
Diffstat (limited to 'sys/security/mac_stub/mac_stub.c')
-rw-r--r-- | sys/security/mac_stub/mac_stub.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/security/mac_stub/mac_stub.c b/sys/security/mac_stub/mac_stub.c index d924395..1934d6a 100644 --- a/sys/security/mac_stub/mac_stub.c +++ b/sys/security/mac_stub/mac_stub.c @@ -245,7 +245,7 @@ stub_setlabel_vnode_extattr(struct ucred *cred, struct vnode *vp, } static void -stub_update_devfsdirent(struct mount *mp, struct devfs_dirent *de, +stub_update_devfs(struct mount *mp, struct devfs_dirent *de, struct label *delabel, struct vnode *vp, struct label *vplabel) { @@ -1434,7 +1434,7 @@ static struct mac_policy_ops mac_stub_ops = .mpo_syscall = stub_syscall, .mpo_init_bpfdesc_label = stub_init_label, .mpo_init_cred_label = stub_init_label, - .mpo_init_devfsdirent_label = stub_init_label, + .mpo_init_devfs_label = stub_init_label, .mpo_init_ifnet_label = stub_init_label, .mpo_init_inpcb_label = stub_init_label_waitcheck, .mpo_init_sysv_msgmsg_label = stub_init_label, @@ -1451,7 +1451,7 @@ static struct mac_policy_ops mac_stub_ops = .mpo_init_vnode_label = stub_init_label, .mpo_destroy_bpfdesc_label = stub_destroy_label, .mpo_destroy_cred_label = stub_destroy_label, - .mpo_destroy_devfsdirent_label = stub_destroy_label, + .mpo_destroy_devfs_label = stub_destroy_label, .mpo_destroy_ifnet_label = stub_destroy_label, .mpo_destroy_inpcb_label = stub_destroy_label, .mpo_destroy_sysv_msgmsg_label = stub_destroy_label, @@ -1498,7 +1498,7 @@ static struct mac_policy_ops mac_stub_ops = .mpo_create_mount = stub_create_mount, .mpo_relabel_vnode = stub_relabel_vnode, .mpo_setlabel_vnode_extattr = stub_setlabel_vnode_extattr, - .mpo_update_devfsdirent = stub_update_devfsdirent, + .mpo_update_devfs = stub_update_devfs, .mpo_create_mbuf_from_socket = stub_create_mbuf_from_socket, .mpo_create_pipe = stub_create_pipe, .mpo_create_posix_sem = stub_create_posix_sem, |