summaryrefslogtreecommitdiffstats
path: root/sys/security/mac/mac_process.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2003-10-25 15:28:20 +0000
committerrwatson <rwatson@FreeBSD.org>2003-10-25 15:28:20 +0000
commit2e83725f4a390d62e44488987ceae30617d39f03 (patch)
tree689128a35013112f2e1a02fafd158a5ad5cc11a9 /sys/security/mac/mac_process.c
parente7ca1c45525f573e36727f7c4626f584f01c2427 (diff)
downloadFreeBSD-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_process.c')
-rw-r--r--sys/security/mac/mac_process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/security/mac/mac_process.c b/sys/security/mac/mac_process.c
index 1613b41..00c45f8 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);
}
OpenPOWER on IntegriCloud