summaryrefslogtreecommitdiffstats
path: root/main.cxx
diff options
context:
space:
mode:
authorDavid Smith <dsmith@redhat.com>2009-12-08 10:40:27 -0600
committerDavid Smith <dsmith@redhat.com>2009-12-08 10:40:27 -0600
commit851418deb65964ef73f55e2aab0f3733c0e0e2e8 (patch)
tree5b7ff0c9fd478b99d066198be41a17e62abcd36a /main.cxx
parent2d971c6b8835c7e38ce78dd554827f5f96bc7c04 (diff)
downloadsystemtap-steved-851418deb65964ef73f55e2aab0f3733c0e0e2e8.tar.gz
systemtap-steved-851418deb65964ef73f55e2aab0f3733c0e0e2e8.tar.xz
systemtap-steved-851418deb65964ef73f55e2aab0f3733c0e0e2e8.zip
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.
Diffstat (limited to 'main.cxx')
-rw-r--r--main.cxx5
1 files changed, 0 insertions, 5 deletions
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())