diff --git a/apparmor.d/profiles-m-r/os-prober b/apparmor.d/profiles-m-r/os-prober index 646b7595d..bba20dec4 100644 --- a/apparmor.d/profiles-m-r/os-prober +++ b/apparmor.d/profiles-m-r/os-prober @@ -21,6 +21,7 @@ profile os-prober @{exec_path} flags=(attach_disconnected) { @{bin}/{,ba,da}sh rix, @{bin}/{e,f,}grep rix, @{bin}/blkid rPx, + @{bin}/btrfs rPx, @{bin}/cat rix, @{bin}/cut rix, @{bin}/dmraid rPUx, @@ -35,6 +36,7 @@ profile os-prober @{exec_path} flags=(attach_disconnected) { @{bin}/lvm rPx, @{bin}/mkdir rix, @{bin}/mktemp rix, + @{bin}/mount rix, @{bin}/multipath rPx, @{bin}/readlink rix, @{bin}/rm rix, @@ -43,6 +45,7 @@ profile os-prober @{exec_path} flags=(attach_disconnected) { @{bin}/udevadm rPx, @{bin}/umount rix, @{bin}/uname rix, + @{bin}/which rix, @{lib}/newns rix, @{lib}/os-prober/* rix, @{lib}/os-probes/{,**} rix, @@ -65,7 +68,10 @@ profile os-prober @{exec_path} flags=(attach_disconnected) { @{sys}/devices/virtual/block/*/ r, @{PROC}/swaps r, + owner @{PROC}/@{pid}/mountinfo r, owner @{PROC}/@{pid}/mounts r, + /dev/tty@{int} rw, + include if exists -} \ No newline at end of file +}