lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200707150002.39321.herton@mandriva.com.br>
Date:	Sun, 15 Jul 2007 00:02:39 -0300
From:	Herton Ronaldo Krzesinski <herton@...driva.com.br>
To:	LKML <linux-kernel@...r.kernel.org>
Cc:	Gustavo de Nardin <gustavodn@...driva.com.br>
Subject: [PATCH] Include serial_reg.h with userspace headers

Hi,

As reported by Gustavo de Nardin <gustavodn@...driva.com.br>, while trying to 
compile xosview (http://xosview.sourceforge.net/) with upstream kernel 
headers being used you get the following errors:
serialmeter.cc:48:30: error: linux/serial_reg.h: No such file or directory
serialmeter.cc: In member function 'virtual void 
SerialMeter::checkResources()':
serialmeter.cc:71: error: 'UART_LSR' was not declared in this scope
serialmeter.cc:71: error: 'UART_MSR' was not declared in this scope
...

I don't know if it's right to provide serial_reg.h with userspace headers, may 
be serial_reg.h isn't included for some reason. But if it's ok, the following 
patch adds serial_reg.h to be installed with user space kernel headers:

=================================================

  Add serial_reg.h to userspace kernel headers

  Include serial_reg.h in kernel headers for user space, it is at least
  needed for one program, xosview.

  Signed-off-by: Herton Ronaldo Krzesinski <herton@...driva.com.br>

diff --git a/include/linux/Kbuild b/include/linux/Kbuild
index 127d2d1..eba0ccb 100644
--- a/include/linux/Kbuild
+++ b/include/linux/Kbuild
@@ -137,6 +137,7 @@ header-y += radeonfb.h
 header-y += raw.h
 header-y += resource.h
 header-y += rose.h
+header-y += serial_reg.h
 header-y += smbno.h
 header-y += snmp.h
 header-y += sockios.h

--
[]'s
Herton.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ