| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2022-07-15 | Address reviewer comments | Raoul Strackx | -5/+10 | |
| 2022-07-15 | Test `copy_to_userspace` function | Raoul Strackx | -1/+33 | |
| 2022-07-15 | Ensure userspace allocation is 8-byte aligned | Raoul Strackx | -1/+4 | |
| 2022-07-15 | Mitigate MMIO stale data vulnerabilities | Raoul Strackx | -2/+98 | |
| Intel Security Advisory: https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00615.html | ||||
| 2022-07-15 | Unify copying data from enclave to userspace | Raoul Strackx | -7/+3 | |
| 2022-07-15 | Tests for unsound Windows file methods | Chris Denton | -0/+25 | |
| 2022-07-15 | Windows: Fallback for overlapped I/O | Chris Denton | -1/+26 | |
| Try waiting on the file handle once. If that fails then give up. | ||||
| 2022-07-15 | Use `rtabort!` instead of `process::abort` | Chris Denton | -7/+2 | |
| 2022-05-17 | Revert "Add `set_inheritable` for Windows `Handle`s" | Mark Rousskov | -4/+0 | |
| This reverts commit b89b0567427932fe37851a314610d795258f1834. | ||||
| 2022-05-17 | Revert "Windows: Make stdin pipes synchronous" | Mark Rousskov | -85/+31 | |
| This reverts commit 949b978ec9d63b0eea23d89bad16c6f022ac34a3. | ||||
| 2022-05-17 | Revert "Note the importance of using sync pipes" | Mark Rousskov | -19/+1 | |
| This reverts commit 1e7c15634d3b81b595d669382e45e6e136c730e1. | ||||
| 2022-05-11 | to_timespec could be unused by some targets | Sébastien Marie | -0/+1 | |
| 2022-05-11 | avoid using both Some() and ? on linux/android/freebsd code | Sébastien Marie | -1/+1 | |
| 2022-05-11 | openbsd: convert futex timeout managment to Timespec usage | Sébastien Marie | -9/+7 | |
| 2022-05-11 | Rollup merge of #96861 - m-ou-se:std-use-prelude-2021, r=joshtriplett | Yuki Okushi | -29/+2 | |
| Use Rust 2021 prelude in std itself. | ||||
| 2022-05-10 | Expose process main_thread_handle on Windows | unknown | -7/+38 | |
| 2022-05-09 | Use Rust 2021 prelude in std itself. | Mara Bos | -29/+2 | |
| 2022-05-09 | Auto merge of #96802 - gimbles:windows_slice, r=thomcc | bors | -0/+1 | |
| [feat] Make sys::windows::os_str::Slice repr(transparent) Fixes #96577 | ||||
| 2022-05-08 | fix panic in Path::strip_prefix | name1e5s | -0/+12 | |
| 2022-05-07 | [fix] remove pub(crate) visibility | gimbles | -1/+1 | |
| 2022-05-06 | Share more unix SystemTime code | Josh Stone | -101/+57 | |
| 2022-05-06 | [feat] Make sys::windows::os_str::Slice repr(transparent) | gimbles | -1/+2 | |
| 2022-05-06 | Use statx's 64-bit times on 32-bit linux-gnu | Josh Stone | -38/+79 | |
| 2022-05-06 | Use __clock_gettime64 on 32-bit linux-gnu | Josh Stone | -0/+27 | |
| 2022-05-06 | unix: always use 64-bit Timespec | Josh Stone | -67/+65 | |
| 2022-05-03 | Round timeouts up to infinite in futex_wait on DragonFlyBSD. | Mara Bos | -9/+8 | |
| 2022-05-03 | Add #[cfg] in cfg_if for linux in unix/futex. | Mara Bos | -3/+5 | |
| 2022-05-03 | Don't use futexes on netbsd. | Mara Bos | -43/+5 | |
| The latest NetBSD release doesn't include the futex syscall yet. | ||||
| 2022-04-29 | Disable pthread thread parker on futex platforms. | Mara Bos | -1/+5 | |
| 2022-04-29 | Always return false in futex_wake on {Free,DragonFly}BSD. | Mara Bos | -16/+13 | |
| 2022-04-29 | Use futex-based locks and thread parker on FreeBSD. | Mara Bos | -4/+59 | |
| 2022-04-29 | Use futex-based locks and thread parker on DragonFlyBSD. | Mara Bos | -1/+43 | |
| 2022-04-29 | Use futex-based locks and thread parker on NetBSD. | Mara Bos | -24/+52 | |
| 2022-04-29 | Use futex-based locks and thread parker on OpenBSD. | Mara Bos | -1/+52 | |
| 2022-04-29 | Auto merge of #96441 - ChrisDenton:sync-pipes, r=m-ou-se | bors | -31/+107 | |
| Windows: Make stdin pipes synchronous Stdin pipes do not need to be used asynchronously within the standard library. This is a first step in making pipes mostly synchronous. r? `@m-ou-se` | ||||
| 2022-04-28 | Auto merge of #96393 - joboet:pthread_parker, r=thomcc | bors | -9/+281 | |
| std: directly use pthread in UNIX parker implementation `Mutex` and `Condvar` are being replaced by more efficient implementations, which need thread parking themselves (see #93740). Therefore we should use the `pthread` synchronization primitives directly. Also, we can avoid allocating the mutex and condition variable because the `Parker` struct is being placed in an `Arc` anyways. This basically is just a copy of the current `Mutex` and `Condvar` code, which will however be removed (again, see #93740). An alternative implementation could be to use dedicated private `OsMutex` and `OsCondvar` types, but all the other platforms supported by std actually have their own thread parking primitives. I used `Pin` to guarantee a stable address for the `Parker` struct, while the current implementation does not, rather using extra unsafe declaration. Since the thread struct is shared anyways, I assumed this would not add too much clutter while being clearer. | ||||
| 2022-04-28 | std: simplify UNIX parker timeouts | joboet | -59/+21 | |
| 2022-04-27 | Note the importance of using sync pipes | Chris Denton | -1/+19 | |
| 2022-04-26 | Windows: Make stdin pipes synchronous | Chris Denton | -31/+85 | |
| Stdin pipes do not need to be used asynchronously within the standard library. | ||||
| 2022-04-26 | Add `set_inheritable` for Windows `Handle`s | Chris Denton | -0/+4 | |
| 2022-04-25 | Remove references to git.io | Eric Huss | -1/+2 | |
| 2022-04-25 | std: directly use pthread in UNIX parker implementation | joboet | -7/+317 | |
| Mutex and Condvar are being replaced by more efficient implementations, which need thread parking themselves (see #93740). Therefore use the pthread synchronization primitives directly. Also, avoid allocating because the Parker struct is being placed in an Arc anyways. | ||||
| 2022-04-25 | Auto merge of #95246 - ChrisDenton:command-args, r=joshtriplett | bors | -91/+191 | |
| Windows Command: Don't run batch files using verbatim paths Fixes #95178 Note that the first commit does some minor refactoring (moving command line argument building to args.rs). The actual changes are in the second. | ||||
| 2022-04-24 | Auto merge of #94609 - esp-rs:esp-idf-stat-type-fixes, r=Mark-Simulacrum | bors | -3/+18 | |
| espidf: fix stat Marking as draft as currently dependant on [a libc fix](https://github.com/rust-lang/libc/pull/2708) and release. | ||||
| 2022-04-23 | Auto merge of #96314 - AronParker:issue-96297-fix, r=thomcc | bors | -1/+7 | |
| Reduce allocations for path conversions on Windows Previously, UTF-8 to UTF-16 Path conversions on Windows unnecessarily allocate twice, as described in #96297. This commit fixes that issue. | ||||
| 2022-04-23 | Auto merge of #94887 - dylni:move-normpath-crate-impl-to-libstd, r=ChrisDenton | bors | -29/+115 | |
| Improve Windows path prefix parsing This PR fixes improves parsing of Windows path prefixes. `parse_prefix` now supports both types of separators on Windows (`/` and `\`). | ||||
| 2022-04-22 | Remove redundant type annotation | Aron Parker | -1/+1 | |
| 2022-04-22 | Reduce allocations for path conversions on Windows | Aron Parker | -1/+7 | |
| Previously, UTF-8 to UTF-16 Path conversions on Windows unnecessarily allocate twice, as described in #96297. This commit fixes that issue. | ||||
| 2022-04-21 | Rollup merge of #96193 - djkoloski:fuchsia_current_exe, r=tmandry | Dylan DPC | -1/+21 | |
| [fuchsia] Add implementation for `current_exe` This implementation returns a best attempt at the current exe path. On fuchsia, fdio will always use `argv[0]` as the process name and if it is not set then an error will be returned. Because this is not guaranteed to be the case, this implementation returns an error if `argv` does not contain any elements. | ||||
| 2022-04-20 | Rollup merge of #96234 - goffrie:eloop, r=thomcc | Dylan DPC | -1/+2 | |
| remove_dir_all_recursive: treat ELOOP the same as ENOTDIR On older Linux kernels (I tested on 4.4, corresponding to Ubuntu 16.04), opening a symlink using `O_DIRECTORY | O_NOFOLLOW` returns `ELOOP` instead of `ENOTDIR`. We should handle it the same, since a symlink is still not a directory and needs to be `unlink`ed. | ||||
