From b12c8986778619db5bec0a5e52f2d49247e6b5ba Mon Sep 17 00:00:00 2001 From: Dave Brolley Date: Thu, 11 Jun 2009 11:58:55 -0400 Subject: Only sign modules if --unprivileged is specified. Don't generate an error message for unsigned modules. Make sure module signature exists before attempting to copy to the cache. Allow timer p[robes for unprivileged users. --- runtime/staprun/staprun_funcs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/staprun/staprun_funcs.c') diff --git a/runtime/staprun/staprun_funcs.c b/runtime/staprun/staprun_funcs.c index 1ebd124e..669dc996 100644 --- a/runtime/staprun/staprun_funcs.c +++ b/runtime/staprun/staprun_funcs.c @@ -500,7 +500,7 @@ int check_permissions(void) check_groups_rc = -1; } #if HAVE_NSS - err("Alternatively, your module must be signed by a trusted signer.\n" + err("Alternatively, your module must be compiled using the --unprivileged option and signed by a trusted signer.\n" "For more information, please consult the \"SAFETY AND SECURITY\" section of the \"stap(1)\" manpage\n"); #endif -- cgit