From 851418deb65964ef73f55e2aab0f3733c0e0e2e8 Mon Sep 17 00:00:00 2001 From: David Smith Date: Tue, 8 Dec 2009 10:40:27 -0600 Subject: Revert "PR 10641 fixed by checking module name in unprivileged mode." This reverts commit b2ea60606801aa9bf243f22318ac4bd8a25094fe. * main.cxx (checkOptions): Remove unprivileged mode module name check. * testsuite/parseko/cmdline05.stp: Delete unneeded testcase. * testsuite/parseok/cmdline03.stp: Ditto. --- main.cxx | 5 ----- 1 file changed, 5 deletions(-) (limited to 'main.cxx') diff --git a/main.cxx b/main.cxx index 69d7fa77..71c70df8 100644 --- a/main.cxx +++ b/main.cxx @@ -429,11 +429,6 @@ checkOptions (systemtap_session &s) cerr << "You can't specify -g and --unprivileged together." << endl; optionsConflict = true; } - if (s.module_name.compare(0, 5, "stap_") != 0) - { - cerr << "In unprivileged mode, the module name must start with 'stap_'." << endl; - optionsConflict = true; - } } if (!s.kernel_symtab_path.empty()) -- cgit