commit | ea307e87798c1f9fa242100348a94a2316cd4cdb | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Apr 20 08:42:51 2013 +0000 |
committer | Tom Rini <trini@ti.com> | Wed May 01 11:17:21 2013 -0400 |
tree | e4f2e0f533ea14d758c09de28c143bbe60c70dbc | |
parent | eda14eac71b21fb961cf9d416202af030de7a76a [diff] |
sandbox: fs: Add support for saving files to host filesystem 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>