8e2bbaae71
mktemp(1) to avoid symlink vulnerabilities in tmp file/directory creation/removal (mitre.org CVE-2008-4936). Named 1.1.36nb1 to emphasize difference from upstream. Commit ok'd by agc@.
32 lines
838 B
Text
32 lines
838 B
Text
$NetBSD: patch-ai,v 1.6 2009/10/02 19:21:59 is Exp $
|
|
|
|
--- policy.h.orig 2009-10-02 11:51:33.000000000 +0200
|
|
+++ policy.h
|
|
@@ -593,6 +593,22 @@
|
|
*/
|
|
#define MINFREESPACE 1024
|
|
|
|
+#undef DEFAULT_LOGIN_PROGRAM
|
|
+#define DEFAULT_LOGIN_PROGRAM "/usr/bin/login"
|
|
+
|
|
+#define CNDFILE "dialin.config"
|
|
+
|
|
+#undef MGETTY_PID_FILE
|
|
+#define MGETTY_PID_FILE "/var/run/mg-pid.%s"
|
|
+
|
|
+#undef FAX_LOG
|
|
+#define FAX_LOG "/var/spool/fax/Faxlog"
|
|
+
|
|
+#undef MAILER
|
|
+#define MAILER "/usr/sbin/sendmail"
|
|
+
|
|
+#undef DEVICE_GROUP
|
|
+#define DEVICE_GROUP "wheel"
|
|
/* fax machines exchange so-called "non-standard-frames" that can be
|
|
* used to identify what vendor and model is on the other end.
|
|
* mgetty parses and prints this by default, because it can help
|
|
@@ -601,3 +617,4 @@
|
|
*/
|
|
#define FAX_NSF_PARSER
|
|
|
|
+#define AUTO_PPP
|