Re: [PATCH v2 37/37] powerpc: Support execute-only on all powerpc

2023-11-09 Thread Christophe Leroy
Le 07/11/2023 à 07:15, Aneesh Kumar K V a écrit : > On 11/6/23 6:53 PM, Christophe Leroy wrote: >> >> >> Le 02/11/2023 à 06:39, Aneesh Kumar K.V a écrit : >>> Christophe Leroy writes: >>> Introduce PAGE_EXECONLY_X macro which provides exec-only rights. The _X may be seen as redundant w

Re: [PATCH v2 37/37] powerpc: Support execute-only on all powerpc

2023-11-06 Thread Aneesh Kumar K V
On 11/6/23 6:53 PM, Christophe Leroy wrote: > > > Le 02/11/2023 à 06:39, Aneesh Kumar K.V a écrit : >> Christophe Leroy writes: >> >>> Introduce PAGE_EXECONLY_X macro which provides exec-only rights. >>> The _X may be seen as redundant with the EXECONLY but it helps >>> keep consistancy, all mac

Re: [PATCH v2 37/37] powerpc: Support execute-only on all powerpc

2023-11-06 Thread Christophe Leroy
Le 02/11/2023 à 06:39, Aneesh Kumar K.V a écrit : > Christophe Leroy writes: > >> Introduce PAGE_EXECONLY_X macro which provides exec-only rights. >> The _X may be seen as redundant with the EXECONLY but it helps >> keep consistancy, all macros having the EXEC right have _X. >> >> And put it ne

Re: [PATCH v2 37/37] powerpc: Support execute-only on all powerpc

2023-11-01 Thread Aneesh Kumar K.V
Christophe Leroy writes: > Introduce PAGE_EXECONLY_X macro which provides exec-only rights. > The _X may be seen as redundant with the EXECONLY but it helps > keep consistancy, all macros having the EXEC right have _X. > > And put it next to PAGE_NONE as PAGE_EXECONLY_X is > somehow PAGE_NONE + E

[PATCH v2 37/37] powerpc: Support execute-only on all powerpc

2023-09-25 Thread Christophe Leroy
Introduce PAGE_EXECONLY_X macro which provides exec-only rights. The _X may be seen as redundant with the EXECONLY but it helps keep consistancy, all macros having the EXEC right have _X. And put it next to PAGE_NONE as PAGE_EXECONLY_X is somehow PAGE_NONE + EXEC just like all other SOMETHING_X ar