Gentoo Archives: gentoo-hardened

From: Grant <emailgrant@×××××.com>
To: gentoo-hardened@l.g.o
Subject: [gentoo-hardened] Re: denied resource overstep... for RLIMIT_MEMLOCK
Date: Fri, 16 Jan 2009 02:05:35
Message-Id: 49bf44f10901151805i24de1607k9165f8a1e6772d67@mail.gmail.com
In Reply to: [gentoo-hardened] denied resource overstep... for RLIMIT_MEMLOCK by Grant
1 > One of my Blu-Ray rips won't play and there is a steady stream of
2 > "Error while decoding frame!" messages in mplayer's output when I try.
3 > I just noticed that each time I try to play the movie, I get another
4 > one of these in dmesg:
5 >
6 > grsec: denied resource overstep by requesting 135168 for
7 > RLIMIT_MEMLOCK against limit 32768 for /usr/bin/mplayer[mplayer:22122]
8 > uid/euid:1000/1000 gid/egid:100/100, parent /bin/bash[bash:22095]
9 > uid/euid:1000/1000 gid/egid:100/100
10 >
11 > I tried:
12 >
13 > paxctl -m /usr/bin/mplayer
14 >
15 > but it doesn't seem to make any difference. Does anyone know how to
16 > fix this? How can I undo what I did with the above paxctl command
17 > since it doesn't seem to be helping?
18 >
19 > - Grant
20
21 I should have checked this before posting but I actually get the same
22 grsec message when playing movies in mplayer that work perfectly fine.
23 Is there any need to do anything based on the message?
24
25 I also noticed this in dmesg on a different system and I'm wondering about it:
26
27 PAX: execution attempt in:
28 /usr/lib64/opengl/nvidia/lib/libGLcore.so.177.82,
29 6b8d6f990000-6b8d6fd20000 00c1b000
30 PAX: terminating task: /usr/bin/Xorg(X):14958, uid/euid: 0/0, PC:
31 00006b8d6fc665d0, SP: 000077eb50bd1258
32 PAX: bytes at PC: 64 48 8b 04 25 68 ff ff ff ff a0 10 08 00 00 cc cc cc cc cc
33 PAX: bytes at SP-8:
34
35 - Grant

Replies