From: mcpain@altlinux.org To: devel-kernel@lists.altlinux.org Subject: [d-kernel] [PATCH 0/2] Kiosk: turn off secureexec for allowed executables Date: Wed, 6 Aug 2025 16:18:21 +0300 Message-ID: <cover.1754485062.git.mcpain@altlinux.org> (raw) From: Oleg Solovyov <mcpain@altlinux.org> Modern desktop environments tends to become incompatible with kiosk. KDE works so far but systemd unit fails to launch [1] GNOME breaks fatally [2] This happens because /lib/systemd/systemd uses secure_getenv() to get environment variables and receives NULL since secureexec is enforced by Kiosk LSM. Since I am uncertain what else is to be replaced with getenv() in systemd and how much things it will break in future I chose to allow running those executables without setting up secureexec. By default, secureexec is set unless explicitly told not to do so. [1] https://bugzilla.altlinux.org/55130 [2] https://bugzilla.altlinux.org/55518 Oleg Solovyov (2): kiosk: split kiosk_nl_send_* kiosk: add secureexec parameter security/kiosk/kiosk_lsm.c | 59 ++++++++++++++++++++++++++++++++++---- 1 file changed, 54 insertions(+), 5 deletions(-) -- 2.50.1
next reply other threads:[~2025-08-06 13:18 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2025-08-06 13:18 mcpain [this message] 2025-08-06 13:18 ` [d-kernel] [PATCH 1/2] kiosk: split kiosk_nl_send_* mcpain 2025-08-06 13:57 ` Vitaly Chikunov 2025-08-06 14:26 ` Oleg Solovyov 2025-08-06 13:18 ` [d-kernel] [PATCH 2/2] kiosk: add secureexec parameter mcpain 2025-08-06 14:06 ` [d-kernel] [PATCH 0/2] Kiosk: turn off secureexec for allowed executables Vitaly Chikunov 2025-08-06 14:39 ` [d-kernel] " Oleg Solovyov 2025-08-06 22:40 ` [d-kernel] " Vitaly Chikunov 2025-08-07 8:03 ` [d-kernel] " Oleg Solovyov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=cover.1754485062.git.mcpain@altlinux.org \ --to=mcpain@altlinux.org \ --cc=devel-kernel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux kernel packages development This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \ devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com public-inbox-index devel-kernel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel-kernel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git