Crate security_translocate_sys

Crate security_translocate_sys 

Source
Expand description

Direct Rust FFI bindings to Apple’s libsecurity_translocate, part of the Security framework, which facilitates the creation and destruction of app translocation points. These bindings are based on the SecTranslocate header, available here.

Functions§

SecTranslocateAppLaunchCheckin
Register that a translocated pid is running
SecTranslocateCreateGeneric
Create a CFURL pointing to a translocated location from which to access the directory specified by pathToTranslocate.
SecTranslocateCreateOriginalPathForURL
finds the original path to a file given a translocated path
SecTranslocateCreateSecureDirectoryForURL
Create a CFURL pointing to a translocated location from which to access the directory specified by pathToTranslocate.
SecTranslocateDeleteSecureDirectory
Unmount the translocated directory structure and delete the mount point directory.
SecTranslocateIsTranslocatedURL
indicates whether the provided path is an original path or a translocated path
SecTranslocateStartListening
Initialize the SecTranslocate Library as the XPC Server, Disk Arbitration Listener, and Launch Services Notification listener
SecTranslocateStartListeningWithOptions
Initialize the SecTranslocate Library as the XPC Server, Disk Arbitration Listener, and Launch Services Notification listener
SecTranslocateURLShouldRunTranslocated
Implements policy to decide whether the entity defined by path should be run translocated

Type Aliases§

_Nonnull
_Nullable