mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
feat(abs): add the fish shell abstraction.
This commit is contained in:
parent
12c4ab122b
commit
4d9ea026c7
14
apparmor.d/abstractions/fish
Normal file
14
apparmor.d/abstractions/fish
Normal file
@ -0,0 +1,14 @@
|
||||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
# This abstraction is only required when an interactive shell is started.
|
||||
# Classic shell scripts do not need it.
|
||||
|
||||
/usr/share/fish/{,**} r,
|
||||
|
||||
/etc/fish/{,**} r,
|
||||
|
||||
owner @{user_config_dirs}/fish/{,**} r,
|
||||
|
||||
include if exists <abstractions/fish.d>
|
@ -6,6 +6,7 @@
|
||||
# Classic shell scripts do not need it.
|
||||
|
||||
include <abstractions/bash-strict>
|
||||
include <abstractions/fish>
|
||||
include <abstractions/zsh>
|
||||
|
||||
include if exists <abstractions/shells.d>
|
||||
|
Loading…
Reference in New Issue
Block a user