Docs.rs
  • rootasrole-core-3.0.5
    • rootasrole-core 3.0.5
    • Docs.rs crate page
    • GPL-3.0-or-later
    • Links
    • crates.io
    • Source
    • Owners
    • LeChatP
    • Dependencies
      • bitflags ^2.5 normal
      • bon ^3.3.2 normal
      • capctl ^0.2 normal
      • chrono ^0.4 normal
      • derivative ^2.2 normal
      • env_logger ^0.11 normal
      • glob ^0.3 normal optional
      • hex ^0.4 normal
      • libc ^0.2 normal
      • linked_hash_set ^0.1 normal
      • log ^0.4 normal
      • nix ^0.29 normal
      • once_cell ^1.19 normal
      • pcre2 ^0.2 normal optional
      • semver ^1.0 normal
      • serde ^1.0.210 normal
      • serde_json ^1.0.132 normal
      • sha2 ^0.10 normal
      • shell-words ^1.1 normal
      • strum ^0.26 normal
      • syslog ^7.0 normal
      • env_logger ^0.11 dev
      • log ^0.4 dev
      • test-log ^0.2 dev
    • Versions
    • 40.99% of the crate is documented
  • Go to latest version
  • Platform
    • i686-unknown-linux-gnu
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

rootasrole_core3.0.5

Module util

Module Items

  • Enums
  • Constants
  • Functions

In crate rootasrole_core

rootasrole_core

Module util

Source

Enums§

ImmutableLock

Constants§

BOLD
RED
RST
UNDERLINE

Functions§

activates_no_new_privs
cap_effective
capabilities_are_exploitable
Reference every capabilities that lead to almost a direct privilege escalation
create_dir_all_with_privileges
create_with_privileges
dac_override_effective
drop_effective
escape_parser_string
final_path
find_from_envpath
fowner_effective
immutable_effective
open_with_privileges
parse_capset_iter
parse_conf_command
read_effective
remove_with_privileges
setgid_effective
setpcap_effective
setuid_effective
subsribe
toggle_lock_config
Set or unset the immutable flag on a file
warn_if_mutable
write_json_config