Commit graph

6 commits

Author SHA1 Message Date
David Lechner
f81a45e79a use bytes objects for read and write data
This changes the data type for the buffer of the read and write syscalls
from string to bytes. On Python 2, this has no effect. On Python 3, it
is a breaking change, but fixes a serious usibility bug that limits file
data to valid UTF-8 data. With these changes, files can contain arbitrary
data.
2019-03-14 17:51:30 -05:00
Cédric CARRÉE
f8f420f3b1 FiocFS.write() should return number of bytes wrote
Otherwise EIO is returned by write() syscall
2018-04-18 11:25:11 +02:00
Cédric CARRÉE
f1125562cc Update signature of FiocFS.write in IOCTL example 2018-04-18 10:57:39 +02:00
Cédric CARRÉE
c243247146 Description: Fix typo in 'truncate' function name 2018-04-18 10:12:34 +02:00
Cédric CARRÉE
8c95e3b76b Merge remote-tracking branch 'upstream/master'
Now using python3 and make IOCTL works again
2018-04-16 12:26:42 +02:00
Cédric CARRÉE
26655db177 Added IOCTL support to python-fuse 2016-02-23 15:21:44 +01:00