1
0
mirror of https://github.com/PrivSec-dev/privsec.dev synced 2024-12-23 05:11:34 -05:00

make commands more consistent

This commit is contained in:
kimg45 2024-09-29 02:46:54 -05:00 committed by GitHub
parent e9449268b9
commit a27042c485
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,7 +32,7 @@ You can check whether running processes are sandboxed in the Activity Monitor. R
You can check whether an app is sandboxed and what entitlements it has *before* running it by running the command You can check whether an app is sandboxed and what entitlements it has *before* running it by running the command
``` zsh ``` zsh
% codesign -dvvv --entitlements - <path to your app> codesign -dvvv --entitlements - <path to your app>
``` ```
If the app is sandboxed, you will see If the app is sandboxed, you will see
@ -54,7 +54,7 @@ Unlike the App Sandbox, the Hardened Runtime is required in order for an app to
Check if an app is using the Hardened Runtime before running it with the command Check if an app is using the Hardened Runtime before running it with the command
``` zsh ``` zsh
codesign --display --verbose /path/to/bundle.app codesign --display --verbose <path to your app>
``` ```
You will see `flags=0x10000(runtime)` if it's enabled. You will see `flags=0x10000(runtime)` if it's enabled.