diff --git a/apparmor.d/profiles-g-l/im-launch b/apparmor.d/profiles-g-l/im-launch new file mode 100644 index 00000000..98d10349 --- /dev/null +++ b/apparmor.d/profiles-g-l/im-launch @@ -0,0 +1,31 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2022 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = /{usr/,}bin/im-launch +profile im-launch @{exec_path} { + include + + @{exec_path} mr, + + /{usr/,}bin/{,ba,da}sh rix, + /{usr/,}bin/env rix, + /{usr/,}bin/locale rix, + /{usr/,}bin/gettext rix, + /{usr/,}bin/true rix, + /{usr/,}bin/dpkg-query rpx, + /{usr/,}bin/sed rix, + /{usr/,}bin/gettext.sh r, + + /usr/share/im-config/{,**} r, + + /etc/default/im-config r, + /etc/X11/xinit/xinputrc r, + /etc/X11/Xsession.d/70im-config_launch r, + + include if exists +} \ No newline at end of file