mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-02-20 08:55:34 +01:00
Fix exec_path in profiles for Edge and copyright headers
This commit is contained in:
parent
0a941e7d87
commit
fd590e9199
4 changed files with 8 additions and 8 deletions
|
@ -1,6 +1,6 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2018-2021 Mikhail Morfikov
|
||||
# Copyright (C) 2022-2024 Alexandre Pujol <alexandre@pujol.io>
|
||||
# Copyright (C) 2022-2024 Jose Maldonado <josemald89@gmail.com>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
@ -14,7 +14,7 @@ include <tunables/global>
|
|||
@{cache_dirs} = @{user_cache_dirs}/microsoft-edge{,-beta,-dev}
|
||||
|
||||
@{exec_path} = @{lib_dirs}/@{name}
|
||||
profile msedge /opt/microsoft/msedge{,-beta,-dev}/msedge{,-beta,-dev} {
|
||||
profile msedge @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/app/chromium>
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2018-2022 Mikhail Morfikov
|
||||
# Copyright (C) 2022-2024 Alexandre Pujol <alexandre@pujol.io>
|
||||
# Copyright (C) 2022-2024 Jose Maldonado <josemald89@gmail.com>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
@ -11,7 +11,7 @@ include <tunables/global>
|
|||
@{config_dirs} = @{user_config_dirs}/microsoft-edge{,-beta,-dev}
|
||||
|
||||
@{exec_path} = @{lib_dirs}/msedge_crashpad_handler
|
||||
profile msedge-crashpad-handler /opt/microsoft/msedge{,-beta,-dev}/msedge_crashpad_handler {
|
||||
profile msedge-crashpad-handler @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
capability sys_ptrace,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2018-2021 Mikhail Morfikov
|
||||
# Copyright (C) 2022-2024 Alexandre Pujol <alexandre@pujol.io>
|
||||
# Copyright (C) 2022-2024 Jose Maldonado <josemald89@gmail.com>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
@ -10,7 +10,7 @@ include <tunables/global>
|
|||
@{lib_dirs} = /opt/microsoft/msedge{,-beta,-dev}
|
||||
|
||||
@{exec_path} = @{lib_dirs}/msedge-sandbox
|
||||
profile msedge-sandbox /opt/microsoft/msedge{,-beta,-dev}/msedge-sandbox {
|
||||
profile msedge-sandbox @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
capability setgid,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2018-2021 Mikhail Morfikov
|
||||
# Copyright (C) 2022-2024 Alexandre Pujol <alexandre@pujol.io>
|
||||
# Copyright (C) 2022-2024 Jose Maldonado <josemald89@gmail.com>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
@ -10,7 +10,7 @@ include <tunables/global>
|
|||
@{lib_dirs} = /opt/microsoft/msedge{,-beta,-dev}
|
||||
|
||||
@{exec_path} = @{lib_dirs}/microsoft-edge{,-beta,-dev}
|
||||
profile msedge-wrapper /opt/microsoft/msedge{,-beta,-dev}/microsoft-edge{,-beta,-dev} flags=(attach_disconnected) {
|
||||
profile msedge-wrapper @{exec_path} flags=(attach_disconnected) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue