← Về thư mục
openai4s/security/byoc_confinement.py
- ConfinementUnavailable · class · L133-L134 — class ConfinementUnavailable(RuntimeError)
- _quote · function · L137-L148 — def _quote(value: str | os.PathLike[str]) -> str
- _canonical · function · L151-L159 — def _canonical(path: str | os.PathLike[str]) -> str
- helper_package_dir · function · L162-L179 — def helper_package_dir() -> str
- runtime_read_paths · function · L182-L204 — def runtime_read_paths(extra: tuple[str, ...] = ()) -> list[str]
- traversal_metadata_paths · function · L214-L289 — def traversal_metadata_paths( read_paths: tuple[str, ...] = (), *, home: str | os.PathLike[str] | None = None, executable: str | None = None, ) -> list[str]
- build_profile · function · L292-L452 — def build_profile( stage: str | os.PathLike[str], *, home: str | os.PathLike[str] | None = None, read_paths: tuple[str, ...] = (), ) -> str
- build_bwrap_argv · function · L455-L524 — def build_bwrap_argv( argv: list[str], stage: str | os.PathLike[str], *, executable: str, home: str | os.PathLike[str] | None = None, read_paths: tuple[str, ...] = (), ) -> list[str]
- _runtime_dns_rebinds · function · L527-L543 — def _runtime_dns_rebinds() -> list[str]
- network_isolated · function · L546-L553 — def network_isolated() -> bool
- _self_test_key · function · L583-L595 — def _self_test_key(executable: str) -> tuple
- _probe_argv · function · L598-L672 — def _probe_argv(executable: str, stage: str, home: str) -> list[str]
- self_test · function · L675-L772 — def self_test(*, force: bool = False) -> tuple[bool, str]
- reset_self_test_cache · function · L775-L778 — def reset_self_test_cache() -> None
- available · function · L781-L789 — def available() -> tuple[bool, str]
- posture · function · L792-L851 — def posture(mode: str) -> dict
- probe_environment · function · L854-L868 — def probe_environment(home: str | os.PathLike[str] | None = None) -> dict[str, str]
- wrap · function · L871-L892 — def wrap( argv: list[str], stage: str | os.PathLike[str], *, read_paths: tuple[str, ...] = (), ) -> list[str]