Lines 36-42
Link Here
|
36 |
#define SHM_UNLOCK 12 /* unlock segment (root only) */ |
36 |
#define SHM_UNLOCK 12 /* unlock segment (root only) */ |
37 |
|
37 |
|
38 |
/* Segment low boundary address multiple. */ |
38 |
/* Segment low boundary address multiple. */ |
39 |
#define SHMLBA 0x00400000 /* address needs to be 4 Mb aligned */ |
39 |
#define SHMLBA (__getpagesize ()) |
40 |
|
40 |
|
41 |
/* Type to count number of attaches. */ |
41 |
/* Type to count number of attaches. */ |
42 |
typedef unsigned long int shmatt_t; |
42 |
typedef unsigned long int shmatt_t; |