similar to above, validate explore mode access */
| 637 | |
| 638 | /* similar to above, validate explore mode access */ |
| 639 | boolean |
| 640 | authorize_explore_mode(void) |
| 641 | { |
| 642 | #ifdef SYSCF |
| 643 | if (sysopt.explorers && sysopt.explorers[0]) { |
| 644 | if (check_user_string(sysopt.explorers)) |
| 645 | return TRUE; |
| 646 | } |
| 647 | iflags.explore_error_flag = TRUE; /* not allowed into explore mode */ |
| 648 | return FALSE; |
| 649 | #else |
| 650 | return TRUE; /* if sysconf disabled, no restrictions on explore mode */ |
| 651 | #endif |
| 652 | } |
| 653 | |
| 654 | static void |
| 655 | wd_message(void) |
nothing calls this directly
no test coverage detected