about summary refs log tree commit diff
path: root/library/std/src/sys/unix/fs.rs
AgeCommit message (Expand)AuthorLines
2022-02-04Hide Repr details from io::Error, and rework `io::Error::new_const`.Thom Chiovoloni-4/+4
2022-01-31Rollup merge of #93471 - cuviper:direntry-file_type-stat, r=the8472Matthias Krüger-2/+2
2022-01-29unix: Use metadata for `DirEntry::file_type` fallbackJosh Stone-2/+2
2022-01-29fs: Don't copy d_name from struct direntTavian Barnes-2/+10
2022-01-29Auto merge of #93351 - anp:fuchsia-remove-dir-all, r=tmandrybors-2/+0
2022-01-28Fix remove_dir_all on Fuchsia after CVE fix.Adam Perry-2/+0
2022-01-26Rollup merge of #92778 - tavianator:linux-readdir-no-r, r=joshtriplettMatthias Krüger-35/+57
2022-01-21fs: Use readdir() instead of readdir_r() on AndroidTavian Barnes-0/+10
2022-01-21fs: Use readdir() instead of readdir_r() on LinuxTavian Barnes-12/+29
2022-01-21fs: Implement more ReadDir methods in terms of name_cstr()Tavian Barnes-23/+18
2022-01-21Fix STD compilation for the ESP-IDF targetivmarkov-3/+7
2022-01-20Fix compilation for a few tier 2 targetsHans Kratz-8/+5
2022-01-19Fix CVE-2022-21658 for UNIX-likeHans Kratz-11/+277
2021-12-09Auto merge of #81156 - DrMeepster:read_buf, r=joshtriplettbors-1/+5
2021-11-12Refactor weak symbols in std::sys::unixJosh Stone-13/+7
2021-11-02more efficent File::read_buf impl for windows and unixDrMeepster-1/+5
2021-09-14Add chown functions to std::os::unix::fs to change the owner and group of filesJosh Triplett-0/+17
2021-08-31Use the return value of readdir_r() instead of errnoTavian Barnes-2/+3
2021-08-19I/O safety.Dan Gohman-21/+56
2021-08-10STD support for the ESP-IDF frameworkivmarkov-8/+22
2021-07-29fs File get_path procfs usage for netbsd same as linux.David Carlier-2/+7
2021-07-10Change `weak!` and `linkat!` to macros 2.0Aris Merchant-0/+9
2021-07-09Fix linker errorAris Merchant-11/+30
2021-07-06Rollup merge of #83581 - arennow:dir_entry_ext_unix_borrow_name, r=m-ou-seYuki Okushi-0/+4
2021-06-15Rename ErrorKind::Unknown to Uncategorized.Mara Bos-1/+1
2021-06-15Redefine `ErrorKind::Other` and stop using it in std.Mara Bos-1/+1
2021-05-23Auto merge of #85490 - CDirkx:fix-vxworks, r=dtolnaybors-1/+1
2021-05-21Add std::os::unix::fs::DirEntryExt2::file_name_ref(&self) -> &OsStrAaron Rennow-0/+4
2021-05-20Not implement `os::unix::fs::chroot` for `vxworks`Christiaan Dirkx-1/+1
2021-05-19Move the implementation of `Path::exists` to `sys_common::fs` so platforms ca...Chris Denton-1/+1
2021-05-02Change 'NULL' to 'null'Brent Kerby-2/+2
2021-04-30Add std::os::unix::fs::chroot to change the root directory of the current pro...Josh Triplett-0/+7
2021-04-18Rename `NotSupported` to `Unsupported`Christiaan Dirkx-1/+1
2021-04-18Use `NotSupported` in more placesChristiaan Dirkx-1/+1
2021-03-27Improve fs error open_from unixIvan Tham-5/+3
2021-03-21Use io::Error::new_const everywhere to avoid allocations.Mara Bos-6/+6
2020-12-03fix copy specialization not updating Take wrappersThe8472-1/+2
2020-11-14Disambiguate symlink argument namesDavid Tolnay-9/+9
2020-11-14Auto merge of #75272 - the8472:spec-copy, r=KodrAusbors-77/+8
2020-11-13Always handle EOVERFLOW by falling back to the generic copy loopThe8472-6/+4
2020-11-13move sendfile/splice/copy_file_range into kernel_copy moduleThe8472-149/+2
2020-11-13limit visibility of copy offload helpers to sys::unix moduleThe8472-4/+4
2020-11-13move copy specialization into sys::unix moduleThe8472-15/+3
2020-11-13reduce syscalls by inferring FD types based on source struct instead of calli...The8472-27/+56
2020-11-13hide unused exports on other platformsThe8472-2/+2
2020-11-13specialize io::copy to use copy_file_range, splice or sendfileThe8472-6/+69
2020-11-09Rollup merge of #78026 - sunfishcode:symlink-hard-link, r=dtolnayDylan DPC-1/+14
2020-10-24Disable use of `linkat` on Android as well.Dan Gohman-5/+5
2020-10-18Use `link` on platforms which lack `linkat`.Dan Gohman-4/+14
2020-10-18Fix a typo in a comment.Dan Gohman-1/+1