From 4c797c5eaeb10d8d22501c5ad82766b69d8cf988 Mon Sep 17 00:00:00 2001 From: Dave Brolley Date: Thu, 30 Apr 2009 11:44:13 -0400 Subject: 2009-04-30 Dave Brolley * modsign.cxx (unistd.h,sts/stat.h,systypes.h,pwd.h): #include them. (check_cert_file_permissions, check_db_file_permissions) (check_cert_db_permissions): New functions. (check_cert_db_path): Don't check for keyFiles. * main.cxx (usage): Remove --signing-cert option. (main): Likewise. * cache.cxx (cassert): #include it. (add_to_cache): Assume the module is signed. * buildrun.cxx (compile_pass): Always sign the module. * stap-server.8.in: Update documentation. --- buildrun.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'buildrun.cxx') diff --git a/buildrun.cxx b/buildrun.cxx index 30a602b3..31f7ec00 100644 --- a/buildrun.cxx +++ b/buildrun.cxx @@ -225,8 +225,8 @@ compile_pass (systemtap_session& s) // If a certificate database was specified, then try to sign the module. // Failure to do so is not a fatal error. If the signature is actually needed, // staprun will complain at that time. - if (!s.cert_db_path.empty()) - sign_module (s); + assert (! s.cert_db_path.empty()); + sign_module (s); #endif return rc; -- cgit