Audit path too long errror. Add comments about non-audit events

and placeholders for future audit hooks.
This commit is contained in:
Todd C. Miller
2014-03-25 16:46:00 -06:00
parent 4e3e5077e1
commit 1017ad4e2c
2 changed files with 8 additions and 0 deletions

View File

@@ -1010,6 +1010,7 @@ validate_env_vars(char * const env_vars[])
}
if (bad != NULL) {
bad[blen - 2] = '\0'; /* remove trailing ", " */
/* XXX - audit? */
log_fatal(NO_MAIL,
N_("sorry, you are not allowed to set the following environment variables: %s"), bad);
/* NOTREACHED */