commit | 6ee7f774bf6393d48c7215e02d6dbf00322bc9f5 | [log] [tgz] |
---|---|---|
author | James Feist <james.feist@linux.intel.com> | Thu Feb 06 16:25:27 2020 -0800 |
committer | James Feist <james.feist@linux.intel.com> | Mon Feb 10 20:23:16 2020 +0000 |
tree | 8cc454e568e5533033c92a846cd99ecd1e3488d7 | |
parent | 3c5a376e005d97f5d586c5aa163267eb3b0381aa [diff] |
PID: Don't attempt to delete unknown objects This puts a block in to return early if we are asked to delete something we can't find on D-Bus. This code path was creating a segfault, but theres no reason to continue after we can't find an object we are asked to delete, so we can just avoid it. Also clean up the end iterator dereference so it doesn't happen in any other path. Tested: Segfault goes away Change-Id: I33622e5e8ab09fba0681e4f86f4a7068f6ef0be7 Signed-off-by: James Feist <james.feist@linux.intel.com>
This component attempts to be a "do everything" embedded webserver for openbmc.
At this time, the webserver implements a few interfaces:
BMCWeb is configured by setting -D
flags that correspond to options in bmcweb/CMakeLists.txt
and then compiling. For example, cmake -DBMCWEB_ENABLE_KVM=NO ...
followed by make
. The option names become C++ preprocessor symbols that control which code is compiled into the program.
When BMCWeb starts running, it reads persistent configuration data (such as UUID and session data) from a local file. If this is not usable, it generates a new configuration.
When BMCWeb SSL support is enabled and a usable certificate is not found, it will generate a self-sign a certificate before launching the server. The keys are generated by the prime256v1
algorithm. The certificate
C=US, O=OpenBMC, CN=testhost
,SHA-256
algorithm.