aboutsummaryrefslogtreecommitdiff
path: root/libstb/test
AgeCommit message (Collapse)AuthorFilesLines
2016-12-22print-stb-container: Fix build on centos7Stewart Smith1-2/+3
Because of ordering of include files, we got: /usr/include/bits/stat.h:106:31: error: expected identifier or '(' before '[' token __syscall_slong_t __unused[3]; Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-10-28print-stb-container: close(fd) to clean up neatlyStewart Smith1-0/+1
Fixes: fab5418b256817e2695aa653d4840bfa5b5be53b Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-10-10libstb: add required container header structuresClaudio Carvalho5-0/+332
The full container header layout will be released soon either as a separate github project or as part of hostboot. This adds the secure boot header structures required by skiboot, and also implements some helper routines related to containers. Signed-off-by: Claudio Carvalho <cclaudio@linux.vnet.ibm.com> [stewart@linux.vnet.ibm.com: Add unit test, print utility, use zero length arrays to ensure sizeof() works correctly, add parsing function] Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>