[Crash-utility] [RFC PATCH] defs.h: Update the range of legacy vsyscall to 4kB

Dave Anderson anderson at redhat.com
Tue Jan 2 15:31:06 UTC 2018


Queued for crash-7.2.1:

  https://github.com/crash-utility/crash/commit/cff3f2076ab52b9d6bae2b516fe3de32cccdb830

Thanks,
  Dave


----- Original Message -----
> Currently, There used to be 8 MB reserved for future vsyscalls, but
> that's long gone in Kernel. and it updates to 4kB
> 
> So Update it to [ffffffffff600000 - ffffffffff600fff].
> 
> Signed-off-by: Dou Liyang <douly.fnst at cn.fujitsu.com>
> ---
>  defs.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/defs.h b/defs.h
> index 4cd07b8..97738a6 100644
> --- a/defs.h
> +++ b/defs.h
> @@ -3324,7 +3324,7 @@ struct arm64_stackframe {
>  #define VMEMMAP_END_5LEVEL         0xffd5ffffffffffff
>  
>  #define VSYSCALL_START             0xffffffffff600000
> -#define VSYSCALL_END               0xffffffffffe00000
> +#define VSYSCALL_END               0xffffffffff601000
>  
>  #define PTOV(X)               ((unsigned long)(X)+(machdep->kvbase))
>  #define VTOP(X)               x86_64_VTOP((ulong)(X))
> --
> 2.14.3
> 
> 
> 
> 




More information about the Crash-utility mailing list