Lines Matching refs:allow_list
1839 NONUL(allow_list)); in process_remote_cmd()
1848 if (allow_list && strchr(allow_list, '/')) { in process_remote_cmd()
1850 rfbLog("in '-allow %s' mode.\n", allow_list); in process_remote_cmd()
1853 if (allow_list) { in process_remote_cmd()
1854 before = strdup(allow_list); in process_remote_cmd()
1859 old = allow_list; in process_remote_cmd()
1862 allow_list = add_item(allow_list, p); in process_remote_cmd()
1865 allow_list = delete_item(allow_list, p); in process_remote_cmd()
1867 allow_list = strdup(p); in process_remote_cmd()
1870 if (strcmp(before, allow_list)) { in process_remote_cmd()
1873 rfbLog(" to: \"%s\"\n", allow_list); in process_remote_cmd()
1951 char *s = allow_list; in process_remote_cmd()
1959 if (allow_list) { in process_remote_cmd()
1960 before = strdup(allow_list); in process_remote_cmd()
1964 old = allow_list; in process_remote_cmd()
1966 allow_list = strdup("127.0.0.1"); in process_remote_cmd()
1968 if (strcmp(before, allow_list)) { in process_remote_cmd()
1971 rfbLog(" to: \"%s\"\n", allow_list); in process_remote_cmd()
1984 rfbLog("allow list is: '%s'\n", NONUL(allow_list)); in process_remote_cmd()
1993 char *s = allow_list; in process_remote_cmd()
2005 if (allow_list) { in process_remote_cmd()
2006 before = strdup(allow_list); in process_remote_cmd()
2010 old = allow_list; in process_remote_cmd()
2012 allow_list = strdup(""); in process_remote_cmd()
2014 if (strcmp(before, allow_list)) { in process_remote_cmd()
2017 rfbLog(" to: \"%s\"\n", allow_list); in process_remote_cmd()
2030 rfbLog("allow list is: '%s'\n", NONUL(allow_list)); in process_remote_cmd()
2093 if (allow_list) { in process_remote_cmd()
2094 if (!strcmp(allow_list, "127.0.0.1") || in process_remote_cmd()
2095 !strcmp(allow_list, "localhost")) { in process_remote_cmd()
2103 if (allow_list) { in process_remote_cmd()
2104 free(allow_list); in process_remote_cmd()
2106 allow_list = NULL; in process_remote_cmd()
2110 if (allow_list) { in process_remote_cmd()
2111 free(allow_list); in process_remote_cmd()
2114 allow_list = strdup("127.0.0.1"); in process_remote_cmd()
2119 rfbLog("allow list is: '%s'\n", NONUL(allow_list)); in process_remote_cmd()