Gentoo Archives: gentoo-hardened

From: Ned Ludd <solar@g.o>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] Which hardened kernel feature disables wine?
Date: Tue, 13 Jan 2009 20:09:35
Message-Id: 1231877371.14355.33.camel@hangover
In Reply to: [gentoo-hardened] Which hardened kernel feature disables wine? by Grant
1 On Tue, 2009-01-13 at 11:00 -0800, Grant wrote:
2 > I'm using the grsecurity "Gentoo (workstation)" setting in my hardened
3 > kernel, but trying to use wine I get this:
4 >
5 > err:heap:HEAP_GetPtr Invalid heap (nil)!
6 > err:heap:HEAP_GetPtr Invalid heap (nil)!
7 > err:module:attach_process_dlls "KERNEL32.dll" failed to initialize, aborting
8 > err:module:LdrInitializeThunk Main exe initialization for
9 > L"C:\\windows\\system32\\wineboot.exe" failed, status c0000005
10 >
11 > If I remove grsecurity from the kernel, wine works fine. Does anyone
12 > know how to fix this or which grsecurity option I can disable to
13 > enable wine?
14
15
16 You don't want to go into the kernel and start disabling features as
17 that would be the wrong fix. No reason to downgrade system wide security
18 for one app. You want to use paxctl -flags /path/to/wine-loader
19
20 Personally I'm lazy and would just do.
21 paxctl -permsx $(qlist -oe wine)
22
23
24
25 --
26 Ned Ludd <solar@g.o>
27 Gentoo Linux

Replies

Subject Author
Re: [gentoo-hardened] Which hardened kernel feature disables wine? "Javier J. Martínez Cabezón" <tazok.id0@×××××.com>
Re: [gentoo-hardened] Which hardened kernel feature disables wine? Thomas Sachau <tommy@g.o>