03 Dec, 2016

1 commit

  • Now that we free resources in sandbox_fs_ls Coverity is letting us know
    that in some cases we might leak. So in case of error we should still
    let os_dirent_free free anything that was allocated.

    Fixes: 86167089b71c ("sandbox/fs: Free memory allocated by os_dirent_ls")
    Reported-by: Coverity (CID: 153450)
    Cc: Stefan Brüns
    Cc: Simon Glass
    Signed-off-by: Tom Rini
    Reviewed-by: Simon Glass

    Tom Rini
     

12 Oct, 2016

1 commit


15 Mar, 2016

1 commit


20 Apr, 2015

1 commit

  • Only do sandbox filesystem access when using the hostfs device
    interface, rather then falling back to it in all cases. This prevents
    confusion situations due to the fallback being taken rather then an
    unsupported error being raised.

    Signed-off-by: Sjoerd Simons
    Reviewed-by: Simon Glass
    Acked-by: Simon Glass

    Sjoerd Simons
     

23 Nov, 2014

2 commits


09 Aug, 2014

1 commit

  • These commands may be used to determine the size of a file without
    actually reading the whole file content into memory. This may be used
    to determine if the file will fit into the memory buffer that will
    contain it. In particular, the DFU code will use it for this purpose
    in the next commit.

    Signed-off-by: Stephen Warren

    Stephen Warren
     

19 Feb, 2014

1 commit


18 Nov, 2013

1 commit


01 Nov, 2013

1 commit


24 Jul, 2013

1 commit


01 May, 2013

1 commit

  • 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

    Simon Glass
     

05 Mar, 2013

1 commit