diff options
author | Richard A Nelson (Rick) <cowboy@debian.org> | 2000-05-25 17:00:00 -0500 |
---|---|---|
committer | Andreas Beckmann <debian@abeckmann.de> | 2012-10-01 19:58:40 +0200 |
commit | e138436bd1943587e16b03505f8b8cc0307c4211 (patch) | |
tree | 23d7165ea5ea99bb43ae1568f4b74d5e59a3bddb /debian/patches/patch.DOS | |
parent | 4e2c4cdcd62c4ab1d5e884e8afaa0bbe1b981e42 (diff) | |
download | sendmail-e138436bd1943587e16b03505f8b8cc0307c4211.tar.gz |
Imported Debian patch 8.9.3-23debian/8.9.3-23
Diffstat (limited to 'debian/patches/patch.DOS')
-rw-r--r-- | debian/patches/patch.DOS | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/patch.DOS b/debian/patches/patch.DOS new file mode 100644 index 0000000..7b595b9 --- /dev/null +++ b/debian/patches/patch.DOS @@ -0,0 +1,21 @@ +--- main.c~orig Sat Jan 9 15:31:13 1999 ++++ main.c Wed Nov 17 19:04:44 1999 +@@ -984,6 +984,18 @@ + usrerr("Permission denied"); + finis(FALSE, EX_USAGE); + } ++ if (OpMode == MD_INITALIAS && ++ RealUid != 0 && ++ RealUid != TrustedUid && ++ !wordinclass(RealUserName, 't')) ++ { ++ if (LogLevel > 1) ++ sm_syslog(LOG_ALERT, NOQID, ++ "user %d attempted to rebuild the alias map", ++ RealUid); ++ usrerr("Permission denied"); ++ finis(FALSE, EX_USAGE); ++ } + + if (MeToo) + BlankEnvelope.e_flags |= EF_METOO; |