Fixes two security holes: 'xdr'-bug (in vos, not in arlad), and xfs failes to check for negative numbers in pioctl. Additional changes: NetBSD/sparc64 now supported, 'themis' added, local locking, bug fixes. See http://www.stacken.kth.se/lists/arla-drinkers/2002-08/msg00019.html
23 lines
697 B
Text
23 lines
697 B
Text
# $NetBSD: patch-be,v 1.1 2002/08/20 17:47:42 wennmach Exp $
|
|
|
|
On NetBSD, comment out call to setgetprogname().
|
|
|
|
--- lib/cmd/testc.c.orig Tue Aug 20 17:11:59 2002
|
|
+++ lib/cmd/testc.c Tue Aug 20 17:12:37 2002
|
|
@@ -103,7 +103,16 @@
|
|
struct cmd_syndesc *ts;
|
|
int ret;
|
|
|
|
+/*
|
|
+ * The setprogname(3) function was introduced in NetBSD 1.6.
|
|
+ * It is a function provided for compatibility, and in NetBSD,
|
|
+ * calling setprogname() from main() has no effect.
|
|
+ * In order to for this to work on older NetBSD systems,
|
|
+ * we just comment the call to setprogname() out.
|
|
+ */
|
|
+#if !defined(__NetBSD__)
|
|
setprogname (argv[0]);
|
|
+#endif
|
|
|
|
ts = cmd_CreateSyntax (NULL, MainProc, NULL, "foo");
|
|
|