mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-07-24 19:15:21 -04:00
Merge branch 'Kicksecure:master' into ssh-agent-to-allowlist
This commit is contained in:
commit
c59b2e4bc5
3 changed files with 19 additions and 1 deletions
|
@ -626,7 +626,7 @@ commit_policy() {
|
|||
else
|
||||
if ! capsh --print \
|
||||
| grep --fixed-strings -- "Bounding set" \
|
||||
| grep --quiet -- "${policy_capability_item}"; then
|
||||
| grep -- "${policy_capability_item}" >/dev/null; then
|
||||
log error \
|
||||
"Capability from config does not exist: '${policy_capability_item}'" \
|
||||
>&2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue