From f62e7b4be7705785731764278b48512c7d2c8942 Mon Sep 17 00:00:00 2001 From: rwatson Date: Fri, 22 Aug 2003 17:49:59 +0000 Subject: Make the elements argument to mac_prepare() be const. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories --- sys/security/mac/mac_framework.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/security') 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); -- cgit v1.1