Re: [PATCH] use VM_READ/WRITE/EXEC to set vm_page_prot

2007-09-21 Thread Hugh Dickins
On Mon, 3 Sep 2007, Coly Li wrote: > When setup vm_page_prot, some code use 0x7 instead of > (VM_READ|VM_WRITE|VM_EXEC). It does works > well, but it will be better if we use the VM_READ/WRITE/EXEC MACRO :-) > > This patch uses (VM_READ|VM_WRITE|VM_EXEC) to replace 0x7 in vm_page_prot > setup.

[PATCH] use VM_READ/WRITE/EXEC to set vm_page_prot

2007-09-02 Thread Coly Li
When setup vm_page_prot, some code use 0x7 instead of (VM_READ|VM_WRITE|VM_EXEC). It does works well, but it will be better if we use the VM_READ/WRITE/EXEC MACRO :-) This patch uses (VM_READ|VM_WRITE|VM_EXEC) to replace 0x7 in vm_page_prot setup. Signed-Off-By: Coly Li <[EMAIL PROTECTED]> dif