From: catalin.marinas@arm.com (Catalin Marinas)
To: linux-arm-kernel@lists.infradead.org
Subject: arm32 binaries work with CONFIG_COMPAT as root but not as user?
Date: Wed, 28 Jan 2015 11:47:08 +0000 [thread overview]
Message-ID: <20150128114708.GA9000@e104818-lin.cambridge.arm.com> (raw)
In-Reply-To: <CAAqcGHn5rVyWRznbgTxLjTp6kHRGWW26-zJ3t7eOki_czwx1AQ@mail.gmail.com>
On Wed, Jan 28, 2015 at 11:42:55AM +0000, Riku Voipio wrote:
> On 28 January 2015 at 13:22, Catalin Marinas <catalin.marinas@arm.com> wrote:
> > On Wed, Jan 28, 2015 at 10:52:21AM +0000, Riku Voipio wrote:
> > What does this say:
> cat /proc/sys/vm/mmap_min_addr
> 65536
>
> > # cat /proc/sys/vm/mmap_min_addr
> >
> > If it is 64K, it won't run 32-bit apps as non-root.
>
> echo 32768 > /proc/sys/vm/mmap_min_addr
>
> and indeed binaries work as expected.
>
> The ubuntu LTS 3.13 kernel has:
>
> /boot/config-3.13.0-39-generic:CONFIG_DEFAULT_MMAP_MIN_ADDR=65536
>
> I need to check how the value ended up wrong on the 3.19-rc3 I tested.
It may be set by some boot script on arm64 Ubuntu (so entirely in user
space).
--
Catalin
next prev parent reply other threads:[~2015-01-28 11:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-28 10:52 arm32 binaries work with CONFIG_COMPAT as root but not as user? Riku Voipio
2015-01-28 11:22 ` Catalin Marinas
2015-01-28 11:36 ` Marc Zyngier
2015-01-28 11:42 ` Riku Voipio
2015-01-28 11:47 ` Catalin Marinas [this message]
2015-01-28 14:16 ` Riku Voipio
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=20150128114708.GA9000@e104818-lin.cambridge.arm.com \
--to=catalin.marinas@arm.com \
--cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).