summaryrefslogtreecommitdiffstats
path: root/common/cmd_sandbox.c
Commit message (Collapse)AuthorAgeFilesLines
* sandbox: fs: Add support for saving files to host filesystemSimon Glass2013-05-011-4/+14
| | | | | | | | | | | | This allows write of files from the host filesystem in sandbox. There is currently no concept of overwriting the file and removing its existing contents - all writing is done on top of what is there. This means that writing 10 bytes to the start of a 1KB file will only update those 10 bytes, not truncate the file to 10 byte slong. If the file does not exist it is created. Signed-off-by: Simon Glass <sjg@chromium.org>
* sandbox: Add 'sb' command to access filesystem featuresSimon Glass2013-03-041-0/+63
The new 'sb' command is intended to deal with sandbox-specific features that have no parallel in other archs. This commit adds two sub-commands to list a directory and read a file from the host filesystem. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@ti.com>
OpenPOWER on IntegriCloud