27 |
27 |
28 // Linux_OS defines the interface to Linux operating systems |
28 // Linux_OS defines the interface to Linux operating systems |
29 |
29 |
30 /* pthread_getattr_np comes with LinuxThreads-0.9-7 on RedHat 7.1 */ |
30 /* pthread_getattr_np comes with LinuxThreads-0.9-7 on RedHat 7.1 */ |
31 typedef int (*pthread_getattr_func_type) (pthread_t, pthread_attr_t *); |
31 typedef int (*pthread_getattr_func_type) (pthread_t, pthread_attr_t *); |
|
32 |
|
33 // Information about the protection of the page at address '0' on this os. |
|
34 static bool zero_page_read_protected() { return true; } |
32 |
35 |
33 class Linux { |
36 class Linux { |
34 friend class os; |
37 friend class os; |
35 friend class TestReserveMemorySpecial; |
38 friend class TestReserveMemorySpecial; |
36 |
39 |