]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Move SID-getting code into a separate function so it can be shared by
authorOwen Dunn <owen@greenend.org.uk>
Sun, 22 Nov 2015 12:04:04 +0000 (12:04 +0000)
committerOwen Dunn <owen@greenend.org.uk>
Sun, 22 Nov 2015 12:04:04 +0000 (12:04 +0000)
commitaba7234bc167c8c056a9ea4f939a6dcda10e84f3
treec78728d185a9201a2c99cf967d9ccb247356479e
parent470337d0f2591534221390f50a69f8c9f6fe0558
Move SID-getting code into a separate function so it can be shared by
make_private_security_descriptor and a new function protectprocess().

protectprocess() opens the running PuTTY process and adjusts the
Everyone and user access control entries in its ACL to deny a
selection of permissions which malicious processes running as the same
user could use to hijack PuTTY.
windows/winsecur.c