aboutsummaryrefslogtreecommitdiffstats
path: root/security/keys/keyctl.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2015-10-21 14:04:47 +0100
committerDavid Howells <dhowells@redhat.com>2015-10-21 15:18:36 +0100
commit2221a6ee73e7c8f43af802a1ef9426d4b0d122d3 (patch)
tree2d44a90830df72ff6d85ce6d806b05176da9bbf9 /security/keys/keyctl.c
parentkeys: Be more consistent in selection of union members used (diff)
downloadlinux-dev-2221a6ee73e7c8f43af802a1ef9426d4b0d122d3.tar.xz
linux-dev-2221a6ee73e7c8f43af802a1ef9426d4b0d122d3.zip
KEYS: Provide a script to extract the sys cert list from a vmlinux file
The supplied script takes a vmlinux file - and if necessary a System.map file - locates the system certificates list and extracts it to the named file. Call as: ./scripts/extract-sys-certs vmlinux certs if vmlinux contains symbols and: ./scripts/extract-sys-certs -s System.map vmlinux certs if it does not. It prints something like the following to stdout: Have 27 sections No symbols in vmlinux, trying System.map Have 80088 symbols Have 1346 bytes of certs at VMA 0xffffffff8201c540 Certificate list in section .init.data Certificate list at file offset 0x141c540 If vmlinux contains symbols then that is used rather than System.map - even if one is given. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'security/keys/keyctl.c')
0 files changed, 0 insertions, 0 deletions