Commit Graph

14 Commits

Author SHA1 Message Date
4lDO2 0ed497fe23 Update syscall. 2021-06-17 14:39:09 +02:00
4lDO2 7206288e72 Handle O_TRUNC properly.
This ensures that files that were replaced due to O_CREAT, will now be
emptied when O_TRUNC is passed (which is the default).
2021-04-01 19:08:44 +02:00
4lDO2 eaf78bb51b Run rustfmt.
In the future we should add CI with a rustfmt check, making correct
formatting a hard requirement.
2021-04-01 09:46:17 +02:00
Joshua Abraham 70e52d4ec9 ramfs: Fix duplicated files bug
Previously ramfs allowed identical filenames to be created if the
O_CREAT flag was used. This patch fixes the behavior and instead
opens the existing file as long as O_EXCL is not specified.
2021-03-31 19:16:32 -05:00
Jeremy Soller a4fdf5ea30 Revert "Merge branch 'ramfs-nofile' into 'master'"
This reverts merge request !1
2021-03-30 12:41:40 +00:00
James Graves 737a41854d Fix missing 'use ENOENT' 2021-03-30 09:16:06 +00:00
Joshua Abraham 4523d80c24 ramfs: SchemeMut: return ENOENT in filesystem calls when file does not exist 2021-03-29 20:38:52 -05:00
Jeremy Soller c177f71b21 Update redox_syscall 2021-01-15 13:00:21 -07:00
Jeremy Soller 4343ac6b54 Update to newer syscall 2020-08-02 15:31:42 -06:00
4lDO2 ec847e309d Remove all dbg! statements. 2020-06-18 10:30:23 +02:00
4lDO2 6b005a02f4 Make most of the scheme work, except for deletion. 2020-04-04 10:26:43 +02:00
4lDO2 931aa86ba8 Support some path operations. 2020-04-01 17:14:23 +02:00
4lDO2 4b83d5834e Implement most of the scheme. 2020-03-29 21:42:32 +02:00
4lDO2 4736a52639 Initial commit. 2020-03-29 11:22:21 +02:00