mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 08:58:15 +01:00
Add locale-gen profile.
This commit is contained in:
parent
ac39df1af2
commit
501bb66c64
2 changed files with 28 additions and 0 deletions
27
apparmor.d/profiles-g-l/locale-gen
Normal file
27
apparmor.d/profiles-g-l/locale-gen
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
# apparmor.d - Full set of apparmor profiles
|
||||||
|
# Copyright (C) 2022 Alexandre Pujol <alexandre@pujol.io>
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
|
abi <abi/3.0>,
|
||||||
|
|
||||||
|
include <tunables/global>
|
||||||
|
|
||||||
|
@{exec_path} = /{usr/,}bin/locale-gen
|
||||||
|
profile locale-gen @{exec_path} {
|
||||||
|
include <abstractions/base>
|
||||||
|
|
||||||
|
@{exec_path} mr,
|
||||||
|
|
||||||
|
/{usr/,}bin/{,ba}sh rix,
|
||||||
|
/{usr/,}bin/gzip rix,
|
||||||
|
/{usr/,}bin/localedef rix,
|
||||||
|
/{usr/,}bin/rm rix,
|
||||||
|
/{usr/,}bin/sed rix,
|
||||||
|
|
||||||
|
/{usr/,}lib/locale/locale-archive rwl,
|
||||||
|
/{usr/,}lib/locale/locale-archive* rw,
|
||||||
|
|
||||||
|
/etc/locale.gen r,
|
||||||
|
|
||||||
|
include if exists <local/locale-gen>
|
||||||
|
}
|
|
@ -78,6 +78,7 @@ last complain
|
||||||
lastlog complain
|
lastlog complain
|
||||||
libvirt-dbus complain
|
libvirt-dbus complain
|
||||||
libvirtd attach_disconnected,complain
|
libvirtd attach_disconnected,complain
|
||||||
|
locale-gen complain
|
||||||
localectl complain
|
localectl complain
|
||||||
man complain
|
man complain
|
||||||
mission-control complain
|
mission-control complain
|
||||||
|
|
Loading…
Reference in a new issue