minix/etc/drivers.conf

468 lines
5.8 KiB
Text
Raw Normal View History

driver floppy
{
irq 6;
io 3f0:8
0:10 # XXX DMA controller
81 # Also DMA
;
system
UMAP # 14
IRQCTL # 19
DEVIO # 21
VDEVIO # 23
SETALARM # 24
TIMES # 25
2008-12-11 15:50:28 +01:00
GETINFO # 26
SAFECOPYFROM # 31
SAFECOPYTO # 32
2009-01-09 18:47:38 +01:00
PROFBUF # 38
SYSCTL
;
};
driver dp8390
{
system
IRQCTL # 19
DEVIO # 21
SDEVIO # 22
SETALARM # 24
GETINFO # 26
SAFECOPYFROM # 31
SAFECOPYTO # 32
SETGRANT # 34
2009-01-09 18:47:38 +01:00
PROFBUF # 38
SYSCTL
;
pci device 10ec/8029;
uid 0;
};
driver dpeth
{
system
IRQCTL # 19
DEVIO # 21
SDEVIO # 22
SETALARM # 24
GETINFO # 26
SAFECOPYFROM # 31
SAFECOPYTO # 32
SETGRANT # 34
2009-01-09 18:47:38 +01:00
PROFBUF # 38
SYSCTL
;
uid 0;
};
2008-07-22 17:11:01 +02:00
driver lance
{
system
UMAP # 14
IRQCTL # 19
DEVIO # 21
#SDEVIO # 22
TIMES # 25
GETINFO # 26
SAFECOPYFROM # 31
SAFECOPYTO # 32
SETGRANT # 34
2009-01-09 18:47:38 +01:00
PROFBUF # 38
SYSCTL
2008-07-22 17:11:01 +02:00
;
pci device 1022/2000;
uid 0;
};
driver rtl8139
{
system
UMAP # 14
IRQCTL # 19
DEVIO # 21
#SDEVIO # 22
SETALARM # 24
TIMES # 25
GETINFO # 26
SAFECOPYFROM # 31
SAFECOPYTO # 32
SETGRANT # 34
MAPDMA # 41
2009-01-09 18:47:38 +01:00
PROFBUF # 38
SYSCTL
;
pci device 10ec/8139;
pci device 02ac/1012;
pci device 1065/8139;
pci device 1113/1211;
pci device 1186/1300;
pci device 1186/1340;
pci device 11db/1234;
pci device 1259/a117;
pci device 1259/a11e;
pci device 126c/1211;
pci device 13d1/ab06;
pci device 1432/9130;
pci device 14ea/ab06;
pci device 14ea/ab07;
pci device 1500/1360;
pci device 1743/8139;
pci device 4033/1360;
ipc
IPC privileges fixes Kernel: o Remove s_ipc_sendrec, instead using s_ipc_to for all send primitives o Centralize s_ipc_to bit manipulation, - disallowing assignment of bits pointing to unused priv structs; - preventing send-to-self by not setting bit for own priv struct; - preserving send mask matrix symmetry in all cases o Add IPC send mask checks to SENDA, which were missing entirely somehow o Slightly improve IPC stats accounting for SENDA o Remove SYSTEM from user processes' send mask o Half-fix the dependency between boot image order and process numbers, - correcting the table order of the boot processes; - documenting the order requirement needed for proper send masks; - warning at boot time if the order is violated RS: o Add support in /etc/drivers.conf for servers that talk to user processes, - disallowing IPC to user processes if no "ipc" field is present - adding a special "USER" label to explicitly allow IPC to user processes o Always apply IPC masks when specified; remove -i flag from service(8) o Use kernel send mask symmetry to delay adding IPC permissions for labels that do not exist yet, adding them to that label's process upon creation o Add VM to ipc permissions list for rtl8139 and fxp in drivers.conf Left to future fixes: o Removal of the table order vs process numbers dependency altogether, possibly using per-process send list structures as used for SYSTEM calls o Proper assignment of send masks to boot processes; some of the assigned (~0) masks are much wider than necessary o Proper assignment of IPC send masks for many more servers in drivers.conf o Removal of the debugging warning about the now legitimate case where RS's add_forward_ipc cannot find the IPC destination's label yet
2009-07-02 18:25:31 +02:00
SYSTEM PM RS LOG TTY DS VM
pci inet amddev
;
};
driver fxp
{
system
UMAP # 14
IRQCTL # 19
DEVIO # 21
#SDEVIO # 22
SETALARM # 24
TIMES # 25
GETINFO # 26
SAFECOPYFROM # 31
SAFECOPYTO # 32
SETGRANT # 34
2009-01-09 18:47:38 +01:00
PROFBUF # 38
SYSCTL
;
2009-08-26 23:01:46 +02:00
pci device 8086/103d;
pci device 8086/1064;
pci device 8086/1229;
2009-08-26 23:01:46 +02:00
pci device 8086/2449;
ipc
IPC privileges fixes Kernel: o Remove s_ipc_sendrec, instead using s_ipc_to for all send primitives o Centralize s_ipc_to bit manipulation, - disallowing assignment of bits pointing to unused priv structs; - preventing send-to-self by not setting bit for own priv struct; - preserving send mask matrix symmetry in all cases o Add IPC send mask checks to SENDA, which were missing entirely somehow o Slightly improve IPC stats accounting for SENDA o Remove SYSTEM from user processes' send mask o Half-fix the dependency between boot image order and process numbers, - correcting the table order of the boot processes; - documenting the order requirement needed for proper send masks; - warning at boot time if the order is violated RS: o Add support in /etc/drivers.conf for servers that talk to user processes, - disallowing IPC to user processes if no "ipc" field is present - adding a special "USER" label to explicitly allow IPC to user processes o Always apply IPC masks when specified; remove -i flag from service(8) o Use kernel send mask symmetry to delay adding IPC permissions for labels that do not exist yet, adding them to that label's process upon creation o Add VM to ipc permissions list for rtl8139 and fxp in drivers.conf Left to future fixes: o Removal of the table order vs process numbers dependency altogether, possibly using per-process send list structures as used for SYSTEM calls o Proper assignment of send masks to boot processes; some of the assigned (~0) masks are much wider than necessary o Proper assignment of IPC send masks for many more servers in drivers.conf o Removal of the debugging warning about the now legitimate case where RS's add_forward_ipc cannot find the IPC destination's label yet
2009-07-02 18:25:31 +02:00
SYSTEM PM RS LOG TTY DS VM
pci inet amddev
;
};
driver dumpcore
{
system
TRACE # 5
VIRCOPY # 15
GETINFO # 26
SETGRANT # 34
2009-01-09 18:47:38 +01:00
PROFBUF # 38
SYSCTL
;
};
driver inet
{
system
SETALARM # 24
TIMES # 25
2008-12-11 15:50:28 +01:00
GETINFO # 26
SAFECOPYFROM # 31
SAFECOPYTO # 32
VSAFECOPY # 33
SETGRANT # 34
2009-01-09 18:47:38 +01:00
PROFBUF # 38
SYSCTL
;
uid 0;
};
driver random
{
system
UMAP # 14
SETALARM # 24
GETINFO # 26
SAFECOPYFROM # 31
SAFECOPYTO # 32
SETGRANT # 34
2009-01-09 18:47:38 +01:00
PROFBUF # 38
SYSCTL
;
};
driver readclock.drv
{
io 70:2;
system
DEVIO # 21
TIMES # 25
2008-12-11 15:50:28 +01:00
GETINFO # 26
SAFECOPYTO # 32
SAFECOPYFROM # 32
SETGRANT # 34
READBIOS # 35
2009-01-09 18:47:38 +01:00
PROFBUF # 38
SYSCTL
;
uid 0;
};
driver is
{
system
2009-07-09 22:54:35 +02:00
TIMES # 25
GETINFO # 26
SETGRANT # 34
2009-01-09 18:47:38 +01:00
PROFBUF # 38
SYSCTL
;
vm
CTL
;
uid 0;
};
driver pci
{
io cf8:8 # PCI bus controller
4d0:2 # PIIX
;
system
PRIVCTL # 4
DEVIO # 21
GETINFO # 26
SAFECOPYFROM # 31
SAFECOPYTO # 32
SETGRANT # 34
2009-01-09 18:47:38 +01:00
PROFBUF # 38
SYSCTL
;
uid 0;
};
driver at_wini
{
io 1f0:8 # Controller 0
3f6 # Also controller 0
2006-11-01 15:55:00 +01:00
170:8 # Controller 1
376 # Also controller 1
;
irq
14 # Controller 0
2006-11-01 15:55:00 +01:00
15 # Controller 1
;
system
UMAP # 14
IRQCTL # 19
DEVIO # 21
SDEVIO # 22
VDEVIO # 23
SETALARM # 24
TIMES # 25
GETINFO # 26
SAFECOPYFROM # 31
SAFECOPYTO # 32
SETGRANT # 34
READBIOS # 35
2009-01-09 18:47:38 +01:00
PROFBUF # 38
SYSCTL
;
2006-11-01 15:55:00 +01:00
pci class
1/1 # Mass storage / IDE
2009-02-12 13:28:28 +01:00
1/4 # Mass storage / RAID
2006-11-01 15:55:00 +01:00
;
};
driver bios_wini
{
system
UMAP # 14
SETALARM # 24
TIMES # 25
GETINFO # 26
SAFECOPYFROM # 31
SAFECOPYTO # 32
SETGRANT # 34
READBIOS # 35
PROFBUF # 38
SYSCTL
INT86
;
};
driver mfs
{
system
TIMES # 25
SAFECOPYFROM # 31
SAFECOPYTO # 32
GETINFO
SETGRANT # 34
UMAP # 14
2009-01-09 18:47:38 +01:00
PROFBUF # 38
SYSCTL
;
uid 0;
};
2007-05-30 17:40:12 +02:00
2009-10-01 16:34:17 +02:00
driver isofs
{
system
TIMES # 25
SAFECOPYFROM # 31
SAFECOPYTO # 32
GETINFO
SETGRANT # 34
UMAP # 14
PROFBUF # 38
SYSCTL
;
uid 0;
};
2007-05-30 17:40:12 +02:00
driver printer
{
io 378:4 # LPT1
278:4 # LPT2
2007-05-30 17:40:12 +02:00
;
irq
7 # PRINTER_IRQ
;
system
KILL # 6
SETGRANT # 34
UMAP # 14
VIRCOPY # 15
IRQCTL # 19
DEVIO # 21
VDEVIO # 23
2008-12-11 15:50:28 +01:00
GETINFO # 26
2007-05-30 17:40:12 +02:00
SAFECOPYFROM # 31
SAFECOPYTO # 32
2009-01-09 18:47:38 +01:00
PROFBUF # 38
SYSCTL
2007-05-30 17:40:12 +02:00
;
};
driver orinoco
{
system
PRIVCTL # 4
DEVIO # 21
GETINFO # 26
UMAP # 14
IRQCTL # 19
DEVIO # 21
#SDEVIO # 22
SETALARM # 24
TIMES # 25
GETINFO # 26
SAFECOPYFROM # 31
SAFECOPYTO # 32
SETGRANT # 34
VM_MAP # 30
2009-01-09 18:47:38 +01:00
PROFBUF # 38
SYSCTL
;
pci device 1260/3873;
pci device 1186/1300;
uid 0;
};
driver es1370
{
system
SAFECOPYFROM
SAFECOPYTO
UMAP
2008-12-11 15:50:28 +01:00
GETINFO
SETGRANT
IRQCTL # 19
DEVIO # 21
2009-01-09 18:47:38 +01:00
PROFBUF # 38
SYSCTL
;
pci device 1274/5000;
};
driver es1371
{
system
SAFECOPYFROM
SAFECOPYTO
UMAP
SETGRANT
2008-12-11 15:50:28 +01:00
GETINFO
IRQCTL # 19
DEVIO # 21
2009-01-09 18:47:38 +01:00
PROFBUF # 38
SYSCTL
;
pci device 1274/1371;
};
driver amddev
{
pci device 1022/1103;
system
UMAP # 14
SETGRANT # 34
2008-12-11 15:50:28 +01:00
GETINFO
REGDEV # 40
2009-01-09 18:47:38 +01:00
PROFBUF # 38
SYSCTL
;
uid 0;
};
driver ipc
{
system
UMAP
PROFBUF
SAFECOPYFROM
SAFECOPYTO
VIRCOPY
SETGRANT
SYSCTL
;
uid 0;
ipc
SYSTEM
PM
RS
LOG
TTY
DS
VM
USER
;
vm
REMAP
UNREMAP
GETPHYS
GETREFCNT
QUERYEXIT
;
};
2009-10-01 18:36:14 +02:00
driver osscore
{
system
PRIVCTL # 4
DEVIO # 21
UMAP # 14
IRQCTL # 19
DEVIO # 21
SDEVIO # 22
SETALARM # 24
TIMES # 25
GETINFO # 26
SAFECOPYFROM # 31
SAFECOPYTO # 32
SETGRANT # 34
PROFBUF # 38
SYSCTL
;
pci class
4/1 # Multimedia / Audio device
;
ipc
SYSTEM PM RS LOG TTY DS VFS VM
pci inet amddev
;
uid 0;
};