]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Make our process's ACL more restrictive.
authorSimon Tatham <anakin@pobox.com>
Thu, 25 Feb 2016 20:30:58 +0000 (20:30 +0000)
committerSimon Tatham <anakin@pobox.com>
Mon, 29 Feb 2016 19:59:34 +0000 (19:59 +0000)
commitdb910f712c8355da553167ea5ad9cd267366a287
treef78bf1e61c00ffa9a2ee6faeba4d65999e0d652c
parent14d0a08a96b37690f2104f252c280cea7a699dae
Make our process's ACL more restrictive.

By default Windows processes have wide open ACLs which allow interference
by other processes running as the same user.  Adjust our ACL to make this
a bit harder.

Because it's useful to protect PuTTYtel as well, carve winsecur.c into
advapi functions and wincapi.c for crypt32 functions.

(cherry picked from commit 48db456801cf90369330248075b7e480252696ff)

Conflicts:
Recipe

(cherry-picker's note: the conflict was just some context not looking
quite the same)
Recipe
windows/wincapi.c [new file with mode: 0644]
windows/wincapi.h [new file with mode: 0644]
windows/window.c
windows/winsecur.c
windows/winsecur.h
windows/winshare.c