summaryrefslogtreecommitdiffstats
path: root/sys/security/mac/mac_pipe.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_pipe.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_pipe.c')
-rw-r--r--sys/security/mac/mac_pipe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/security/mac/mac_pipe.c b/sys/security/mac/mac_pipe.c
index cf54384..6c865b4 100644
--- a/sys/security/mac/mac_pipe.c
+++ b/sys/security/mac/mac_pipe.c
@@ -113,7 +113,7 @@ mac_externalize_pipe_label(struct label *label, char *elements,
{
int error;
- MAC_EXTERNALIZE(pipe_label, label, elements, outbuf, outbuflen);
+ MAC_EXTERNALIZE(pipe, label, elements, outbuf, outbuflen);
return (error);
}
@@ -123,7 +123,7 @@ mac_internalize_pipe_label(struct label *label, char *string)
{
int error;
- MAC_INTERNALIZE(pipe_label, label, string);
+ MAC_INTERNALIZE(pipe, label, string);
return (error);
}
OpenPOWER on IntegriCloud