1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 20:17:45 +00:00

use std::command::pre_exec() to set limits on child before exec

This commit is contained in:
Ulrich Hornung 2024-03-05 15:56:20 +01:00
parent dab02d005d
commit db142f9449
No known key found for this signature in database
GPG key ID: 64EA3BAAF1BC0603
2 changed files with 57 additions and 17 deletions

View file

@ -495,10 +495,10 @@ rstest = { workspace = true }
[target.'cfg(any(target_os = "linux", target_os = "android"))'.dev-dependencies]
procfs = { version = "0.16", default-features = false }
rlimit = "0.10.1"
[target.'cfg(unix)'.dev-dependencies]
nix = { workspace = true, features = ["process", "signal", "user", "term"] }
rlimit = "0.10.1"
rand_pcg = "0.3"
xattr = { workspace = true }