Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modified USBguard append-rule to add support to the beginning of the … #648

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

boring-brother
Copy link

Modified USBguard append-rule to add support to the beginning of the configuration file (-a 0 command)
this cmd will failed:

usbguard append-rule -a 0 "allow 000e:1923"

IPC ERROR: request id=1: Policy append: rule: Invalid parent ID

from RuleSet::appendRule func,it show can support ID 0 to Add to the head of a rule
usbguard-append-rule-a-0

…configuration file (-a 0 command)

Signed-off-by: lxt_wangyi@163.com <lxt_wangyi@163.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant