mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-02-21 09:25:35 +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
|
# 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>
|
||||||
|
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue