summaryrefslogtreecommitdiff
path: root/gnu/usr.sbin/sendmail/smrsh
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2003-01-01 19:59:25 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2003-01-01 19:59:25 +0000
commitca99f1ac04361a3826ef7aa2d09eff30344e9b15 (patch)
tree037fd2f9239003a4df00dbf76d8f53671ce45b78 /gnu/usr.sbin/sendmail/smrsh
parente60a23b69678e8ea276e2e2f3e17ecc02b87d3cb (diff)
update to sendmail 8.12.7
Diffstat (limited to 'gnu/usr.sbin/sendmail/smrsh')
-rw-r--r--gnu/usr.sbin/sendmail/smrsh/smrsh.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/gnu/usr.sbin/sendmail/smrsh/smrsh.c b/gnu/usr.sbin/sendmail/smrsh/smrsh.c
index 36d80d6b254..5bac52f671b 100644
--- a/gnu/usr.sbin/sendmail/smrsh/smrsh.c
+++ b/gnu/usr.sbin/sendmail/smrsh/smrsh.c
@@ -20,7 +20,7 @@ SM_IDSTR(copyright,
Copyright (c) 1993\n\
The Regents of the University of California. All rights reserved.\n")
-SM_IDSTR(id, "@(#)$Sendmail: smrsh.c,v 8.58 2002/05/25 02:41:31 ca Exp $")
+SM_IDSTR(id, "@(#)$Sendmail: smrsh.c,v 8.58.2.2 2002/09/24 21:40:05 ca Exp $")
/*
** SMRSH -- sendmail restricted shell
@@ -290,12 +290,12 @@ main(argc, argv)
{
/* too long */
(void) sm_io_fprintf(smioerr, SM_TIME_DEFAULT,
- "%s: %s not available for sendmail programs (filename too long)\n",
+ "%s: \"%s\" not available for sendmail programs (filename too long)\n",
prg, cmd);
if (p != NULL)
*p = ' ';
#ifndef DEBUG
- syslog(LOG_CRIT, "uid %d: attempt to use %s (filename too long)",
+ syslog(LOG_CRIT, "uid %d: attempt to use \"%s\" (filename too long)",
(int) getuid(), cmd);
#endif /* ! DEBUG */
exit(EX_UNAVAILABLE);
@@ -309,12 +309,12 @@ main(argc, argv)
{
/* can't stat it */
(void) sm_io_fprintf(smioerr, SM_TIME_DEFAULT,
- "%s: %s not available for sendmail programs (stat failed)\n",
+ "%s: \"%s\" not available for sendmail programs (stat failed)\n",
prg, cmd);
if (p != NULL)
*p = ' ';
#ifndef DEBUG
- syslog(LOG_CRIT, "uid %d: attempt to use %s (stat failed)",
+ syslog(LOG_CRIT, "uid %d: attempt to use \"%s\" (stat failed)",
(int) getuid(), cmd);
#endif /* ! DEBUG */
exit(EX_UNAVAILABLE);
@@ -327,12 +327,12 @@ main(argc, argv)
{
/* can't stat it */
(void) sm_io_fprintf(smioerr, SM_TIME_DEFAULT,
- "%s: %s not available for sendmail programs (not a file)\n",
+ "%s: \"%s\" not available for sendmail programs (not a file)\n",
prg, cmd);
if (p != NULL)
*p = ' ';
#ifndef DEBUG
- syslog(LOG_CRIT, "uid %d: attempt to use %s (not a file)",
+ syslog(LOG_CRIT, "uid %d: attempt to use \"%s\" (not a file)",
(int) getuid(), cmd);
#endif /* ! DEBUG */
exit(EX_UNAVAILABLE);
@@ -341,12 +341,12 @@ main(argc, argv)
{
/* oops.... crack attack possiblity */
(void) sm_io_fprintf(smioerr, SM_TIME_DEFAULT,
- "%s: %s not available for sendmail programs\n",
+ "%s: \"%s\" not available for sendmail programs\n",
prg, cmd);
if (p != NULL)
*p = ' ';
#ifndef DEBUG
- syslog(LOG_CRIT, "uid %d: attempt to use %s",
+ syslog(LOG_CRIT, "uid %d: attempt to use \"%s\"",
(int) getuid(), cmd);
#endif /* ! DEBUG */
exit(EX_UNAVAILABLE);