# HG changeset patch # User chunhan # Date 1384926272 -28800 # Node ID fc7151df7f8e7c52f7702cc0180117fb402d4632 # Parent 742bed61324568ec1ca6ed39a6ba47ce7b2d9eb9 simplifing model, by changing current_proc_fds to proc_file_fds in the Clone & Execve cases of os_grant diff -r 742bed613245 -r fc7151df7f8e 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 \ (WriteFile p fd) = (p \ current_procs \ \ fd \ current_proc_fds \ p \ (\ 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))" + (\ 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 \ proc_file_fds \ p)" (* file_at_writing_by \ f = {} \ fds \ current_proc_fds \ p *) (*