rust/library/std/src/sys
Jacob Pratt adf522cefb
Rollup merge of #145150 - ChrisDenton:inherit, r=Mark-Simulacrum
Replace unsafe `security_attributes` function with safe `inherit_handle` alternative

The `security_attributes` function is marked as safe despite taking a raw pointer which will later be used. Fortunately this function is only used internally and only in one place that has been basically the same for a decade now. However, we only ever set one bool so it's easy enough to replace with something that's actually safe.

In the future we might want to expose the ability for users to set security attributes. But that should be properly designed (and safe!).
2025-08-10 15:43:54 -04:00
..
alloc Add new Tier-3 targets: loongarch32-unknown-none* 2025-06-06 08:19:38 +08:00
anonymous_pipe Mv os-specific trait impl of Pipe* into std::os::* 2025-03-14 01:03:56 +11:00
args Change visibility of Args new function 2025-08-02 10:46:29 -07:00
env use generic Atomic type where possible 2025-04-27 02:18:08 +03:00
fd Rollup merge of #139667 - 1c3t3a:remove-no-sanitize, r=m-ou-se 2025-04-17 00:16:21 +02:00
fs Replace unsafe function with safe alternative 2025-08-09 07:05:12 +00:00
io Trusty: Implement write_vectored for stdio 2025-03-27 16:49:30 -07:00
net Rollup merge of #143838 - Ayush1325:uefi-tcp4-config-data, r=tgross35 2025-07-24 15:08:20 +02:00
os_str Rollup merge of #141467 - cyrgani:const-empty-stringlikes, r=Amanieu 2025-06-04 07:54:33 +02:00
pal Fix wasm target build with atomics feature 2025-08-08 22:45:25 +08:00
path setup CI and tidy to use typos for spellchecking and fix few typos 2025-07-03 10:51:06 +03:00
personality Add new Tier-3 targets: loongarch32-unknown-none* 2025-06-06 08:19:38 +08:00
process Replace unsafe function with safe alternative 2025-08-09 07:05:12 +00:00
random Remove [T]::array_chunks(_mut) 2025-07-27 23:03:07 -07:00
stdio Rollup merge of #139517 - Ayush1325:uefi-cmd-stdin-null, r=joboet 2025-04-15 15:47:25 +10:00
sync Add comment why we use zero for COMPLETE 2025-07-13 12:37:34 +02:00
thread_local Fix broken TLS destructors on 32-bit win7 2025-07-21 13:11:47 +02:00
backtrace.rs Add experimental backtrace-trace-only std feature 2025-07-14 11:52:17 +00:00
cmath.rs Initial implementation of core_float_math 2025-05-13 22:08:18 +00:00
configure_builtins.rs Dynamically enable LSE for aarch64 rust provided intrinsics 2025-08-05 10:35:13 -05:00
env_consts.rs Move zkVM constants into sys::env_consts 2025-04-21 21:05:04 -07:00
exit_guard.rs std: use the address of errno to identify threads in unique_thread_exit 2025-04-01 13:35:16 +02:00
mod.rs Dynamically enable LSE for aarch64 rust provided intrinsics 2025-08-05 10:35:13 -05:00