summaryrefslogtreecommitdiffstats
path: root/buildrun.cxx
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-04-30 11:44:13 -0400
committerDave Brolley <brolley@redhat.com>2009-04-30 11:44:13 -0400
commit4c797c5eaeb10d8d22501c5ad82766b69d8cf988 (patch)
tree8152bfe0a71ac45bc13f2049595aea97d5dbfcde /buildrun.cxx
parenta5f9c5459d2750820d29b8ca7e28d979690cb74e (diff)
downloadsystemtap-steved-4c797c5eaeb10d8d22501c5ad82766b69d8cf988.tar.gz
systemtap-steved-4c797c5eaeb10d8d22501c5ad82766b69d8cf988.tar.xz
systemtap-steved-4c797c5eaeb10d8d22501c5ad82766b69d8cf988.zip
2009-04-30 Dave Brolley <brolley@redhat.com>
* 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.
Diffstat (limited to 'buildrun.cxx')
-rw-r--r--buildrun.cxx4
1 files changed, 2 insertions, 2 deletions
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;