selinux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [SELinuxProject/selinux] The SIGBUS signal is triggered because the status page is incorrectly written. (Issue #475)
       [not found] <SELinuxProject/selinux/issues/475@github.com>
@ 2025-05-06 12:18 ` Petr Lautrbach
  0 siblings, 0 replies; only message in thread
From: Petr Lautrbach @ 2025-05-06 12:18 UTC (permalink / raw)
  To: selinux


biubiuzy created an issue (SELinuxProject/selinux#475) - https://github.com/SELinuxProject/selinux/issues/475

selinux_status_open() open the kernel status page and mmap it with
read-only mode, If the file is truncated(i.e echo 1 > /sys/fs/selinux/status), this causes subsequent calls to selinux_status_* interfaces to trigger the sigbus signal.
See also https://github.com/systemd/systemd/issues/37349


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-05-06 12:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <SELinuxProject/selinux/issues/475@github.com>
2025-05-06 12:18 ` [SELinuxProject/selinux] The SIGBUS signal is triggered because the status page is incorrectly written. (Issue #475) Petr Lautrbach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).