David Cook
|
3aff803868
|
Add comment
|
2020-02-17 22:24:33 -06:00 |
|
David Cook
|
085874d1ff
|
Add F_DUPFD/F_DUPFD_CLOEXEC to fcntl shim
|
2020-02-17 22:24:33 -06:00 |
|
David Cook
|
38204b6321
|
Add shim for rename
|
2020-02-08 22:33:49 -06:00 |
|
bors
|
f9615bfd67
|
Auto merge of #1159 - divergentdave:shim-seek, r=RalfJung
Add shim for seeking files
This adds a shim for `lseek64` (`lseek` on macOS). This enables the use of `<File as Seek>::seek`. Testing is included.
|
2020-02-08 13:54:33 +00:00 |
|
Ralf Jung
|
ef154df607
|
pass MPlaceTy by-value, as we usually do
|
2020-01-30 13:38:49 +01:00 |
|
David Cook
|
2f25e4cd17
|
Error with EINVAL on unsupported whence argument
|
2020-01-29 19:04:18 -06:00 |
|
David Cook
|
6e9abea272
|
Update comment
|
2020-01-28 22:59:28 -06:00 |
|
David Cook
|
d8da3968d6
|
Change function name, comments, and error message
|
2020-01-28 19:43:55 -06:00 |
|
David Cook
|
03b5d95cff
|
Add shim for lseek64
|
2020-01-26 12:36:36 -06:00 |
|
David Cook
|
90f3aae2de
|
Add fstat shim for OSX
|
2020-01-26 11:58:08 -06:00 |
|
David Cook
|
d94b88ef98
|
Add support for AT_EMPTY_PATH to statx shim
|
2020-01-25 22:21:33 -06:00 |
|
bors
|
b4c54b4641
|
Auto merge of #1143 - christianpoveda:symlink-shim, r=RalfJung
Add shim for symbolic link creation
r? @RalfJung
|
2020-01-10 17:21:12 +00:00 |
|
Christian Poveda
|
5e71f2debc
|
fix windows symlink creation
|
2020-01-10 12:18:24 -05:00 |
|
Christian Poveda
|
0b5a30515e
|
small corrections
|
2020-01-10 12:01:05 -05:00 |
|
Christian Poveda
|
91cf68fac5
|
Add lstat shim for macos
|
2020-01-07 12:26:23 -05:00 |
|
Christian Poveda
|
4a1dbc77dc
|
Add shim for symbolic link creation
|
2020-01-06 16:30:17 -05:00 |
|
Yuki Okushi
|
86ee705cd5
|
Rustup
|
2020-01-07 05:13:18 +09:00 |
|
bors
|
39146c44bd
|
Auto merge of #1130 - christianpoveda:ignore-close-read-only, r=RalfJung
Ignore close errors in read-only files.
this fixes https://github.com/rust-lang/miri/issues/999
r? @RalfJung
|
2019-12-31 11:00:08 +00:00 |
|
Christian Poveda
|
a40a99d849
|
avoid double negation
|
2019-12-30 17:26:17 -05:00 |
|
Christian Poveda
|
ce4e1f9fe7
|
add comments
|
2019-12-29 22:51:48 -05:00 |
|
Christian Poveda
|
b7e6135d7b
|
Use Scalar::to_u16
|
2019-12-28 08:38:31 -05:00 |
|
Christian Poveda
|
dc4b8ac2e6
|
close file silently if the file is read only
|
2019-12-27 08:34:35 -05:00 |
|
Christian Poveda
|
c8190e8de7
|
rename metadata struct
|
2019-12-26 19:31:59 -05:00 |
|
Christian Poveda
|
2151e958ce
|
minor fixes and updated docs
|
2019-12-26 12:12:27 -05:00 |
|
Christian Poveda
|
bbbb50a09a
|
set mask for statx correctly
|
2019-12-25 22:24:18 -05:00 |
|
Christian Poveda
|
1bc3629084
|
do padding correctly
|
2019-12-25 18:22:33 -05:00 |
|
Christian Poveda
|
d176259002
|
deduplicate shared code between stat and statx
|
2019-12-25 18:17:20 -05:00 |
|
Christian Poveda
|
515c119359
|
Add padding on 64-bits only
|
2019-12-25 13:10:50 -05:00 |
|
Christian Poveda
|
6d88a4704a
|
restrict stat shim to macos only
|
2019-12-25 12:38:35 -05:00 |
|
Christian Poveda
|
dbc118919a
|
add padding to immediates
|
2019-12-25 11:08:27 -05:00 |
|
Christian Poveda
|
0184e10f2f
|
fix size for file mode
|
2019-12-25 08:27:50 -05:00 |
|
Christian Poveda
|
b2c4ff2aee
|
add remanining fields to stat stuct
|
2019-12-25 08:27:50 -05:00 |
|
Christian Poveda
|
d9ecd77ada
|
add dummy stat shim
|
2019-12-25 08:27:49 -05:00 |
|
Oliver Scherer
|
7ead530841
|
Rustfmt all the things
|
2019-12-23 12:56:23 +01:00 |
|
Christian Poveda
|
b0c7625dd1
|
add statx shim for linux
|
2019-12-22 11:46:02 -05:00 |
|
Ralf Jung
|
94732aaf7b
|
rename helper methods a bit
|
2019-12-04 10:43:36 +01:00 |
|
Ralf Jung
|
5345636f37
|
use new isize_max method in FS accesses; also check full buffers for validity
|
2019-11-17 09:54:09 +01:00 |
|
Ralf Jung
|
c790317eb9
|
remove no-longer-needed zero checks
|
2019-11-14 10:30:00 +01:00 |
|
Christian Poveda
|
4baef7120a
|
Fix maximum isize value for target
|
2019-11-13 14:45:00 -05:00 |
|
Christian Poveda
|
edd0157069
|
Cap count twice
|
2019-11-13 11:57:20 -05:00 |
|
Christian Poveda
|
6e37f2f3e1
|
Cap count
|
2019-11-09 15:15:52 +01:00 |
|
Christian Poveda
|
10b93730d3
|
Fix merge conflicts
|
2019-11-09 10:42:45 +01:00 |
|
Ralf Jung
|
37b1190def
|
rustup
|
2019-11-08 22:07:52 +01:00 |
|
Christian Poveda
|
4bbaa72dc9
|
Use TryFrom instead
|
2019-11-07 20:50:16 +01:00 |
|
Christian Poveda
|
f910ea135c
|
Avoid using as cast
|
2019-11-05 16:47:24 -05:00 |
|
Christian Poveda
|
56c5e53553
|
Handle host's usize correctly
|
2019-11-04 09:38:21 -05:00 |
|
Christian Poveda
|
d0b4407b25
|
Fix casts for count check
|
2019-11-03 10:04:00 -06:00 |
|
Christian Poveda
|
06ef77bfef
|
Check for usize to i64 overflows
|
2019-10-28 16:44:18 -05:00 |
|
Christian Poveda
|
122549fd09
|
Simplify read logic
|
2019-10-26 09:03:45 -05:00 |
|
Christian Poveda
|
d7967f6b05
|
Drop files explicitly when closing them
|
2019-10-26 08:54:02 -05:00 |
|