# HG changeset patch # User chunhan # Date 1381221459 -28800 # Node ID 6f3ac28619788ffe83b9e03eae471ee0b180ad03 # Parent e934f9a697f52f1340c81e0e484871277249f4eb bug in tainted diff -r e934f9a697f5 -r 6f3ac2861978 Flask.thy --- a/Flask.thy Tue Oct 08 16:21:23 2013 +0800 +++ b/Flask.thy Tue Oct 08 16:37:39 2013 +0800 @@ -1472,10 +1472,10 @@ | t_rename':"\O_dir f'' \ tainted s; valid (Rename p f f' # s);f \ f''\ \ O_dir (file_after_rename f f' f'') \ tainted (Rename p f f' # s)" *) -| t_attach1:"\O_proc p \ tainted s; valid (Attach p h SHM_RDWR # s); (p', flag') \ procs_of_shm s h\ - \ O_proc p' \ tainted (Attach p h SHM_RDWR # s)" -| t_attach2:"\O_proc p' \ tainted s; valid (Attach p h flag # s); (p', SHM_RDWR) \ procs_of_shm s h\ - \ O_proc p \ tainted (Attach p h flag # s)" +| t_attach1:"\O_proc p \ tainted s; valid (Attach p h SHM_RDWR # s); (p', flag') \ procs_of_shm s h; info_flow_shm s p' p''\ + \ O_proc p'' \ tainted (Attach p h SHM_RDWR # s)" +| t_attach2:"\O_proc p' \ tainted s; valid (Attach p h flag # s); (p', SHM_RDWR) \ procs_of_shm s h; info_flow_shm s p p''\ + \ O_proc p'' \ tainted (Attach p h flag # s)" | t_sendmsg:"\O_proc p \ tainted s; valid (SendMsg p q m # s)\ \ O_msg q m \ tainted (SendMsg p q m # s)" | t_recvmsg:"\O_msg q m \ tainted s; valid (RecvMsg p q m # s); info_flow_shm s p p'\