Gentoo Archives: gentoo-hardened

From: pageexec@××××××××.hu
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] denied resource overstep... for RLIMIT_MEMLOCK
Date: Fri, 16 Jan 2009 07:50:13
Message-Id: 49703C1A.20802.11B6ED58@pageexec.freemail.hu
In Reply to: [gentoo-hardened] denied resource overstep... for RLIMIT_MEMLOCK by Grant
1 On 15 Jan 2009 at 17:55, Grant wrote:
2
3 > One of my Blu-Ray rips won't play and there is a steady stream of
4 > "Error while decoding frame!" messages in mplayer's output when I try.
5 > I just noticed that each time I try to play the movie, I get another
6 > one of these in dmesg:
7 >
8 > grsec: denied resource overstep by requesting 135168 for
9 > RLIMIT_MEMLOCK against limit 32768 for /usr/bin/mplayer[mplayer:22122]
10 > uid/euid:1000/1000 gid/egid:100/100, parent /bin/bash[bash:22095]
11 > uid/euid:1000/1000 gid/egid:100/100
12
13 it's just a report that mplayer wanted to lock more memory than
14 you allowed, or rather, what the kernel allows by default. ulimit(1)
15 and related things are your friend.
16
17 > paxctl -m /usr/bin/mplayer
18 >
19 > but it doesn't seem to make any difference.
20
21 actually, that one is needed for certain win32 codecs.
22
23 > Does anyone know how to
24 > fix this? How can I undo what I did with the above paxctl command
25 > since it doesn't seem to be helping?
26
27 man paxctl would tell you if you looked ;).

Replies

Subject Author
Re: [gentoo-hardened] denied resource overstep... for RLIMIT_MEMLOCK Grant <emailgrant@×××××.com>