chore: remove unneeded abi definition in abstraction.
This commit is contained in:
parent
7269ac6ca9
commit
804bde0172
25 changed files with 9 additions and 64 deletions
|
|
@ -3,8 +3,6 @@
|
||||||
# Copyright (C) 2022-2024 Alexandre Pujol <alexandre@pujol.io>
|
# Copyright (C) 2022-2024 Alexandre Pujol <alexandre@pujol.io>
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
abi <abi/3.0>,
|
|
||||||
|
|
||||||
@{bin}/* rPUx,
|
@{bin}/* rPUx,
|
||||||
/usr/local/{s,}bin/* rPUx,
|
/usr/local/{s,}bin/* rPUx,
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,6 @@
|
||||||
# Copyright (C) 2022-2024 Alexandre Pujol <alexandre@pujol.io>
|
# Copyright (C) 2022-2024 Alexandre Pujol <alexandre@pujol.io>
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
abi <abi/3.0>,
|
|
||||||
|
|
||||||
@{bin}/* rPUx,
|
@{bin}/* rPUx,
|
||||||
/opt/*/** rPUx,
|
/opt/*/** rPUx,
|
||||||
/usr/share/*/* rPUx,
|
/usr/share/*/* rPUx,
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,6 @@
|
||||||
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
abi <abi/3.0>,
|
|
||||||
|
|
||||||
/usr/share/dpkg/cputable r,
|
/usr/share/dpkg/cputable r,
|
||||||
/usr/share/dpkg/tupletable r,
|
/usr/share/dpkg/tupletable r,
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,8 +12,6 @@
|
||||||
# @{config_dirs} = @{user_config_dirs}/chromium
|
# @{config_dirs} = @{user_config_dirs}/chromium
|
||||||
# @{cache_dirs} = @{user_cache_dirs}/chromium
|
# @{cache_dirs} = @{user_cache_dirs}/chromium
|
||||||
|
|
||||||
abi <abi/3.0>,
|
|
||||||
|
|
||||||
include <abstractions/audio>
|
include <abstractions/audio>
|
||||||
include <abstractions/dconf-write>
|
include <abstractions/dconf-write>
|
||||||
include <abstractions/desktop>
|
include <abstractions/desktop>
|
||||||
|
|
|
||||||
|
|
@ -6,10 +6,7 @@
|
||||||
# This abstraction is for chromium based application. Chromium based browsers
|
# This abstraction is for chromium based application. Chromium based browsers
|
||||||
# need to use abstractions/chromium instead.
|
# need to use abstractions/chromium instead.
|
||||||
|
|
||||||
abi <abi/3.0>,
|
# Only needed when kernel.unprivileged_userns_clone is set to "1"
|
||||||
|
|
||||||
# The following rules are needed only when the kernel.unprivileged_userns_clone option is set
|
|
||||||
# to "1".
|
|
||||||
capability sys_admin,
|
capability sys_admin,
|
||||||
capability sys_chroot,
|
capability sys_chroot,
|
||||||
capability setuid,
|
capability setuid,
|
||||||
|
|
@ -18,6 +15,14 @@
|
||||||
owner @{PROC}/@{pid}/gid_map w,
|
owner @{PROC}/@{pid}/gid_map w,
|
||||||
owner @{PROC}/@{pid}/uid_map w,
|
owner @{PROC}/@{pid}/uid_map w,
|
||||||
|
|
||||||
|
owner @{HOME}/.pki/ rw,
|
||||||
|
owner @{HOME}/.pki/nssdb/ rw,
|
||||||
|
owner @{HOME}/.pki/nssdb/pkcs11.txt rw,
|
||||||
|
owner @{HOME}/.pki/nssdb/{cert9,key4}.db rwk,
|
||||||
|
owner @{HOME}/.pki/nssdb/{cert9,key4}.db-journal rw,
|
||||||
|
|
||||||
|
owner @{user_share_dirs}/.org.chromium.Chromium.* rw,
|
||||||
|
|
||||||
/tmp/ r,
|
/tmp/ r,
|
||||||
/var/tmp/ r,
|
/var/tmp/ r,
|
||||||
owner /tmp/.org.chromium.Chromium.* rw,
|
owner /tmp/.org.chromium.Chromium.* rw,
|
||||||
|
|
@ -30,15 +35,4 @@
|
||||||
/dev/shm/ r,
|
/dev/shm/ r,
|
||||||
owner /dev/shm/.org.chromium.Chromium.* rw,
|
owner /dev/shm/.org.chromium.Chromium.* rw,
|
||||||
|
|
||||||
owner @{user_share_dirs}/.org.chromium.Chromium.* rw,
|
|
||||||
|
|
||||||
# Should this be read-only? (##FIXME##)
|
|
||||||
# To remove the following error:
|
|
||||||
# Error initializing NSS with a persistent database
|
|
||||||
owner @{HOME}/.pki/ rw,
|
|
||||||
owner @{HOME}/.pki/nssdb/ rw,
|
|
||||||
owner @{HOME}/.pki/nssdb/pkcs11.txt rw,
|
|
||||||
owner @{HOME}/.pki/nssdb/{cert9,key4}.db rwk,
|
|
||||||
owner @{HOME}/.pki/nssdb/{cert9,key4}.db-journal rw,
|
|
||||||
|
|
||||||
include if exists <abstractions/chromium-common.d>
|
include if exists <abstractions/chromium-common.d>
|
||||||
|
|
@ -2,8 +2,6 @@
|
||||||
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
|
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
abi <abi/3.0>,
|
|
||||||
|
|
||||||
include <abstractions/fonts>
|
include <abstractions/fonts>
|
||||||
include <abstractions/freedesktop.org>
|
include <abstractions/freedesktop.org>
|
||||||
include <abstractions/gtk>
|
include <abstractions/gtk>
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,6 @@
|
||||||
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
abi <abi/3.0>,
|
|
||||||
|
|
||||||
/dev/ r,
|
/dev/ r,
|
||||||
/dev/bus/usb/ r,
|
/dev/bus/usb/ r,
|
||||||
/dev/bus/usb/@{int}/ r,
|
/dev/bus/usb/@{int}/ r,
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,6 @@
|
||||||
# Copyright (C) 2022-2024 Alexandre Pujol <alexandre@pujol.io>
|
# Copyright (C) 2022-2024 Alexandre Pujol <alexandre@pujol.io>
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
abi <abi/3.0>,
|
|
||||||
|
|
||||||
# The /sys/ entries probably should be tightened
|
# The /sys/ entries probably should be tightened
|
||||||
|
|
||||||
/dev/ r,
|
/dev/ r,
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,6 @@
|
||||||
# Copyright (C) 2022-2024 Alexandre Pujol <alexandre@pujol.io>
|
# Copyright (C) 2022-2024 Alexandre Pujol <alexandre@pujol.io>
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
abi <abi/3.0>,
|
|
||||||
|
|
||||||
# The /sys/ entries probably should be tightened
|
# The /sys/ entries probably should be tightened
|
||||||
|
|
||||||
/dev/ r,
|
/dev/ r,
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,6 @@
|
||||||
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
abi <abi/3.0>,
|
|
||||||
|
|
||||||
# Flatpak
|
# Flatpak
|
||||||
/var/lib/flatpak/exports/share/{,**} r,
|
/var/lib/flatpak/exports/share/{,**} r,
|
||||||
/var/lib/flatpak/app/**/export/share/applications/{,*.desktop} r,
|
/var/lib/flatpak/app/**/export/share/applications/{,*.desktop} r,
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,6 @@
|
||||||
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
abi <abi/3.0>,
|
|
||||||
|
|
||||||
# The fontconfig cache can be generated via the following command:
|
# The fontconfig cache can be generated via the following command:
|
||||||
# $ fc-cache -f -v
|
# $ fc-cache -f -v
|
||||||
# There's no need to give apps the ability to create cache for their own. Apps can generate the
|
# There's no need to give apps the ability to create cache for their own. Apps can generate the
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,6 @@
|
||||||
# Copyright (C) 2022-2024 Alexandre Pujol <alexandre@pujol.io>
|
# Copyright (C) 2022-2024 Alexandre Pujol <alexandre@pujol.io>
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
abi <abi/3.0>,
|
|
||||||
|
|
||||||
owner @{user_cache_dirs}/fontconfig/ rw,
|
owner @{user_cache_dirs}/fontconfig/ rw,
|
||||||
owner @{user_cache_dirs}/fontconfig/CACHEDIR.TAG{,.NEW,.LCK,.TMP-*} rw,
|
owner @{user_cache_dirs}/fontconfig/CACHEDIR.TAG{,.NEW,.LCK,.TMP-*} rw,
|
||||||
owner @{user_cache_dirs}/fontconfig/[a-f0-9]*.cache-?{,.NEW,.LCK,.TMP-*} rwk,
|
owner @{user_cache_dirs}/fontconfig/[a-f0-9]*.cache-?{,.NEW,.LCK,.TMP-*} rwk,
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,6 @@
|
||||||
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
abi <abi/3.0>,
|
|
||||||
|
|
||||||
owner @{HOME}/.fzf/{,**} r,
|
owner @{HOME}/.fzf/{,**} r,
|
||||||
|
|
||||||
owner @{HOME}/.fzf.* r,
|
owner @{HOME}/.fzf.* r,
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,6 @@
|
||||||
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
abi <abi/3.0>,
|
|
||||||
|
|
||||||
include <abstractions/fonts>
|
include <abstractions/fonts>
|
||||||
include <abstractions/freedesktop.org>
|
include <abstractions/freedesktop.org>
|
||||||
include <abstractions/gtk>
|
include <abstractions/gtk>
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,6 @@
|
||||||
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
|
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
abi <abi/3.0>,
|
|
||||||
|
|
||||||
include <abstractions/dri>
|
include <abstractions/dri>
|
||||||
include <abstractions/mesa>
|
include <abstractions/mesa>
|
||||||
include <abstractions/nvidia-strict>
|
include <abstractions/nvidia-strict>
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,6 @@
|
||||||
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
|
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
abi <abi/3.0>,
|
|
||||||
|
|
||||||
include <abstractions/graphics>
|
include <abstractions/graphics>
|
||||||
|
|
||||||
@{bin}/nvidia-modprobe Px -> nvidia_modprobe,
|
@{bin}/nvidia-modprobe Px -> nvidia_modprobe,
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,6 @@
|
||||||
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
|
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
abi <abi/3.0>,
|
|
||||||
|
|
||||||
include <abstractions/fonts>
|
include <abstractions/fonts>
|
||||||
include <abstractions/freedesktop.org>
|
include <abstractions/freedesktop.org>
|
||||||
include <abstractions/qt5>
|
include <abstractions/qt5>
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,6 @@
|
||||||
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
abi <abi/3.0>,
|
|
||||||
|
|
||||||
/usr/share/kde4/** r,
|
/usr/share/kde4/** r,
|
||||||
|
|
||||||
@{lib}/kde4/*.so mr,
|
@{lib}/kde4/*.so mr,
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,6 @@
|
||||||
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
abi <abi/3.0>,
|
|
||||||
|
|
||||||
@{etc_ro}/default/nss r,
|
@{etc_ro}/default/nss r,
|
||||||
@{etc_ro}/gai.conf r,
|
@{etc_ro}/gai.conf r,
|
||||||
@{etc_ro}/group r,
|
@{etc_ro}/group r,
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,6 @@
|
||||||
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
abi <abi/3.0>,
|
|
||||||
|
|
||||||
|
|
||||||
/usr/share/nvidia/nvidia-application-profiles-* r,
|
/usr/share/nvidia/nvidia-application-profiles-* r,
|
||||||
|
|
||||||
/etc/nvidia/nvidia-application-profiles-* r,
|
/etc/nvidia/nvidia-application-profiles-* r,
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,6 @@
|
||||||
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
abi <abi/3.0>,
|
|
||||||
|
|
||||||
owner @{user_cache_dirs}/ w,
|
owner @{user_cache_dirs}/ w,
|
||||||
owner @{user_cache_dirs}/qtshadercache/ rw,
|
owner @{user_cache_dirs}/qtshadercache/ rw,
|
||||||
owner @{user_cache_dirs}/qtshadercache/#@{int} rw,
|
owner @{user_cache_dirs}/qtshadercache/#@{int} rw,
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,6 @@
|
||||||
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
|
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
abi <abi/3.0>,
|
|
||||||
|
|
||||||
owner @{HOME}/thumbnails/ r,
|
owner @{HOME}/thumbnails/ r,
|
||||||
owner @{HOME}/thumbnails/{large,normal}/ r,
|
owner @{HOME}/thumbnails/{large,normal}/ r,
|
||||||
owner @{HOME}/thumbnails/{large,normal}/@{hex}.png r,
|
owner @{HOME}/thumbnails/{large,normal}/@{hex}.png r,
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,6 @@
|
||||||
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
abi <abi/3.0>,
|
|
||||||
|
|
||||||
owner @{HOME}/thumbnails/ rw,
|
owner @{HOME}/thumbnails/ rw,
|
||||||
owner @{HOME}/thumbnails/{large,normal}/ rw,
|
owner @{HOME}/thumbnails/{large,normal}/ rw,
|
||||||
owner @{HOME}/thumbnails/{large,normal}/#@{int} rw,
|
owner @{HOME}/thumbnails/{large,normal}/#@{int} rw,
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,6 @@
|
||||||
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
abi <abi/3.0>,
|
|
||||||
|
|
||||||
owner @{HOME}/@{XDG_DESKTOP_DIR}/ w,
|
owner @{HOME}/@{XDG_DESKTOP_DIR}/ w,
|
||||||
owner @{HOME}/@{XDG_DOWNLOAD_DIR}/ w,
|
owner @{HOME}/@{XDG_DOWNLOAD_DIR}/ w,
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,6 @@
|
||||||
# This abstraction is only required when an interactive shell is started.
|
# This abstraction is only required when an interactive shell is started.
|
||||||
# Classic shell scripts do not need it.
|
# Classic shell scripts do not need it.
|
||||||
|
|
||||||
abi <abi/3.0>,
|
|
||||||
|
|
||||||
@{lib}/@{multiarch}/zsh/@{int}/zsh/*.so mr,
|
@{lib}/@{multiarch}/zsh/@{int}/zsh/*.so mr,
|
||||||
|
|
||||||
/usr/share/zsh/{,**} r,
|
/usr/share/zsh/{,**} r,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue