Date: Wed, 5 May 1999 10:23:50 -0400 (EDT) From: Luoqi Chen <luoqi@watermarkgroup.com> To: dfr@nlsystems.com, fygrave@tigerteam.net Cc: freebsd-hackers@FreeBSD.ORG, tech@openbsd.org Subject: Re: io ports reading/writing Message-ID: <199905051423.KAA09357@lor.watermarkgroup.com>
next in thread | raw e-mail | index | archive | help
> ~ The access control for io ports is controlled by the file-system > ~ permissions on /dev/io. In a standard setup, only root can access this > ~ device. > ~ > > yes. But I was refering to linux scheme, where you can set the port-range, > so the code wouldn't make any unintentional damage. (like if you're working > with cmos you could only permit 0x70/0x71 ports, so even if code goes nuts, > your disks will be safe). This is basically programmer's problem of course, > but the feature is very handy. > We have this level of io permission control, through the i386_g/set_ioperm syscalls (man 2 i386_get_ioperm). You will need to enable kernel option VM86 to use them. -lq To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905051423.KAA09357>