summaryrefslogtreecommitdiff
path: root/library/std/src/sys/unix/stack_overflow.rs
Commit message (Collapse)AuthorAgeFilesLines
* std: only use LFS function on glibcmochaaP2022-12-221-2/+2
| | | | see #94173 and commit 27011b4185f5341e579d2a02cabd3dc7d7aa7149.
* Use more LFS functions.Michael Benfield2022-12-071-2/+5
| | | | | | | | | | | | On Linux, use mmap64, open64, openat64, and sendfile64 in place of their non-LFS counterparts. This is relevant to #94173. With these changes (together with rust-lang/backtrace-rs#501), the simple binaries I produce with rustc seem to have no non-LFS functions, so maybe #94173 is fixed. But I can't be sure if I've missed something and maybe some non-LFS functions could sneak in somehow.
* Update libc to 0.2.121Patrick Mooney2022-04-051-17/+1
| | | | | | | | With the updated libc, UNIX stack overflow handling in libstd can now use the common `si_addr` accessor function, rather than attempting to use a field from that name in `siginfo_t`. This simplifies the collection of the fault address, particularly on platforms where that data resides within a union in `siginfo_t`.
* Rollup merge of #89068 - bjorn3:restructure_rt2, r=joshtriplettMatthias Krüger2021-10-311-10/+10
|\ | | | | | | | | | | | | | | Restructure std::rt (part 2) A couple more cleanups on top of https://github.com/rust-lang/rust/pull/89011 Blocked on #89011
| * Let stack_overflow::imp::cleanup call drop_handler directlybjorn32021-10-081-10/+10
| | | | | | | | instead of through the Drop impl for Handler
* | Rollup merge of #87528 - :stack_overflow_obsd, r=joshtriplettGuillaume Gomez2021-10-091-8/+9
|\ \ | |/ |/| | | stack overflow handler specific openbsd change.
| * stack overflow handler specific openbsd fix.David Carlier2021-07-281-8/+9
| | | | | | | | | | On this platform, when doing stack allocation, MAP_STACK is needed otherwise the mapping fails.
* | Handle stack_t.ss_sp type change for DragonFlyBSDRyan Zoeller2021-08-271-14/+0
|/ | | | | | stack_t.ss_sp is now c_void on DragonFlyBSD, so the specialization is no longer needed. Changed in https://github.com/rust-lang/libc/commit/02922ef7504906589d02c2e4d97d1172fa247cc3.
* Rename `rterr` to `rtprintpanic`Christiaan Dirkx2021-05-191-1/+1
|
* Replace `sys_common::util::report_overflow` with `rterr!`Christiaan Dirkx2021-05-191-3/+5
|
* Display error details when a `mmap` call failsYuki Okushi2021-03-171-2/+3
|
* Remove the x86_64-rumprun-netbsd targetSimonas Kazlauskas2021-02-271-2/+2
| | | | Closes #81514
* Take sys/vxworks/stack_overflow from sys/unix instead.Mara Bos2020-10-161-1/+1
|
* mv std libs to library/mark2020-07-271-0/+234