Re: [PATCH 2/3] x86_64: push user's VM_MAX_ADDRESS
Luca Dariz, le dim. 21 mai 2023 10:57:57 +0200, a ecrit: > +#if defined(KERNEL) && defined(USER32) > +#define VM_MAX_ADDRESS (0xc000UL) > +#else /* defined(KERNEL) && defined(USER32) */ > +#define VM_MAX_ADDRESS (0x7fffULL) Why not 0x8000ULL)? Samuel
Re: [PATCH 2/3] x86_64: push user's VM_MAX_ADDRESS
Il 21/05/23 21:17, Samuel Thibault ha scritto: Luca Dariz, le dim. 21 mai 2023 10:57:57 +0200, a ecrit: +#if defined(KERNEL) && defined(USER32) +#define VM_MAX_ADDRESS (0xc000UL) +#else /* defined(KERNEL) && defined(USER32) */ +#define VM_MAX_ADDRESS (0x7fffULL) Why not 0x8000ULL)? Ah, right, the upper limit is not included. Luca