simplifing model, by changing current_proc_fds to proc_file_fds in the Clone & Execve cases of os_grant
authorchunhan
Wed, 20 Nov 2013 13:44:32 +0800
changeset 69 fc7151df7f8e
parent 68 742bed613245
child 70 002c34a6ff4f
simplifing model, by changing current_proc_fds to proc_file_fds in the Clone & Execve cases of os_grant
Flask.thy
--- a/Flask.thy	Wed Nov 20 13:43:09 2013 +0800
+++ b/Flask.thy	Wed Nov 20 13:44:32 2013 +0800
@@ -690,7 +690,7 @@
 | "os_grant \<tau> (WriteFile p fd)                = 
     (p \<in> current_procs \<tau> \<and> fd \<in> current_proc_fds \<tau> p \<and> 
      (\<exists> f. file_of_proc_fd \<tau> p fd = Some f \<and> f \<in> current_files \<tau>) \<and> 
-     (\<exists> flags. flags_of_proc_fd \<tau> p fd = Some flags \<and> is_write_flag flags))"
+     (\<exists> flags. flags_of_proc_fd \<tau> p fd = Some flags \<and> is_write_flag flags))" 
 | "os_grant \<tau> (Execve p f fds)                = 
     (p \<in> current_procs \<tau> \<and> is_file \<tau> f \<and> fds \<subseteq> proc_file_fds \<tau> p)" (* file_at_writing_by \<tau> f = {} \<and> fds \<subseteq> current_proc_fds \<tau> p *)
 (*