Subject: Re: [email@example.com: Re: can I run things in kernel space?]
To: None <macbsd-development@NetBSD.ORG>
From: Daniel Risacher <firstname.lastname@example.org>
Date: 05/06/1995 14:17:32
thanks to all those who answered my /dev/mem questions!
I eventually decided that /dev/mem does not support
the mmap() system call, by looking at conf.c and mem.c
I can, however, open /dev/mem O_RDWR by changing
the kernel security level back to 0. Unfortunately,
(but perhaps wisely) only process 1 can do this,
so I had to recompile kern_sysctl.c to do it.
I was trying to access the VIA from user space to
hack on the ADB without recoompiling the kernel and
rebooting everytime I try something. This can probably
be done w/o mmap().