Docs.rs
  • rootasrole-core-3.0.0
    • rootasrole-core 3.0.0
    • Docs.rs crate page
    • GPL-3.0-or-later
    • Links
    • crates.io
    • Source
    • Owners
    • LeChatP
    • Dependencies
      • bitflags ^2.5.0 normal
      • capctl ^0.2.4 normal
      • chrono ^0.4.37 normal
      • ciborium ^0.2.2 normal
      • derivative ^2.2.0 normal
      • glob ^0.3.1 normal optional
      • hex ^0.4.3 normal
      • libc ^0.2.155 normal
      • linked_hash_set ^0.1.4 normal
      • nix ^0.29.0 normal
      • once_cell ^1.19.0 normal
      • pcre2 ^0.2.7 normal optional
      • semver ^1.0.23 normal
      • serde ^1.0.202 normal
      • serde_json ^1.0.117 normal
      • sha2 ^0.10.8 normal
      • shell-words ^1.1.0 normal
      • strum ^0.26.3 normal
      • syslog-tracing ^0.3.0 normal
      • tracing ^0.1.40 normal
      • tracing-subscriber ^0.3.18 normal
      • env_logger ^0.11.5 dev
      • lazy_static ^1.4.0 dev
      • test-log ^0.2.12 dev
      • tracing ^0.1.37 dev
      • tracing-subscriber ^0.3.16 dev
    • Versions
    • 12.75% 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.0

Module util

Module Items

  • Enums
  • Constants
  • Functions

In crate rootasrole_core

Module rootasrole_core::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