Command line#
ljos-policyd check|exec|version -- argv...
Verb |
Meaning |
|---|---|
|
print |
|
same verdict; on allow, run argv and exit with its status; on deny, print the verdict on stderr and exit 2 |
|
print |
A leading -- after the verb is optional and is stripped.
Built-in denials#
First match wins. The head is the last path component of argv[0].
Reason |
When |
|---|---|
|
no program |
|
head is |
|
the joined line contains |
|
head is |
|
head is |
Anything else is allow.
Environment the seat reads#
These are not read by this binary. They are how ljos finds it.
Variable |
Meaning |
|---|---|
|
absolute path to this binary |
|
if set to |
Exit statuses#
Code |
Meaning |
|---|---|
0 |
allow, or |
2 |
deny, missing verb, or empty usage |
127 |
|
other |
|
What this crate is not#
Not a store. Remember and Prefer belong to packset.
Not a pack loader. Reloading a Janet file is not a check.
Not the seat.
ljos policyprints the line and composes this verdict with pack rules.