summaryrefslogtreecommitdiffstats
path: root/modsign.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Don't automatically authorize new root certificates as trusted signers.Dave Brolley2009-12-151-9/+1
|
* Sign uprobes.ko with the builder's certificate.Dave Brolley2009-11-121-242/+26
| | | | Delete ownership & permissions tests from modsign.cxx and stap-serverd.
* Relax restrictions on ownership and access permissions of signer's cert ↵Dave Brolley2009-11-121-0/+7
| | | | database.
* Remove unneeded header fileWenji Huang2009-09-151-1/+0
| | | | * modsign.cxx: Remove including session.h.
* 2009-09-14 Dave Brolley <brolley@redhat.com>Dave Brolley2009-09-141-16/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * modsign.cxx (init_cert_db_path): Use 'system' call. (sign_module): Renamed to 'main'. This is now an independant program. Check for arguments. Return 1 on error. * buildrun.cxx (modsign.h): Don't #include it. (compile_pass): Don't sign the module. * main.cxx (main): Don't copy the module signature. * cache.cxx (add_to_cache): Don't cache the module signature. * Makefile.am (bin_PROGRAMS): Add stap-sign-module. (stap_SOURCES): Remove modsign.cxx and nsscommon.c. (stap_sign_module_SOURCES): New variable. (stap_sign_module_CPPFLAGS): New variable. (stap_sign_module_LDFLAGS): New variable. (stap_sign_module_LDADD): New variable. * stap-server (initialization): Initialize unprivileged. (parse_options): Handle --unprivileged. (create_response): Call stap-sign-module if --unprivileged was specified. * systemtap.spec: Add stap-sign-module to stap-server. * Makefile.in: Regenerated. * doc/Makefile.in: Regenerated. * doc/SystemTap_Tapset_Reference/Makefile.in: Regenerated. * grapher/Makefile.in: Regenerated. * testsuite/Makefile.in: Regenerated. * aclocal.m4: Likewise. * testsuite/aclocal.m4: Likewise. * configure: Likewise. * testsuite/configure: Likewise.
* PR10544: clean up stap child process error handlingFrank Ch. Eigler2009-08-211-2/+2
| | | | | | | * util.cxx (stap_system): Take extra verbosity value. Standardize error handling / tracing. * util.h: Corresponding changes. * buildrun.cxx, main.cxx, modsign.cxx: Update callers.
* Ensure that pw is not used if it is NULL.Dave Brolley2009-05-051-11/+9
|
* Initialize euid before using it.Dave Brolley2009-05-051-1/+1
|
* Merge branch 'master' of ssh://sources.redhat.com/git/systemtapDave Brolley2009-05-051-2/+3
|\
| * Use stap_system() in mod-signing codeJosh Stone2009-05-051-2/+3
| |
* | Merge branch 'master' of ssh://sources.redhat.com/git/systemtapDave Brolley2009-05-051-0/+2
|\|
| * Add Vim modelines for new C/C++ sourcesJosh Stone2009-05-051-0/+2
| |
* | Make sure pw struct is initialized.Dave Brolley2009-05-051-1/+1
|/
* Module signing and verification using a separate file for the module signature.Dave Brolley2009-05-041-0/+554