Back to index

glibc  2.9
Defines
mman.h File Reference

Go to the source code of this file.

Defines

#define PROT_READ   0x1 /* Page can be read. */
#define PROT_WRITE   0x2 /* Page can be written. */
#define PROT_EXEC   0x4 /* Page can be executed. */
#define PROT_NONE   0x0 /* Page can not be accessed. */
#define PROT_SAO   0x10 /* Strong Access Ordering. */
#define PROT_GROWSDOWN
#define PROT_GROWSUP
#define MAP_SHARED   0x001 /* Share changes. */
#define MAP_PRIVATE   0x002 /* Changes are private. */
#define MAP_FIXED   0x010 /* Interpret addr exactly. */
#define MS_ASYNC   1 /* Sync memory asynchronously. */
#define MS_SYNC   4 /* Synchronous memory sync. */
#define MS_INVALIDATE   2 /* Invalidate the caches. */
#define MCL_CURRENT   0x2000 /* Lock all currently mapped pages. */
#define MCL_FUTURE

Define Documentation

#define MAP_FIXED   0x010 /* Interpret addr exactly. */

Definition at line 49 of file mman.h.

#define MAP_PRIVATE   0x002 /* Changes are private. */

Definition at line 43 of file mman.h.

#define MAP_SHARED   0x001 /* Share changes. */

Definition at line 42 of file mman.h.

#define MCL_CURRENT   0x2000 /* Lock all currently mapped pages. */

Definition at line 73 of file mman.h.

#define MCL_FUTURE
Value:
0x4000        /* Lock all additions to address
                                      space.  */

Definition at line 74 of file mman.h.

#define MS_ASYNC   1 /* Sync memory asynchronously. */

Definition at line 68 of file mman.h.

#define MS_INVALIDATE   2 /* Invalidate the caches. */

Definition at line 70 of file mman.h.

#define MS_SYNC   4 /* Synchronous memory sync. */

Definition at line 69 of file mman.h.

#define PROT_EXEC   0x4 /* Page can be executed. */

Definition at line 35 of file mman.h.

#define PROT_GROWSDOWN
Value:
0x01000000    /* Extend change to start of
                                      growsdown vma (mprotect only).  */

Definition at line 38 of file mman.h.

#define PROT_GROWSUP
Value:
0x02000000    /* Extend change to start of
                                      growsup vma (mprotect only).  */

Definition at line 39 of file mman.h.

#define PROT_NONE   0x0 /* Page can not be accessed. */

Definition at line 36 of file mman.h.

#define PROT_READ   0x1 /* Page can be read. */

Definition at line 33 of file mman.h.

#define PROT_SAO   0x10 /* Strong Access Ordering. */

Definition at line 37 of file mman.h.

#define PROT_WRITE   0x2 /* Page can be written. */

Definition at line 34 of file mman.h.