minix/commands/swifi
David van Moolenbroek b8b8f537bd 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 16:25:31 +00:00
..
db_access.c Some changes that were missing from the previous commit 2008-10-02 13:48:05 +00:00
db_access.h Unmodified source of the software fault injection utility 2008-10-02 13:43:32 +00:00
db_disasm.c Some changes that were missing from the previous commit 2008-10-02 13:48:05 +00:00
db_machdep.h Some changes that were missing from the previous commit 2008-10-02 13:48:05 +00:00
db_sym.c Some changes that were missing from the previous commit 2008-10-02 13:48:05 +00:00
db_sym.h Unmodified source of the software fault injection utility 2008-10-02 13:43:32 +00:00
ddb.h Some changes that were missing from the previous commit 2008-10-02 13:48:05 +00:00
do_swifi Minix 3 version 2008-10-02 13:45:46 +00:00
do_swifi_bug1 Minix 3 version 2008-10-02 13:45:46 +00:00
extra.c Minix 3 version 2008-10-02 13:45:46 +00:00
extra.h Minix 3 version 2008-10-02 13:45:46 +00:00
fault_model.c Minix 3 version 2008-10-02 13:45:46 +00:00
Makefile Minix 3 version 2008-10-02 13:45:46 +00:00
random.c Unmodified source of the software fault injection utility 2008-10-02 13:43:32 +00:00
read_nlist.c Minix 3 version 2008-10-02 13:45:46 +00:00
rnd.c Minix 3 version 2008-10-02 13:45:46 +00:00
rs.restart_imm Minix 3 version 2008-10-02 13:45:46 +00:00
run_swifi Minix 3 version 2008-10-02 13:45:46 +00:00
run_swifi-x Minix 3 version 2008-10-02 13:45:46 +00:00
run_t1 IPC privileges fixes 2009-07-02 16:25:31 +00:00
run_t1a Minix 3 version 2008-10-02 13:45:46 +00:00
run_t1b Minix 3 version 2008-10-02 13:45:46 +00:00
run_t2 Minix 3 version 2008-10-02 13:45:46 +00:00
run_t2a Minix 3 version 2008-10-02 13:45:46 +00:00
run_t2b Minix 3 version 2008-10-02 13:45:46 +00:00
socket.c Minix 3 version 2008-10-02 13:45:46 +00:00
swifi-2.4.18-a-patch Unmodified source of the software fault injection utility 2008-10-02 13:43:32 +00:00
swifi-ksyms.c Unmodified source of the software fault injection utility 2008-10-02 13:43:32 +00:00
swifi-user.h Some changes that were missing from the previous commit 2008-10-02 13:48:05 +00:00
swifi.h Some changes that were missing from the previous commit 2008-10-02 13:48:05 +00:00
systest.c Minix 3 version 2008-10-02 13:45:46 +00:00