fd0f980dbe
program tries to install a kernel driver allowing unrestricted access to all hardware ports. Unprivileged users cannot do that anyway. XXX: Should we disallow the installation on Solaris at all because of this?
15 lines
454 B
Text
15 lines
454 B
Text
$NetBSD: patch-al,v 1.1 2007/01/17 02:25:45 rillig Exp $
|
|
|
|
--- libcqcam/solaris-ioaccess.C.orig 2000-08-17 12:31:03.000000000 +0200
|
|
+++ libcqcam/solaris-ioaccess.C 2007-01-17 03:08:14.274891300 +0100
|
|
@@ -4,8 +4,10 @@
|
|
#include <unistd.h>
|
|
#include <sys/types.h>
|
|
#include <sys/stat.h>
|
|
+#if defined(__i386) /* XXX: Are these headers needed at all? */
|
|
#include <sys/sysi86.h>
|
|
#include <sys/v86.h>
|
|
+#endif
|
|
#include <sys/psw.h>
|
|
|
|
#include "solaris-io.h"
|