From: Grant <emailgrant@gmail.com>
To: gentoo-hardened@lists.gentoo.org
Subject: Re: [gentoo-hardened] RLIMIT_MEMLOCK but can't paxctl -m
Date: Sun, 25 Jan 2009 09:35:04 -0800 [thread overview]
Message-ID: <49bf44f10901250935n376fd682l465bd459804c57b4@mail.gmail.com> (raw)
In-Reply-To: <897813410901250928p515349cdua657d6f519edd194@mail.gmail.com>
> PaX flags only marks elf files not scripts.
Is there anything I can do about the "denied resource overstep by
requesting 135168 for
RLIMIT_MEMLOCK"?
- Grant
>>> can you put the output of file /usr/bin/miro?
>>
>> That file is just:
>>
>> #!/bin/sh
>> miro.real "$@"
>>
>> and /usr/bin/miro.real is a python script.
>>
>> - Grant
>>
>>
>>>> I'm getting:
>>>>
>>>> grsec: denied resource overstep by requesting 135168 for
>>>> RLIMIT_MEMLOCK against limit 32768 for
>>>> /usr/bin/miro.real[miro.real:12965] uid/euid:1000/1000
>>>> gid/egid:100/100, parent /usr/bin/miro[miro:12964] uid/euid:1000/1000
>>>> gid/egid:100/100
>>>>
>>>> but both 'paxctl -m /usr/bin/miro' and 'paxctl -m /usr/bin/miro.real'
>>>> return "file is not a valid ELF executable". Am I using the wrong
>>>> command?
>>>>
>>>> - Grant
next prev parent reply other threads:[~2009-01-25 17:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-25 15:12 [gentoo-hardened] RLIMIT_MEMLOCK but can't paxctl -m Grant
2009-01-25 15:23 ` Javier J. Martínez Cabezón
2009-01-25 15:28 ` Grant
2009-01-25 17:28 ` Javier J. Martínez Cabezón
2009-01-25 17:35 ` Grant [this message]
2009-01-25 17:38 ` Javier J. Martínez Cabezón
2009-01-25 18:03 ` pageexec
2009-01-25 19:08 ` Grant
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49bf44f10901250935n376fd682l465bd459804c57b4@mail.gmail.com \
--to=emailgrant@gmail.com \
--cc=gentoo-hardened@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox