mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 07:54:17 +01:00
Update ignore and better defaults for mpv
Add access to GPU ids (amdgpu) for hwaccel in mpv, and better defaults for user_config. Update gitnore and debian/control
This commit is contained in:
parent
b9fb4b72d2
commit
4aaa9379a1
6
.gitignore
vendored
6
.gitignore
vendored
@ -9,6 +9,12 @@ debian/hardened
|
|||||||
debian/.debhelper
|
debian/.debhelper
|
||||||
debian/*.debhelper
|
debian/*.debhelper
|
||||||
|
|
||||||
|
# Debian build packages
|
||||||
|
debian/apparmor.d.substvars
|
||||||
|
debian/apparmor.d/
|
||||||
|
debian/debhelper-build-stamp
|
||||||
|
debian/files
|
||||||
|
|
||||||
# Binaries for programs and plugins
|
# Binaries for programs and plugins
|
||||||
*.exe
|
*.exe
|
||||||
*.exe~
|
*.exe~
|
||||||
|
@ -41,6 +41,8 @@ profile mpv @{exec_path} {
|
|||||||
@{bin}/youtube-dl rPx,
|
@{bin}/youtube-dl rPx,
|
||||||
@{bin}/yt-dlp rPx,
|
@{bin}/yt-dlp rPx,
|
||||||
|
|
||||||
|
/usr/share/libdrm/{,**} r,
|
||||||
|
|
||||||
/etc/mpv/* r,
|
/etc/mpv/* r,
|
||||||
/etc/samba/smb.conf r,
|
/etc/samba/smb.conf r,
|
||||||
|
|
||||||
@ -54,7 +56,7 @@ profile mpv @{exec_path} {
|
|||||||
owner @{user_videos_dirs}/{,**} rw,
|
owner @{user_videos_dirs}/{,**} rw,
|
||||||
|
|
||||||
owner @{user_config_dirs}/mpv/ rw,
|
owner @{user_config_dirs}/mpv/ rw,
|
||||||
owner @{user_config_dirs}/mpv/* rw,
|
owner @{user_config_dirs}/mpv/{,**} rw,
|
||||||
|
|
||||||
/tmp/ r,
|
/tmp/ r,
|
||||||
owner /tmp/mpsyt-input* rw,
|
owner /tmp/mpsyt-input* rw,
|
||||||
|
2
debian/control
vendored
2
debian/control
vendored
@ -16,4 +16,4 @@ Rules-Requires-Root: no
|
|||||||
Package: apparmor.d
|
Package: apparmor.d
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: apparmor-profiles
|
Depends: apparmor-profiles
|
||||||
Description: Full set of AppArmor profiles (~ 1400 profiles)
|
Description: Full set of AppArmor profiles (~ 1500 profiles)
|
||||||
|
Loading…
Reference in New Issue
Block a user