mirror of
https://github.com/PrivSec-dev/privsec.dev.git
synced 2025-06-19 11:54:17 -04:00
make commands more consistent
This commit is contained in:
parent
e9449268b9
commit
a27042c485
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue