]> sourceware.org Git - systemtap.git/commit
Add --sign-module to enable users to mok sign their own modules
authorStan Cox <scox@redhat.com>
Tue, 29 Mar 2022 01:08:34 +0000 (21:08 -0400)
committerStan Cox <scox@redhat.com>
Tue, 29 Mar 2022 01:08:34 +0000 (21:08 -0400)
commit2f228e21bee3622ad29490fe6feed2b81beac7c1
tree3e4de9b86c2b8bd9cc04de60fea0698d378cead9
parent71cbe97a44b2d5c5e6380d9b327c09c90c3bba35
Add --sign-module to enable users to mok sign their own modules

Add sign-module option.  Move MOK_CONFIG_TEXT, mok_dir_valid_p, mok_sign_file,
generate_mok from stap-serverd.cxx to cscommon.cxx.  Add sign_module function
to cscommon.cxx. Move MOK_PRIVATE_CERT_NAME, MOK_PRIVATE_CERT_FILE,
MOK_CONFIG_FILE to cscommon.h.  Add report_error parameter to generate_mok,
sign_module, mok_dir_valid_p so they can be called from server or client.  If
sign-module is requested then call sign_module from passes_0_4.  stap-server
continues to mok sign using the same code path.
cmdline.cxx
cmdline.h
cscommon.cxx
cscommon.h
main.cxx
session.cxx
session.h
stap-serverd.cxx
This page took 0.029518 seconds and 5 git commands to generate.