Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • stable
  • extraversion
  • early-display
  • variant-emmc-nvme-boot
  • 2024-07-19
  • 2024-06-30
  • 2023-10-18
  • 2023-10-10
  • 2023-07-04
  • 2023-01-25
  • v3
  • variant-emmc-nvme-boot
  • 2020-06-01
14 results

cmd_sandbox.c

Blame
    • Simon Glass's avatar
      7eb2c8d5
      sandbox: fs: Add support for saving files to host filesystem · 7eb2c8d5
      Simon Glass authored
      
      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: default avatarSimon Glass <sjg@chromium.org>
      7eb2c8d5
      History
      sandbox: fs: Add support for saving files to host filesystem
      Simon Glass authored
      
      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: default avatarSimon Glass <sjg@chromium.org>