]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - cmdline.c
Turn off Windows process ACL restriction by default.
[PuTTY.git] / cmdline.c
index e6b69073a2e236a3121e9649d07657e42bacd2af..73ede3425dcf26ad26c3d1b24419a99d600c4469 100644 (file)
--- a/cmdline.c
+++ b/cmdline.c
@@ -609,6 +609,17 @@ int cmdline_process_param(const char *p, char *value,
        conf_set_str(conf, CONF_proxy_telnet_command, value);
     }
 
+#ifdef _WINDOWS
+    /*
+     * Cross-tool options only available on Windows.
+     */
+    if (!strcmp(p, "-restrict-acl") || !strcmp(p, "-restrict_acl") ||
+        !strcmp(p, "-restrictacl")) {
+       RETURN(1);
+        restrict_process_acl();
+    }
+#endif
+
     return ret;                               /* unrecognised */
 }