rust/library/std/src
Jubilee Young 357ba1f8ec unix: lift init of sigaltstack before sigaction
This is technically "not necessary", as we will "just" segfault instead
if we e.g. arrive inside the handler fn with the null altstack. However,
it seems incorrect to go about this hoping that segfaulting is okay,
seeing as how our purpose here is to mitigate stack overflow problems.

Make sure NEED_ALTSTACK syncs with PAGE_SIZE when we do.

Co-authored-by: Jonas Böttiger <jonasboettiger@icloud.com>
2024-07-18 15:18:38 -07:00
..
backtrace remove redundant imports 2023-12-10 10:56:22 +08:00
collections std: Unsafe-wrap HashMap::get_many_unchecked_mut 2024-07-14 16:49:16 -07:00
env remove redundant imports 2023-12-10 10:56:22 +08:00
error core/any: remove Provider trait 2023-08-13 13:07:53 -06:00
f16 Add classify and related methods for f16 and f128 2024-07-14 18:44:43 -04:00
f32 Extract repeated constants from f32 and f64 source 2024-06-24 00:42:21 -05:00
f64 Extract repeated constants from f32 and f64 source 2024-06-24 00:42:21 -05:00
f128 Add classify and related methods for f16 and f128 2024-07-14 18:44:43 -04:00
ffi std: Unsafe-wrap OSStr{,ing}::from_encoded_bytes_unchecked 2024-07-14 16:59:12 -07:00
fs Auto merge of #125935 - madsmtm:merge-os-apple, r=workingjubilee 2024-07-14 16:28:07 +00:00
hash Add blank lines after module-level //! comments. 2024-06-20 09:23:20 +10:00
io std: Unsafe-wrap std::io 2024-07-14 17:17:55 -07:00
net Replace MaybeUninit::uninit_array() with array repeat expression. 2024-06-24 10:23:50 -07:00
num removed nonfunctioning benchmark 2024-01-11 11:30:12 -05:00
os Rollup merge of #127750 - ChrisDenton:safe-unsafe-unsafe, r=workingjubilee 2024-07-15 02:28:44 -07:00
panic review: fix nits and move panic safety tests to the correct place 2020-09-25 23:10:24 +02:00
path Rollup merge of #127297 - the8472:path-new-hash, r=Nilstrieb 2024-07-07 14:22:00 +02:00
prelude replace version placeholder 2024-06-11 16:52:02 +02:00
process Remove DWORD 2024-07-15 05:01:22 +00:00
sync std: Unsafe-wrap std::sync 2024-07-14 17:59:37 -07:00
sys unix: lift init of sigaltstack before sigaction 2024-07-18 15:18:38 -07:00
sys_common std: Unsafe-wrap in Wtf8 impl 2024-07-14 17:44:13 -07:00
thread Replace move|| with move || in compiler/ and library/ 2024-06-18 23:25:08 +08:00
time Rollup merge of #103056 - beetrees:timespec-bug-fix, r=thomcc 2023-05-05 18:40:32 +05:30
alloc.rs Unify guarantees about the default allocator 2024-06-11 17:13:26 +02:00
ascii.rs Add the basic ascii::Char type 2023-05-03 22:09:33 -07:00
backtrace.rs std: move sys_common::backtrace to sys 2024-06-16 13:14:01 +02:00
env.rs std: Directly call unsafe {un,}setenv in env 2024-07-14 17:08:44 -07:00
error.rs std: move sys_common::backtrace to sys 2024-06-16 13:14:01 +02:00
f16.rs Add more f16 and f128 library functions and constants 2024-06-25 01:32:36 -04:00
f32.rs variable-precision float operations behave non-deterministically 2024-05-02 18:57:30 +02:00
f64.rs std: removes logarithms family function edge cases handling for solaris. 2024-07-14 23:20:46 +01:00
f128.rs Add more f16 and f128 library functions and constants 2024-06-25 01:32:36 -04:00
fs.rs Rollup merge of #126140 - eduardosm:stabilize-fs_try_exists, r=Amanieu 2024-06-22 19:33:55 +02:00
keyword_docs.rs Mention labelled blocks in break docs 2024-03-15 10:51:57 -07:00
lib.miri.rs add 'x.py miri', and make it work for 'library/{core,alloc,std}' 2024-04-03 20:27:20 +02:00
lib.rs std: deny(unsafe_op_in_unsafe_fn) but allow sites 2024-07-14 16:44:01 -07:00
macros.rs Add tests for f16 and f128 2024-06-25 01:32:36 -04:00
num.rs Replace version placeholders for 1.79 2024-05-01 21:01:51 -04:00
panic.rs Use payload_as_str instead of two downcasts. 2024-06-12 13:15:29 +02:00
panicking.rs fix interleaved panic output 2024-07-12 11:52:04 -04:00
pat.rs Add pattern types to parser 2024-04-08 11:57:17 +00:00
path.rs Rollup merge of #127297 - the8472:path-new-hash, r=Nilstrieb 2024-07-07 14:22:00 +02:00
process.rs Fix minor typos in std::process doc on Win argv 2024-07-13 16:56:25 -07:00
rt.rs sys::init is not unsafe on teeos 2024-07-14 21:43:20 +03:00
time.rs Rust is a proper name: rust → Rust 2024-03-07 07:49:22 +01:00