78d172cab6
I posted some patches on the 386bsd_patchkit list to prohibit io access. Because of a noninitialised filed in the tss, this was possible. It is included below as the patch to machdep.c However, when you do this *necessary* fix (security), it will be impossible form within user space to do io. therefor, I included another fix: when you open /dev/io, you get the access. Of course you can rewrite it to use another minor and thus giving access to the iospace when /dev/mem is opened, e.g. NOTE: The /dev/io entry has not been added to /dev/MAKEDEV yet. The patch is in NetBSD. |
||
---|---|---|
.. | ||
autoconf.c | ||
db_disasm.c | ||
db_interface.c | ||
db_trace.c | ||
fpu.c | ||
genassym.c | ||
locore.s | ||
locore.S | ||
machdep.c | ||
mem.c | ||
pmap.c | ||
sys_machdep.c | ||
trap.c | ||
tsc.c | ||
vm_machdep.c |