tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Adding a boot flag for No ASLR



On 23.07.2018 14:48, Martin Husemann wrote:
> On Mon, Jul 23, 2018 at 06:11:49PM +0530, Siddharth Muralee wrote:
>> Hello,
>>    I have recently been working on adding a new boot flag for disabling
>> ASLR during boot. I feel that this is useful since MKSANITZER userland
>> (specifically Address Sanitizer, Thread Sanitizer, and Memory Sanitizer)
>> requires ASLR to be disabled. Till now it was hardcoded in the kernel to be
>> disabled and this looks neater.
> 
> Why don't you just use /etc/sysctl.conf?
> 

It must be disabled before executing init(8), the boot dies before
reaching rc.d/sysctl.

> Martin
> 


Attachment: signature.asc
Description: OpenPGP digital signature



Home | Main Index | Thread Index | Old Index