|
iPXE
|
Image trust management commands. More...
#include <stdint.h>#include <stdio.h>#include <string.h>#include <getopt.h>#include <ipxe/image.h>#include <ipxe/command.h>#include <ipxe/parseopt.h>#include <usr/imgmgmt.h>#include <usr/imgtrust.h>Go to the source code of this file.
Data Structures | |
| struct | imgtrust_options |
| "imgtrust" options More... | |
| struct | imgverify_options |
| "imgverify" options More... | |
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| static int | imgtrust_exec (int argc, char **argv) |
| The "imgtrust" command. More... | |
| static int | imgverify_exec (int argc, char **argv) |
| The "imgverify" command. More... | |
| COMMAND (imgtrust, imgtrust_exec) | |
| Image trust management commands. More... | |
| COMMAND (imgverify, imgverify_exec) | |
Variables | |
| static struct option_descriptor | imgtrust_opts [] |
| "imgtrust" option list More... | |
| static struct command_descriptor | imgtrust_cmd |
| "imgtrust" command descriptor More... | |
| static struct option_descriptor | imgverify_opts [] |
| "imgverify" option list More... | |
| static struct command_descriptor | imgverify_cmd |
| "imgverify" command descriptor More... | |
Image trust management commands.
Definition in file image_trust_cmd.c.
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
|
static |
The "imgtrust" command.
| argc | Argument count |
| argv | Argument list |
| rc | Return status code |
Definition at line 69 of file image_trust_cmd.c.
References image_set_trust(), imgtrust_cmd, opts, parse_options(), printf(), rc, and strerror().
|
static |
The "imgverify" command.
| argc | Argument count |
| argv | Argument list |
| rc | Return status code |
Definition at line 120 of file image_trust_cmd.c.
References imgacquire(), imgverify(), imgverify_cmd, optind, opts, parse_options(), printf(), rc, signature, strerror(), and unregister_image().
| COMMAND | ( | imgtrust | , |
| imgtrust_exec | |||
| ) |
Image trust management commands.
| COMMAND | ( | imgverify | , |
| imgverify_exec | |||
| ) |
|
static |
"imgtrust" option list
Definition at line 51 of file image_trust_cmd.c.
|
static |
"imgtrust" command descriptor
Definition at line 59 of file image_trust_cmd.c.
Referenced by imgtrust_exec().
|
static |
"imgverify" option list
Definition at line 99 of file image_trust_cmd.c.
|
static |
"imgverify" command descriptor
Definition at line 109 of file image_trust_cmd.c.
Referenced by imgverify_exec().
1.8.15