Home
last modified time | relevance | path

Searched refs:allow_list (Results 1 – 7 of 7) sorted by relevance

/external/libvncserver/x11vnc/
Dremote.c1839 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()
[all …]
Dgui.c803 if (allow_list && !strcmp(allow_list, "127.0.0.1")) { in do_gui()
839 if (allow_list && !strcmp(allow_list, "127.0.0.1")) { in do_gui()
840 allow_list = NULL; in do_gui()
843 allow_list = strdup("127.0.0.1"); in do_gui()
Dconnections.c968 if (allow_list == NULL) { in check_access()
970 allow_list = strdup(""); in check_access()
972 if (*allow_list == '\0' && allow_once == NULL) { in check_access()
977 if (strchr(allow_list, '/')) { in check_access()
984 if (stat(allow_list, &sbuf) != 0) { in check_access()
987 allow_list); in check_access()
1003 in = fopen(allow_list, "r"); in check_access()
1006 rfbLog("check_access: cannot open: %s\n", allow_list); in check_access()
1033 int len = strlen(allow_list) + 1; in check_access()
1042 strcat(list, allow_list); in check_access()
[all …]
Doptions.h129 extern char *allow_list;
Dx11vnc.c1482 fprintf(stderr, " allow: %s\n", allow_list ? allow_list in print_settings()
2524 allow_list = strdup(argv[++i]); in main() local
2528 allow_list = strdup("127.0.0.1"); in main()
2658 allow_list = strdup("127.0.0.1"); in main()
4716 allow_list = strdup("127.0.0.1"); in main()
4734 allow_list = strdup("127.0.0.1"); in main()
4772 allow_list = strdup("127.0.0.1"); in main()
4931 if (allow_list && !strcmp(allow_list, "127.0.0.1")) { in main()
4938 allow_list = strdup("127.0.0.1"); in main()
Dinet.c632 } else if (allow_list && !strcmp(allow_list, "127.0.0.1")) { in listen6()
Doptions.c153 char *allow_list = NULL; /* for -allow and -localhost */ variable