Changeset 2c86f81 in mainline for kernel/generic/src/mm/backend_elf.c
- Timestamp:
- 2011-04-17T18:54:49Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3ac69647
- Parents:
- b4dc35a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/mm/backend_elf.c
rb4dc35a r2c86f81 75 75 size_t nonanon_pages = ALIGN_DOWN(entry->p_filesz, PAGE_SIZE); 76 76 77 if (entry->p_flags & PF_W) 78 nonanon_pages = 0; 79 77 80 if (area->pages <= nonanon_pages) 78 81 return true; … … 85 88 elf_segment_header_t *entry = area->backend_data.segment; 86 89 size_t nonanon_pages = ALIGN_DOWN(entry->p_filesz, PAGE_SIZE); 90 91 if (entry->p_flags & PF_W) 92 nonanon_pages = 0; 87 93 88 94 if (new_pages > area->pages) { … … 195 201 elf_segment_header_t *entry = area->backend_data.segment; 196 202 size_t nonanon_pages = ALIGN_DOWN(entry->p_filesz, PAGE_SIZE); 203 204 if (entry->p_flags & PF_W) 205 nonanon_pages = 0; 197 206 198 207 if (area->pages > nonanon_pages)
Note:
See TracChangeset
for help on using the changeset viewer.