Messages in this thread |  | | | Date | Mon, 6 Jan 1997 02:41:53 -0600 | | From | (Todd T. Fries) | | Subject | what is wrong with this? | |
#include <asm/io.h>
void main()
{
long port;
short data;
port = 0x8370;
data = 0;
iopl(3);
(*(volatile unsigned short *)(port))=0;
}
running this as root should not segv. However, it does. Why?
tried linux 2.1.14 and 2.1.20...
-- Todd T. Fries .. friest@acm.org
|  |