apparmor.d/apparmor.d/profiles-g-l/im-launch
nobodysu 643a84997e
Unbreak Debian 11 and partially Ubuntu 22.04 (Wayland+GDM+Gnome) (#81)
* Unbreaking Debian 11 and partially Ubuntu 22.04

* pre-cleanup

* pre-cleanup2

* Update im-launch

* Update gnome-extension-ding

* polishing

* not yet

* Update ubuntu.flags

Allow GDM to boot. `No new privs` fix.

* Update debian.flags

Allow GDM to boot. `No new privs` fix.

* Update CONTRIBUTING.md

* fixes

* reverting w

* move setpriv to main.flags
2022-10-14 21:21:56 +00:00

36 lines
811 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/im-launch
profile im-launch @{exec_path} {
include <abstractions/base>
@{exec_path} mr,
/{usr/,}bin/{,ba,da}sh rix,
/{usr/,}bin/gnome-session rix,
/{usr/,}bin/env rix,
/{usr/,}bin/locale rix,
/{usr/,}bin/gettext{,.sh} rix,
/{usr/,}bin/true rix,
/{usr/,}bin/sed rix,
/{usr/,}bin/dpkg-query rpx,
/usr/share/im-config/{,**} r,
/etc/default/im-config r,
/etc/X11/xinit/xinputrc r,
/etc/X11/Xsession.d/70im-config_launch r,
owner @{HOME}/.xinputrc r,
# file inherit
owner /dev/tty[0-9]* rw,
include if exists <local/im-launch>
}