Skip to content

Commit

Permalink
regression: session names 2
Browse files Browse the repository at this point in the history
  • Loading branch information
nobody43 authored and roddhjav committed Jan 9, 2025
1 parent 34913ab commit 0769e42
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion apparmor.d/abstractions/app/firefox
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
@{sys}/devices/power/events/energy-* r,
@{sys}/devices/power/type r,
@{sys}/fs/cgroup/cpu,cpuacct/cpu.cfs_quota_us r,
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/session-@{int}.scope/cpu.max r,
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/session-@{word}.scope/cpu.max r,
owner @{sys}/fs/cgroup/user.slice/user-@{uid}.slice/user@@{uid}.service/**/cpu.max r,

@{PROC}/@{pid}/net/arp r,
Expand Down
2 changes: 1 addition & 1 deletion apparmor.d/groups/gnome/gdm
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ profile gdm @{exec_path} flags=(attach_disconnected) {
@{sys}/devices/**/uevent r,
@{sys}/devices/@{pci}/boot_vga r,
@{sys}/devices/virtual/tty/tty@{int}/active r,
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/session-@{int}.scope/cgroup.events r,
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/session-@{word}.scope/cgroup.events r,

@{PROC}/@{pid}/cgroup r,
@{PROC}/1/environ r,
Expand Down
2 changes: 1 addition & 1 deletion apparmor.d/groups/ssh/sshd
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ profile sshd @{exec_path} flags=(attach_disconnected) {
owner @{run}/sshd{,.init}.pid wl,

@{sys}/fs/cgroup/*/user/*/@{int}/ rw,
@{sys}/fs/cgroup/systemd/user.slice/user-@{uid}.slice/session-*.scope/ rw,
@{sys}/fs/cgroup/systemd/user.slice/user-@{uid}.slice/session-@{word}.scope/ rw,

@{PROC}/@{pids}/fd/ r,
@{PROC}/1/environ r,
Expand Down
2 changes: 1 addition & 1 deletion apparmor.d/groups/virt/k3s
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ profile k3s @{exec_path} flags=(attach_disconnected) {
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/ r,
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/user-runtime-dir@@{uid}.service/ r,
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/user@@{uid}.service/{,**/} r,
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/session-@{int}.scope/{,**/} r,
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/session-@{word}.scope/{,**/} r,

@{sys}/kernel/mm/hugepages/ r,
@{sys}/kernel/mm/hugepages/hugepages-*/nr_hugepages r,
Expand Down
2 changes: 1 addition & 1 deletion apparmor.d/profiles-a-f/briar-desktop
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ profile briar-desktop @{exec_path} {
owner @{tmp}/jna@{u64}.tmp mrw,

@{sys}/devices/system/cpu/cpu@{int}/microcode/version r,
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/session-@{int}.scope/{cpu,memory}.max r,
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/session-@{word}.scope/{cpu,memory}.max r,
@{sys}/kernel/mm/{hugepages/,transparent_hugepage/enabled} r,

@{PROC}/cgroups r,
Expand Down
2 changes: 1 addition & 1 deletion apparmor.d/profiles-g-l/libreoffice
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ profile libreoffice @{exec_path} {
@{sys}/kernel/mm/hugepages/ r,
@{sys}/kernel/mm/transparent_hugepage/enabled r,
@{sys}/kernel/mm/transparent_hugepage/shmem_enabled r,
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/session-@{int}.scope/{cpu,memory}.max r,
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/session-@{word}.scope/{cpu,memory}.max r,
owner @{sys}/fs/cgroup/user.slice/user-@{uid}.slice/user@@{uid}.service/app.slice/**/memory.max r,
owner @{sys}/fs/cgroup/user.slice/user-@{uid}.slice/user@@{uid}.service/session.slice/[email protected]/memory.max r,

Expand Down
2 changes: 1 addition & 1 deletion apparmor.d/profiles-m-r/mullvad-setup
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ profile mullvad-setup @{exec_path} {

@{exec_path} mr,

@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/session-@{int}.scope/cpu.max r,
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/session-@{word}.scope/cpu.max r,
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/cpu.max r,
@{sys}/fs/cgroup/user.slice/cpu.max r,

Expand Down
2 changes: 1 addition & 1 deletion apparmor.d/profiles-m-r/ouch
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ profile ouch @{exec_path} {

@{sys}/fs/cgroup/user.slice/cpu.max r,
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/cpu.max r,
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/session-@{int}.scope/cpu.max r,
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/session-@{word}.scope/cpu.max r,

owner @{PROC}/@{pid}/cgroup r,

Expand Down
4 changes: 2 additions & 2 deletions apparmor.d/profiles-s-z/signal-desktop
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ profile signal-desktop @{exec_path} {

@{sys}/fs/cgroup/user.slice/cpu.max r,
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/cpu.max r,
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/session-@{int}.scope/memory.high r,
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/session-@{int}.scope/memory.max r,
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/session-@{word}.scope/memory.high r,
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/session-@{word}.scope/memory.max r,
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/user@@{uid}.service/cpu.max r,
owner @{sys}/fs/cgroup/user.slice/user-@{uid}.slice/user@@{uid}.service/app.slice/cpu.max r,

Expand Down
2 changes: 1 addition & 1 deletion apparmor.d/profiles-s-z/virt-manager
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ profile virt-manager @{exec_path} flags=(attach_disconnected) {
@{sys}/devices/virtual/drm/ttm/uevent r,
@{sys}/fs/cgroup/user.slice/cpu.max r,
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/cpu.max r,
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/session-@{int}.scope/cpu.max r,
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/session-@{word}.scope/cpu.max r,

@{PROC}/@{pids}/net/route r,
owner @{PROC}/@{pid}/cgroup r,
Expand Down

0 comments on commit 0769e42

Please sign in to comment.