Skip to content

Commit

Permalink
[apparmor] Added the right permission for the bridge_helper exec
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeliao committed Jan 14, 2025
1 parent 78bdb6d commit f87ce6b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/platform/backends/qemu/qemu_vm_process_spec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ profile %1 flags=(attach_disconnected) {
capability setgid,
capability setuid,
# for bridge helper
capability net_admin,
capability net_raw,
network inet stream,
network inet6 stream,
Expand Down Expand Up @@ -154,7 +158,7 @@ profile %1 flags=(attach_disconnected) {
/{usr/,}bin/cat rmix,
# to execute bridge helper
%4/bin/bridge_helper,
%4/bin/bridge_helper ix,
# for restore
/{usr/,}bin/bash rmix,
Expand Down

0 comments on commit f87ce6b

Please sign in to comment.