[Bug 43192] wine-preloader shows SELinux warning when kernel is compiled with CONFIG_DEFAULT_MMAP_MIN_ADDR < CONFIG_LSM_MMAP_MIN_ADDR

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Jun 17 19:44:52 CDT 2017


https://bugs.winehq.org/show_bug.cgi?id=43192

Sebastian Lackner <sebastian at fds-team.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Wine 2.10 run afoul of      |wine-preloader shows
                   |SELinux                     |SELinux warning when kernel
                   |                            |is compiled with
                   |                            |CONFIG_DEFAULT_MMAP_MIN_ADD
                   |                            |R <
                   |                            |CONFIG_LSM_MMAP_MIN_ADDR
          Component|-unknown                    |-unknown
            Product|Wine                        |Wine-staging

--- Comment #3 from Sebastian Lackner <sebastian at fds-team.de> ---
I have added a patch to workaround this warning, so it will disappear again
with the next release. Please note that the warning is harmless, and can be
safely ignored.

Even before 2.10, Wine already tried to allocate this memory region, which is
necessary for running DOS applications. A failure is not critical, except that
you will lack support for running such apps. The warning appeared because of a
change related to the preloader on macOS. We splitted the allocation of the DOS
area (0x0 - 0x10000) into two separate allocations.

Although both methods are technically identical, the SELinux code is written in
such a way that only the new method will trigger a warning. By looking at the
kernel code, it only seems to affects kernel versions compiled with
CONFIG_DEFAULT_MMAP_MIN_ADDR < CONFIG_LSM_MMAP_MIN_ADDR.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list