mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-02-28 20:54:43 +01:00
36 lines
No EOL
778 B
Text
36 lines
No EOL
778 B
Text
# 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>
|
|
include <abstractions/consoles>
|
|
|
|
capability dac_read_search,
|
|
|
|
@{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,
|
|
|
|
/usr/share/i18n/{,**} r,
|
|
|
|
/etc/locale.gen r,
|
|
|
|
# Inherit Silencer
|
|
deny network inet6 stream,
|
|
deny network inet stream,
|
|
|
|
include if exists <local/locale-gen>
|
|
} |