intrigeri pushed to branch main at The Tor Project / Applications / torbrowser-launcher

Commits:

1 changed file:

Changes:

  • apparmor/torbrowser.Browser.firefox
    ... ... @@ -13,6 +13,8 @@ profile torbrowser_firefox @{torbrowser_firefox_executable} {
    13 13
       #include if exists <abstractions/vulkan>
    
    14 14
       #include if exists <abstractions/dbus-session-strict>
    
    15 15
     
    
    16
    +  userns,
    
    17
    +
    
    16 18
       deny capability sys_ptrace,
    
    17 19
     
    
    18 20
       # Uncomment the following lines if you want to give the Tor Browser read-write
    
    ... ... @@ -94,6 +96,10 @@ profile torbrowser_firefox @{torbrowser_firefox_executable} {
    94 96
       owner @{torbrowser_home_dir}/TorBrowser/Tor/*.so.* mr,
    
    95 97
       owner @{torbrowser_home_dir}/TorBrowser/Tor/libstdc++/*.so mr,
    
    96 98
       owner @{torbrowser_home_dir}/TorBrowser/Tor/libstdc++/*.so.* mr,
    
    99
    +  owner @{torbrowser_home_dir}/vaapitest ix,
    
    100
    +
    
    101
    +  # intel-media-driver
    
    102
    +  /etc/igfx_user_feature*.txt r,
    
    97 103
     
    
    98 104
       # parent Firefox process when restarting after upgrade, Web Content processes
    
    99 105
       owner @{torbrowser_firefox_executable} pxmr -> torbrowser_firefox,
    
    ... ... @@ -121,6 +127,7 @@ profile torbrowser_firefox @{torbrowser_firefox_executable} {
    121 127
       /sys/devices/system/node/ r,
    
    122 128
       /sys/devices/system/node/node[0-9]*/meminfo r,
    
    123 129
       /sys/fs/cgroup/cpu,cpuacct/{,user.slice/}cpu.cfs_quota_us r,
    
    130
    +  /sys/fs/cgroup/user.slice/user-[0-9]*.slice/user@[0-9]*.service/app.slice/app-gnome-torbrowser-[0-9]*.scope/cpu.max r,
    
    124 131
       deny /sys/class/input/ r,
    
    125 132
       deny /sys/devices/virtual/block/*/uevent r,
    
    126 133