feat: update profiles.
This commit is contained in:
parent
c8cda79b78
commit
10cdde9fb7
28 changed files with 90 additions and 43 deletions
|
|
@ -1,5 +1,6 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2018-2021 Mikhail Morfikov
|
||||
# Copyright (C) 2018-2022 Mikhail Morfikov
|
||||
# Copyright (C) 2022 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
|
@ -12,17 +13,9 @@ profile dhclient @{exec_path} {
|
|||
include <abstractions/nameservice-strict>
|
||||
include <abstractions/openssl>
|
||||
|
||||
# To remove the following errors:
|
||||
# dhclient[]: Open a socket for LPF: Operation not permitted
|
||||
capability net_raw,
|
||||
|
||||
# To remove the following errors:
|
||||
# dhclient[]: Can't bind to dhcp address: Permission denied
|
||||
capability net_admin,
|
||||
capability net_bind_service,
|
||||
|
||||
# Needed?
|
||||
audit deny capability net_admin,
|
||||
audit deny capability sys_module,
|
||||
capability net_raw,
|
||||
|
||||
network inet dgram,
|
||||
network inet6 dgram,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue