summaryrefslogtreecommitdiff
path: root/include/sandboxfs.h
Commit message (Collapse)AuthorAgeLines
* sandbox: implement exists() functionStephen Warren2014-02-19-0/+1
| | | | | | | | This hooks into the generic "file exists" support added in an earlier patch, and provides an implementation for the sandbox test environment. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org>
* sandbox: fs: Add support for saving files to host filesystemSimon Glass2013-05-01-0/+1
| | | | | | | | | | | | 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 host filesystemSimon Glass2013-03-04-0/+30
This allows reading of files from the host filesystem in sandbox. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@ti.com>