public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: "Peter Müller" <peter.mueller@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: New KASLR values in 'sysctl.conf' lead to errors
Date: Sun, 14 Jul 2019 14:16:00 +0000	[thread overview]
Message-ID: <4ab74054-e6cc-5bc9-a653-40797641f0aa@ipfire.org> (raw)
In-Reply-To: <9b3fc69d-ecce-c32e-aa4c-cba12b07cc36@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 1253 bytes --]

Hello Matthias,

hm, the systctls are present on my 64 bit testing machine:

> [root(a)maverick ~]# sysctl -p
> - snip -
> vm.mmap_rnd_bits = 32
> vm.mmap_rnd_compat_bits = 16
> - snip -
> [root(a)maverick ~]# arch
> x86_64

Unfortunately I do not have 32 bit hardware at hand, and
the absence of those parameters surprises me.

@All: Does anybody have access to something more uncommon
like ARM SOCs? What about those?

@All, second: Does it make sense to ship different sysctl
values for different platforms?

Sorry for the inconvenience.

Thanks, and best regards,
Peter Müller


> Hi,
> 
> sorry, next one:
> 
> Commit
> https://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff;h=ef21f3e49d2998eb4a223c05ef05f169ae99537a#patch1
> 
> "Changed sysctl values are:
> 
> vm.mmap_rnd_bits = 32 (default: 28)
> vm.mmap_rnd_compat_bits = 16 (default: 8)"
> 
> After 'sysctl -p' I get:
> 
> ***SNIP***
> ...
> error: "Invalid argument" setting key "vm.mmap_rnd_bits"
> error: "vm.mmap_rnd_compat_bits" is an unknown key
> ...
> ***SNAP***
> 
> Tested on Core 134/32bit, fresh install.
> 
> Can anyone confirm?
> 
> Best,
> Matthias
> 

-- 
The road to Hades is easy to travel.
	-- Bion of Borysthenes

  reply	other threads:[~2019-07-14 14:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-13 12:10 Matthias Fischer
2019-07-14 14:16 ` Peter Müller [this message]
2019-07-17 15:40 ` Arne Fitzenreiter
2019-07-17 16:27   ` Michael Tremer

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=4ab74054-e6cc-5bc9-a653-40797641f0aa@ipfire.org \
    --to=peter.mueller@ipfire.org \
    --cc=development@lists.ipfire.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