mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-19 09:28:17 +01:00
c1d531525a
Move vim syntax comment to the end of the file, separated by newline, as requested in #380.
38 lines
1.1 KiB
Text
38 lines
1.1 KiB
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
@{bin}/nvidia-modprobe Px -> child-modprobe-nvidia,
|
|
|
|
/usr/share/nvidia/nvidia-application-profiles-* r,
|
|
|
|
/etc/nvidia/nvidia-application-profiles-* r,
|
|
/etc/vdpau_wrapper.cfg r,
|
|
|
|
owner @{HOME}/.cache/nvidia/ w,
|
|
owner @{HOME}/.cache/nvidia/GLCache/ rw,
|
|
owner @{HOME}/.cache/nvidia/GLCache/** rwk,
|
|
owner @{HOME}/.nv/ComputeCache/ w,
|
|
owner @{HOME}/.nv/ComputeCache/** rw,
|
|
owner @{HOME}/.nv/ComputeCache/index rwk,
|
|
owner @{HOME}/.nv/nvidia-application-profiles-* r,
|
|
|
|
@{sys}/devices/system/memory/block_size_bytes r,
|
|
@{sys}/module/nvidia/version r,
|
|
|
|
@{PROC}/driver/nvidia/params r,
|
|
@{PROC}/sys/vm/max_map_count r,
|
|
@{PROC}/sys/vm/mmap_min_addr r,
|
|
@{PROC}/modules r,
|
|
owner @{PROC}/@{pid}/comm r,
|
|
|
|
/dev/char/195:@{int} w, # Nvidia graphics devices
|
|
/dev/nvidia-modeset rw,
|
|
/dev/nvidia@{int} rw,
|
|
/dev/nvidiactl rw,
|
|
|
|
deny owner @{HOME}/.nv/.local/share/gvfs-metadata/* r,
|
|
|
|
include if exists <abstractions/nvidia-strict.d>
|
|
|
|
# vim:syntax=apparmor
|