On Wed, 21 Feb 2018 10:15:50 -0700 Khalid Aziz wrote:
> When protection bits are changed on a VMA, some of the architecture
> specific flags should be cleared as well. An examples of this are the
> PKEY flags on x86. This patch expands the current code that clears
> PKEY
On Wed, 21 Feb 2018 10:15:50 -0700 Khalid Aziz wrote:
> When protection bits are changed on a VMA, some of the architecture
> specific flags should be cleared as well. An examples of this are the
> PKEY flags on x86. This patch expands the current code that clears
> PKEY flags for x86, to
On 03/05/2018 12:23 PM, Dave Hansen wrote:
On 02/21/2018 09:15 AM, Khalid Aziz wrote:
+/* Arch-specific flags to clear when updating VM flags on protection change */
+#ifndef VM_ARCH_CLEAR
+# define VM_ARCH_CLEAR VM_NONE
+#endif
+#define VM_FLAGS_CLEAR (ARCH_VM_PKEY_FLAGS | VM_ARCH_CLEAR)
On 03/05/2018 12:23 PM, Dave Hansen wrote:
On 02/21/2018 09:15 AM, Khalid Aziz wrote:
+/* Arch-specific flags to clear when updating VM flags on protection change */
+#ifndef VM_ARCH_CLEAR
+# define VM_ARCH_CLEAR VM_NONE
+#endif
+#define VM_FLAGS_CLEAR (ARCH_VM_PKEY_FLAGS | VM_ARCH_CLEAR)
On 02/21/2018 09:15 AM, Khalid Aziz wrote:
> +/* Arch-specific flags to clear when updating VM flags on protection change
> */
> +#ifndef VM_ARCH_CLEAR
> +# define VM_ARCH_CLEAR VM_NONE
> +#endif
> +#define VM_FLAGS_CLEAR (ARCH_VM_PKEY_FLAGS | VM_ARCH_CLEAR)
Shouldn't this be
On 02/21/2018 09:15 AM, Khalid Aziz wrote:
> +/* Arch-specific flags to clear when updating VM flags on protection change
> */
> +#ifndef VM_ARCH_CLEAR
> +# define VM_ARCH_CLEAR VM_NONE
> +#endif
> +#define VM_FLAGS_CLEAR (ARCH_VM_PKEY_FLAGS | VM_ARCH_CLEAR)
Shouldn't this be
6 matches
Mail list logo