From: Vitaly Chikunov <vt@altlinux.org> To: ALT Linux kernel packages development <devel-kernel@lists.altlinux.org> Subject: Re: [d-kernel] [PATCH 0/2] Kiosk: turn off secureexec for allowed executables Date: Wed, 6 Aug 2025 17:06:06 +0300 Message-ID: <7w3xdokeyyfvo3pa5ohukt3hch@altlinux.org> (raw) In-Reply-To: <cover.1754485062.git.mcpain@altlinux.org> Oleg, On Wed, Aug 06, 2025 at 04:18:21PM +0300, mcpain@altlinux.org wrote: > 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. Не написано кто, планируется, что уберет secureexec флаг, это было бы полезно знать для понимания замысла/контекста. Thanks, > > 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 > > _______________________________________________ > devel-kernel mailing list > devel-kernel@lists.altlinux.org > https://lists.altlinux.org/mailman/listinfo/devel-kernel
next prev parent reply other threads:[~2025-08-06 14:06 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2025-08-06 13:18 mcpain 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 ` Vitaly Chikunov [this message] 2025-08-06 14:39 ` [d-kernel] Re: [PATCH 0/2] Kiosk: turn off secureexec for allowed executables 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=7w3xdokeyyfvo3pa5ohukt3hch@altlinux.org \ --to=vt@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