mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-24 16:10:11 +00:00
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. |
||
---|---|---|
.. | ||
alpha/include/pc | ||
amd64 | ||
conf | ||
ddb | ||
dev | ||
i386 | ||
isa | ||
kern | ||
powerpc/include | ||
scsi | ||
sys |