commit | ac29323dda1b643a81bf85719f7d3b7b2ab97903 | [log] [tgz] |
---|---|---|
author | Manojkiran Eda <manojkiran.eda@gmail.com> | Tue Sep 01 10:07:41 2020 +0530 |
committer | ManojKiran Eda <manojkiran.eda@gmail.com> | Wed Sep 09 03:11:58 2020 +0000 |
tree | b5320d308def8ae8d03f60553e112ffaeb9484e5 | |
parent | 93f5d7c72a50b710f9fd6f011212011d6913a816 [diff] |
Suppress : Stringop Overflow warning during build time - gcc complains about the following warning during a build and as -Werror is enforced, it is treated as an error which is resulting in a build failure. - error: ‘strncpy’ specified bound depends on the length of the source argument [-Werror=stringop-overflow=] - There are couple of workarounds that were discussed in this commit, but at the moment we thought the best option to move forward is to suppress the warning until we know a concrete solution for this problem. Once we fix it , we can enforce the warning again. Tested By: - bmcweb compiled without any warning or error. Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: I36c595ab610523c8d50833cab0fdd20c509a8a2a
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 secp384r1
algorithm. The certificate
C=US, O=OpenBMC, CN=testhost
,SHA-256
algorithm.