Re: [PATCH] Add swich to enable/disable re-link the kernel at startup

2019-05-21 Thread Paul de Weerd
Hi Stefan, On Tue, May 21, 2019 at 09:10:51PM +0200, Stefan Sperling wrote: | > Reminds me that I should find some bigger CF to stick in there; 2GB | > really doesn't cut it anymore these days. | | My alix survives reorder_kernel just fine with 2GB of swap space, | though 1GB would probably be

Re: [PATCH] Add swich to enable/disable re-link the kernel at startup

2019-05-21 Thread Stefan Sperling
On Mon, May 20, 2019 at 01:25:17PM +0200, Paul de Weerd wrote: > Hi Stuart, > > On Mon, May 20, 2019 at 12:14:56PM +0100, Stuart Henderson wrote: > | On 2019/05/20 10:46, Paul de Weerd wrote: > | > However, library_aslr delays the boot sequence (because libraries must > | > be completed before

Re: [PATCH] Add swich to enable/disable re-link the kernel at startup

2019-05-21 Thread Ricardo Fraile
Hi Paul, El 2019-05-20 10:46, Paul de Weerd escribió: | However, library_aslr delays the boot sequence (because libraries must | be completed before the system can boot up) while kernel_aslr does not | - it only introduces a bit of extra load on your machine. What | problem are you trying to

Re: [PATCH] Add swich to enable/disable re-link the kernel at startup

2019-05-20 Thread Paul de Weerd
Hi Stuart, On Mon, May 20, 2019 at 12:14:56PM +0100, Stuart Henderson wrote: | On 2019/05/20 10:46, Paul de Weerd wrote: | > However, library_aslr delays the boot sequence (because libraries must | > be completed before the system can boot up) while kernel_aslr does not | > - it only introduces a

Re: [PATCH] Add swich to enable/disable re-link the kernel at startup

2019-05-20 Thread Stuart Henderson
On 2019/05/20 10:46, Paul de Weerd wrote: > However, library_aslr delays the boot sequence (because libraries must > be completed before the system can boot up) while kernel_aslr does not > - it only introduces a bit of extra load on your machine. That depends if reorder_kernel can run without

Re: [PATCH] Add swich to enable/disable re-link the kernel at startup

2019-05-20 Thread Paul de Weerd
On Sun, May 19, 2019 at 01:04:53PM +0200, Ricardo Fraile wrote: | Hi all, | | As exists the variable "library_aslr" to disable library randomization on | rc, it would be helpful to have the same option for the kernel. Here is the | patch to add the "kernel_aslr" swich. If you must do this: `doas

Re: [PATCH] Add swich to enable/disable re-link the kernel at startup

2019-05-20 Thread Stuart Henderson
On 2019/05/19 13:04, Ricardo Fraile wrote: > Hi all, > > As exists the variable "library_aslr" to disable library randomization on > rc, it would be helpful to have the same option for the kernel. Here is the > patch to add the "kernel_aslr" swich. I don't think an "easy" option for this should

[PATCH] Add swich to enable/disable re-link the kernel at startup

2019-05-19 Thread Ricardo Fraile
Hi all, As exists the variable "library_aslr" to disable library randomization on rc, it would be helpful to have the same option for the kernel. Here is the patch to add the "kernel_aslr" swich. Regards, Ricardo F. diff --git etc/rc etc/rc index 9a3917986cc..df2abbaa652 100644 --- etc/rc