summaryrefslogtreecommitdiffstats
path: root/sys/security/mac/mac_framework.h
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2007-04-23 13:36:54 +0000
committerrwatson <rwatson@FreeBSD.org>2007-04-23 13:36:54 +0000
commit62d2d15116b9a8fc154125c71b470ea40916f727 (patch)
tree14bfe298fcdbdad74972de0dc9e05993e61787a1 /sys/security/mac/mac_framework.h
parent7ffc2492aefff9e4350fa66d015e86a00a98f452 (diff)
downloadFreeBSD-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/mac_framework.h')
-rw-r--r--sys/security/mac/mac_framework.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/security/mac/mac_framework.h b/sys/security/mac/mac_framework.h
index 64b4b90..772fe37 100644
--- a/sys/security/mac/mac_framework.h
+++ b/sys/security/mac/mac_framework.h
@@ -91,7 +91,7 @@ struct vop_setlabel_args;
*/
void mac_init_bpfdesc(struct bpf_d *);
void mac_init_cred(struct ucred *);
-void mac_init_devfsdirent(struct devfs_dirent *);
+void mac_init_devfs(struct devfs_dirent *);
void mac_init_ifnet(struct ifnet *);
int mac_init_inpcb(struct inpcb *, int);
void mac_init_sysv_msgmsg(struct msg *);
@@ -112,7 +112,7 @@ void mac_copy_mbuf_tag(struct m_tag *, struct m_tag *);
void mac_copy_vnode_label(struct label *, struct label *);
void mac_destroy_bpfdesc(struct bpf_d *);
void mac_destroy_cred(struct ucred *);
-void mac_destroy_devfsdirent(struct devfs_dirent *);
+void mac_destroy_devfs(struct devfs_dirent *);
void mac_destroy_ifnet(struct ifnet *);
void mac_destroy_inpcb(struct inpcb *);
void mac_destroy_sysv_msgmsg(struct msg *);
@@ -152,7 +152,7 @@ int mac_create_vnode_extattr(struct ucred *cred, struct mount *mp,
void mac_create_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,
+void mac_update_devfs(struct mount *mp, struct devfs_dirent *de,
struct vnode *vp);
/*
OpenPOWER on IntegriCloud