Hi,

Arne, would you prefer an extra file for x86_64, or an initscript that checks the architecture and then calls sysctl?

-Michael

> On 17 Jul 2019, at 16:40, Arne Fitzenreiter <Arne.Fitzenreiter(a)ipfire.org> wrote:
> 
> Ths parameters are absent on all archs except x86_64 because they configure KPTI/KASLR.
> 
> 
> On 2019-07-13 14:10, Matthias Fischer wrote:
>> 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