freebsd-skq/sys/amd64/amd64
Rodney W. Grimes 78d172cab6 From guido@gvr.win.tue.nl Sat Aug 7 06:58:04 1993
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.
1993-08-09 06:16:42 +00:00
..
autoconf.c Removed the asking for a root file system when booting from floppy as that 1993-08-08 06:24:15 +00:00
db_disasm.c Fixed two occarances of ldos which should have been lods. 1993-07-12 09:34:38 +00:00
db_interface.c Initial import, 0.1 + pk 0.2.4-B1 1993-06-12 14:58:17 +00:00
db_trace.c Initial import, 0.1 + pk 0.2.4-B1 1993-06-12 14:58:17 +00:00
fpu.c Modified attach printf's so that the output is compatible with the "new" 1993-07-15 17:53:14 +00:00
genassym.c Initial import, 0.1 + pk 0.2.4-B1 1993-06-12 14:58:17 +00:00
locore.s * Applied fixes from Bruce Evans to fix COW bugs, >1MB kernel loading, 1993-07-27 10:52:31 +00:00
locore.S * Applied fixes from Bruce Evans to fix COW bugs, >1MB kernel loading, 1993-07-27 10:52:31 +00:00
machdep.c From guido@gvr.win.tue.nl Sat Aug 7 06:58:04 1993 1993-08-09 06:16:42 +00:00
mem.c From guido@gvr.win.tue.nl Sat Aug 7 06:58:04 1993 1993-08-09 06:16:42 +00:00
pmap.c * Applied fixes from Bruce Evans to fix COW bugs, >1MB kernel loading, 1993-07-27 10:52:31 +00:00
sys_machdep.c Updated kernel files to move occurances of "struct args" syscall 1993-07-16 20:50:44 +00:00
trap.c * Applied fixes from Bruce Evans to fix COW bugs, >1MB kernel loading, 1993-07-27 10:52:31 +00:00
tsc.c Initial import, 0.1 + pk 0.2.4-B1 1993-06-12 14:58:17 +00:00
vm_machdep.c * Applied fixes from Bruce Evans to fix COW bugs, >1MB kernel loading, 1993-07-27 10:52:31 +00:00