From da77b2fa6bf3355ab40ef6047a11108dc1770f77 Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Sat, 25 Oct 2003 15:28:20 +0000 Subject: 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 --- sys/security/mac/mac_process.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/security/mac/mac_process.c') diff --git a/sys/security/mac/mac_process.c b/sys/security/mac/mac_process.c index 1613b4179781..00c45f8d077c 100644 --- a/sys/security/mac/mac_process.c +++ b/sys/security/mac/mac_process.c @@ -152,7 +152,7 @@ mac_externalize_cred_label(struct label *label, char *elements, { int error; - MAC_EXTERNALIZE(cred_label, label, elements, outbuf, outbuflen); + MAC_EXTERNALIZE(cred, label, elements, outbuf, outbuflen); return (error); } @@ -162,7 +162,7 @@ mac_internalize_cred_label(struct label *label, char *string) { int error; - MAC_INTERNALIZE(cred_label, label, string); + MAC_INTERNALIZE(cred, label, string); return (error); } -- cgit v1.3