summaryrefslogtreecommitdiffstats
path: root/contrib/openbsm/bsm
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2006-08-28 17:26:38 +0000
committerimp <imp@FreeBSD.org>2006-08-28 17:26:38 +0000
commit1b7c0c7165fc409f74141fc91a0975e804a203fd (patch)
tree56f407798aad8510012936784a0b327a21bc3b02 /contrib/openbsm/bsm
parent3dabba580bd939eae90efba54984d0c4de64eb3e (diff)
downloadFreeBSD-src-1b7c0c7165fc409f74141fc91a0975e804a203fd.zip
FreeBSD-src-1b7c0c7165fc409f74141fc91a0975e804a203fd.tar.gz
Import on vendor branch two files that have been tweaked to unbreak
the build. The openbsm folks are free to fix it in any other way they see fit once they resurface. Basically, make everything always be const char **, even though const char ** usually should be 'const char * const *' in most cases. This makes the three different definitions consistant and allows world to build.
Diffstat (limited to 'contrib/openbsm/bsm')
-rw-r--r--contrib/openbsm/bsm/audit_record.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/openbsm/bsm/audit_record.h b/contrib/openbsm/bsm/audit_record.h
index 79d13c3..1382830 100644
--- a/contrib/openbsm/bsm/audit_record.h
+++ b/contrib/openbsm/bsm/audit_record.h
@@ -322,8 +322,8 @@ token_t *au_to_subject64_ex(au_id_t auid, uid_t euid, gid_t egid, uid_t ruid,
token_t *au_to_exec_args(char *args, int argc);
token_t *au_to_exec_env(char *envs, int envc);
#else
-token_t *au_to_exec_args(char **argv);
-token_t *au_to_exec_env(char **envp);
+token_t *au_to_exec_args(const char **argv);
+token_t *au_to_exec_env(const char **envp);
#endif
token_t *au_to_text(char *text);
token_t *au_to_kevent(struct kevent *kev);
OpenPOWER on IntegriCloud