lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180119030048.GC1753@localhost.localdomain>
Date:   Fri, 19 Jan 2018 11:00:48 +0800
From:   Baoquan He <bhe@...hat.com>
To:     Chao Fan <fanc.fnst@...fujitsu.com>
Cc:     linux-kernel@...r.kernel.org, x86@...nel.org, hpa@...or.com,
        tglx@...utronix.de, mingo@...hat.com, keescook@...omium.org,
        yasu.isimatu@...il.com, indou.takao@...fujitsu.com,
        lcapitulino@...hat.com
Subject: Re: [PATCH v7 5/5] document: add document for kaslr_mem

On 01/17/18 at 06:53pm, Chao Fan wrote:
> Signed-off-by: Chao Fan <fanc.fnst@...fujitsu.com>
> ---
>  Documentation/admin-guide/kernel-parameters.txt | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
> index e2de7c006a74..f6d5adde1a73 100644
> --- a/Documentation/admin-guide/kernel-parameters.txt
> +++ b/Documentation/admin-guide/kernel-parameters.txt
> @@ -2350,6 +2350,16 @@
>  			allocations which rules out almost all kernel
>  			allocations. Use with caution!
>  
> +	kaslr_mem=nn[KMG][@ss[KMG]]
> +			[KNL] Force usage of a specific region of memory.
			[KNL] Force usage of a specific region of memory
			for KASLR during kernel decompression stage.
			Region of memory to be used is from ss to ss+nn.
			If ss is omitted, it is equivalent to kaslr_mem=nn[KMG]@0.
			Multiple regions can be specified, comma delimited.
			Notice: only support 4 regions at most now.
			Example:
			kaslr_mem=1G,500M@2G,1G@4G

Try to rewrite the doc, just for reference.

> +			Make some features, like memory hotplug and 1G huge
> +			page work well with KASLR. Region of usable memory is
> +			from ss to ss+nn. If ss is omitted, it defaults to 0.
> +			Multiple regions can be specified, comma delimited.
> +			Notice: we support 4 regions at most now.
> +			Example:
> +			kaslr_mem=1G,500M@2G,1G@4G
> +
>  	MTD_Partition=	[MTD]
>  			Format: <name>,<region-number>,<size>,<offset>
>  
> -- 
> 2.14.3
> 
> 
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ