sysfs-secvar 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. What: /sys/firmware/secvar
  2. Date: August 2019
  3. Contact: Nayna Jain <[email protected]>
  4. Description: This directory is created if the POWER firmware supports OS
  5. secureboot, thereby secure variables. It exposes interface
  6. for reading/writing the secure variables
  7. What: /sys/firmware/secvar/vars
  8. Date: August 2019
  9. Contact: Nayna Jain <[email protected]>
  10. Description: This directory lists all the secure variables that are supported
  11. by the firmware.
  12. What: /sys/firmware/secvar/format
  13. Date: August 2019
  14. Contact: Nayna Jain <[email protected]>
  15. Description: A string indicating which backend is in use by the firmware.
  16. This determines the format of the variable and the accepted
  17. format of variable updates.
  18. What: /sys/firmware/secvar/vars/<variable name>
  19. Date: August 2019
  20. Contact: Nayna Jain <[email protected]>
  21. Description: Each secure variable is represented as a directory named as
  22. <variable_name>. The variable name is unique and is in ASCII
  23. representation. The data and size can be determined by reading
  24. their respective attribute files.
  25. What: /sys/firmware/secvar/vars/<variable_name>/size
  26. Date: August 2019
  27. Contact: Nayna Jain <[email protected]>
  28. Description: An integer representation of the size of the content of the
  29. variable. In other words, it represents the size of the data.
  30. What: /sys/firmware/secvar/vars/<variable_name>/data
  31. Date: August 2019
  32. Contact: Nayna Jain h<[email protected]>
  33. Description: A read-only file containing the value of the variable. The size
  34. of the file represents the maximum size of the variable data.
  35. What: /sys/firmware/secvar/vars/<variable_name>/update
  36. Date: August 2019
  37. Contact: Nayna Jain <[email protected]>
  38. Description: A write-only file that is used to submit the new value for the
  39. variable. The size of the file represents the maximum size of
  40. the variable data that can be written.