diff -r 811e3028d169 -r 742bed613245 Flask.thy --- a/Flask.thy Tue Nov 19 12:31:56 2013 +0800 +++ b/Flask.thy Wed Nov 20 13:43:09 2013 +0800 @@ -692,7 +692,7 @@ (\ f. file_of_proc_fd \ p fd = Some f \ f \ current_files \) \ (\ flags. flags_of_proc_fd \ p fd = Some flags \ is_write_flag flags))" | "os_grant \ (Execve p f fds) = - (p \ current_procs \ \ is_file \ f \ fds \ current_proc_fds \ p)" (* file_at_writing_by \ f = {} *) + (p \ current_procs \ \ is_file \ f \ fds \ proc_file_fds \ p)" (* file_at_writing_by \ f = {} \ fds \ current_proc_fds \ p *) (* | "os_grant \ (Rename p f\<^isub>2 f\<^isub>3) = (p \ current_procs \ \ f\<^isub>2 \ current_files \ \ \(f\<^isub>2 \ f\<^isub>3) \ f\<^isub>3 \ current_files \ \ @@ -744,8 +744,8 @@ | "os_grant \ (ChangeOwner p u) = (p \ current_procs \ \ u \ current_users \)" *) | "os_grant \ (Clone p p' fds shms) = - (p \ current_procs \ \ p' \ (current_procs \) \ fds \ current_proc_fds \ p \ - (\ h \ shms. \ flag. (p, flag) \ procs_of_shm \ h))" + (p \ current_procs \ \ p' \ (current_procs \) \ fds \ proc_file_fds \ p \ + (\ h \ shms. \ flag. (p, flag) \ procs_of_shm \ h))" (* current_proc_fds \ proc_file_fds *) | "os_grant \ (Kill p\<^isub>1 p\<^isub>2) = (p\<^isub>1 \ current_procs \ \ p\<^isub>2 \ current_procs \)" (* a process can kill itself right? *) | "os_grant \ (Exit p) =