mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 09:44:18 +08:00
15 lines
311 B
C
15 lines
311 B
C
|
/*
|
||
|
* Copyright (C) 2004 Jeff Dike (jdike@addtoit.com)
|
||
|
* Licensed under the GPL
|
||
|
*/
|
||
|
|
||
|
#ifndef __VM_FLAGS_I386_H
|
||
|
#define __VM_FLAGS_I386_H
|
||
|
|
||
|
#define VM_DATA_DEFAULT_FLAGS \
|
||
|
(VM_READ | VM_WRITE | \
|
||
|
((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0 ) | \
|
||
|
VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)
|
||
|
|
||
|
#endif
|