Crate security_translocate

Crate security_translocate 

Source
Expand description

Rust 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 security-translocate-sys crate.

Functions§

app_launch_checkin
Registers that a translocated pid is running.
create_generic
Translocates the directory specified by path_to_translocate.
create_original_path_for_url
Finds the original path to a file given a translocated path.
create_secure_directory_for_url
Translocates the directory specified by path_to_translocate.
delete_secure_directory
Unmount the translocated directory structure and delete the mount point directory.
is_translocated_url
Indicates if the provided path is a translocated path.
start_listening
Initializes the SecTranslocate Library as the XPC Server, the Disk Arbitration Listener, and the Launch Services Notification Listener.
start_listening_with_options
Initializes the SecTranslocate Library as the XPC Server, the Disk Arbitration Listener, and the Launch Services Notification Listener.
url_should_run_translocated
Indicates whether the entity defined by path should be run translocated.