Entry: Add GetEntry method

Add a GetEntry method to return the file descriptor of the Entry
log file. Even though there's a File Path property that has the
path to the Entry file, the caller may not have privileges to
access the file. This new method would allow  bmcweb to be able
to offload the Entry log file.

The Entry log file is a binary blob file and is to be opened in
read-only mode.

Change-Id: I7774f047f94d6ceaf018711660d136529be44b7f
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
1 file changed
tree: 966f7d4eb2d5f7ec0e129ab0ea0c7980775d5244
  1. com/
  2. gen/
  3. org/
  4. subprojects/
  5. xyz/
  6. .gitignore
  7. LICENSE
  8. MAINTAINERS
  9. meson.build
  10. meson_options.txt
  11. README.md
README.md

phosphor-dbus-interfaces

YAML descriptors of standard D-Bus interfaces. The format is described by the sdbusplus binding generation tool sdbus++.

Building

This project can be built with meson. The typical meson workflow is: meson builddir && ninja -C builddir.

The meson files used to handle the YAML files are automatically generated and found under the gen subdirectory. When adding or removing YAML files, this must be regenerated. This can be done with the helper script found in the gen subdirectory: cd gen && ./regenerate-meson.

Configuration

Only the xyz/openbmc_project interfaces are built by default. Other interfaces can be enabled by meson options:

  • com/ibm - -Ddata_com_ibm=true
  • org/open_power - -Ddata_org_open_power=true

Example: meson builddir -Ddata_com_ibm=true && ninja -C builddir

References