1 |
Ned Ludd schrieb: |
2 |
> On Tue, 2009-01-13 at 11:00 -0800, Grant wrote: |
3 |
>> I'm using the grsecurity "Gentoo (workstation)" setting in my hardened |
4 |
>> kernel, but trying to use wine I get this: |
5 |
>> |
6 |
>> err:heap:HEAP_GetPtr Invalid heap (nil)! |
7 |
>> err:heap:HEAP_GetPtr Invalid heap (nil)! |
8 |
>> err:module:attach_process_dlls "KERNEL32.dll" failed to initialize, aborting |
9 |
>> err:module:LdrInitializeThunk Main exe initialization for |
10 |
>> L"C:\\windows\\system32\\wineboot.exe" failed, status c0000005 |
11 |
>> |
12 |
>> If I remove grsecurity from the kernel, wine works fine. Does anyone |
13 |
>> know how to fix this or which grsecurity option I can disable to |
14 |
>> enable wine? |
15 |
> |
16 |
> |
17 |
> You don't want to go into the kernel and start disabling features as |
18 |
> that would be the wrong fix. No reason to downgrade system wide security |
19 |
> for one app. You want to use paxctl -flags /path/to/wine-loader |
20 |
> |
21 |
> Personally I'm lazy and would just do. |
22 |
> paxctl -permsx $(qlist -oe wine) |
23 |
> |
24 |
> |
25 |
> |
26 |
|
27 |
This one should do the trick: |
28 |
|
29 |
paxctl -m /usr/bin/wine-preloader |
30 |
|
31 |
-- |
32 |
Thomas Sachau |
33 |
|
34 |
Gentoo Linux Developer |