summaryrefslogtreecommitdiffstats
path: root/sys/security/mac/mac_framework.h
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2003-08-22 17:49:59 +0000
committerrwatson <rwatson@FreeBSD.org>2003-08-22 17:49:59 +0000
commitf62e7b4be7705785731764278b48512c7d2c8942 (patch)
treea0b81387ac24b4e7677b4724d6ed1a9e498f5635 /sys/security/mac/mac_framework.h
parent598a90a3bdeb68fc5fe0b64e43e4f44fa1b47931 (diff)
downloadFreeBSD-src-f62e7b4be7705785731764278b48512c7d2c8942.zip
FreeBSD-src-f62e7b4be7705785731764278b48512c7d2c8942.tar.gz
Make the elements argument to mac_prepare() be const.
Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
Diffstat (limited to 'sys/security/mac/mac_framework.h')
-rw-r--r--sys/security/mac/mac_framework.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/security/mac/mac_framework.h b/sys/security/mac/mac_framework.h
index 735b07a..0b9227b 100644
--- a/sys/security/mac/mac_framework.h
+++ b/sys/security/mac/mac_framework.h
@@ -86,7 +86,7 @@ int mac_get_link(const char *_path, mac_t _label);
int mac_get_pid(pid_t _pid, mac_t _label);
int mac_get_proc(mac_t _label);
int mac_is_present(const char *_policyname);
-int mac_prepare(mac_t *_label, char *_elements);
+int mac_prepare(mac_t *_label, const char *_elements);
int mac_prepare_file_label(mac_t *_label);
int mac_prepare_ifnet_label(mac_t *_label);
int mac_prepare_process_label(mac_t *_label);
OpenPOWER on IntegriCloud