diff options
author | rwatson <rwatson@FreeBSD.org> | 2003-10-25 15:28:20 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2003-10-25 15:28:20 +0000 |
commit | 2e83725f4a390d62e44488987ceae30617d39f03 (patch) | |
tree | 689128a35013112f2e1a02fafd158a5ad5cc11a9 /sys/security/mac/mac_vfs.c | |
parent | e7ca1c45525f573e36727f7c4626f584f01c2427 (diff) | |
download | FreeBSD-src-2e83725f4a390d62e44488987ceae30617d39f03.zip FreeBSD-src-2e83725f4a390d62e44488987ceae30617d39f03.tar.gz |
Make MAC_EXTERNALIZE() and MAC_INTERNALIZE() simply take the object
type, rather than "object_label" as the first argument. This reduces
complexity a little for the consumer, and also makes it easier for
use to rename the underlying entry points in struct mac_policy_obj.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
Diffstat (limited to 'sys/security/mac/mac_vfs.c')
-rw-r--r-- | sys/security/mac/mac_vfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/security/mac/mac_vfs.c b/sys/security/mac/mac_vfs.c index f8daea3..2131d99 100644 --- a/sys/security/mac/mac_vfs.c +++ b/sys/security/mac/mac_vfs.c @@ -185,7 +185,7 @@ mac_externalize_vnode_label(struct label *label, char *elements, { int error; - MAC_EXTERNALIZE(vnode_label, label, elements, outbuf, outbuflen); + MAC_EXTERNALIZE(vnode, label, elements, outbuf, outbuflen); return (error); } @@ -195,7 +195,7 @@ mac_internalize_vnode_label(struct label *label, char *string) { int error; - MAC_INTERNALIZE(vnode_label, label, string); + MAC_INTERNALIZE(vnode, label, string); return (error); } |