Fix exec_path in profiles for Edge and copyright headers

This commit is contained in:
Jose Maldonado aka Yukiteru 2024-04-29 15:12:43 -04:00 committed by Alex
parent 0a941e7d87
commit fd590e9199
4 changed files with 8 additions and 8 deletions

View file

@ -1,6 +1,6 @@
# apparmor.d - Full set of apparmor profiles # 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 Alexandre Pujol <alexandre@pujol.io>
# Copyright (C) 2022-2024 Jose Maldonado <josemald89@gmail.com>
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>, abi <abi/3.0>,
@ -14,7 +14,7 @@ include <tunables/global>
@{cache_dirs} = @{user_cache_dirs}/microsoft-edge{,-beta,-dev} @{cache_dirs} = @{user_cache_dirs}/microsoft-edge{,-beta,-dev}
@{exec_path} = @{lib_dirs}/@{name} @{exec_path} = @{lib_dirs}/@{name}
profile msedge /opt/microsoft/msedge{,-beta,-dev}/msedge{,-beta,-dev} { profile msedge @{exec_path} {
include <abstractions/base> include <abstractions/base>
include <abstractions/app/chromium> include <abstractions/app/chromium>

View file

@ -1,6 +1,6 @@
# apparmor.d - Full set of apparmor profiles # 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 Alexandre Pujol <alexandre@pujol.io>
# Copyright (C) 2022-2024 Jose Maldonado <josemald89@gmail.com>
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>, abi <abi/3.0>,
@ -11,7 +11,7 @@ include <tunables/global>
@{config_dirs} = @{user_config_dirs}/microsoft-edge{,-beta,-dev} @{config_dirs} = @{user_config_dirs}/microsoft-edge{,-beta,-dev}
@{exec_path} = @{lib_dirs}/msedge_crashpad_handler @{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> include <abstractions/base>
capability sys_ptrace, capability sys_ptrace,

View file

@ -1,6 +1,6 @@
# apparmor.d - Full set of apparmor profiles # 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 Alexandre Pujol <alexandre@pujol.io>
# Copyright (C) 2022-2024 Jose Maldonado <josemald89@gmail.com>
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>, abi <abi/3.0>,
@ -10,7 +10,7 @@ include <tunables/global>
@{lib_dirs} = /opt/microsoft/msedge{,-beta,-dev} @{lib_dirs} = /opt/microsoft/msedge{,-beta,-dev}
@{exec_path} = @{lib_dirs}/msedge-sandbox @{exec_path} = @{lib_dirs}/msedge-sandbox
profile msedge-sandbox /opt/microsoft/msedge{,-beta,-dev}/msedge-sandbox { profile msedge-sandbox @{exec_path} {
include <abstractions/base> include <abstractions/base>
capability setgid, capability setgid,

View file

@ -1,6 +1,6 @@
# apparmor.d - Full set of apparmor profiles # 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 Alexandre Pujol <alexandre@pujol.io>
# Copyright (C) 2022-2024 Jose Maldonado <josemald89@gmail.com>
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>, abi <abi/3.0>,
@ -10,7 +10,7 @@ include <tunables/global>
@{lib_dirs} = /opt/microsoft/msedge{,-beta,-dev} @{lib_dirs} = /opt/microsoft/msedge{,-beta,-dev}
@{exec_path} = @{lib_dirs}/microsoft-edge{,-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/base>
include <abstractions/consoles> include <abstractions/consoles>