Page MenuHomeFreeBSD

D45066.diff
No OneTemporary

D45066.diff

diff --git a/lib/libsys/getpagesize.c b/lib/libsys/getpagesize.c
--- a/lib/libsys/getpagesize.c
+++ b/lib/libsys/getpagesize.c
@@ -45,7 +45,7 @@
int value;
if (_elf_aux_info(AT_PAGESZ, &value, sizeof(value)) != 0)
- value = PAGE_SIZE;
+ value = PAGE_SIZE_MAX;
return (value);
}
diff --git a/lib/libsys/getpagesizes.c b/lib/libsys/getpagesizes.c
--- a/lib/libsys/getpagesizes.c
+++ b/lib/libsys/getpagesizes.c
@@ -58,7 +58,7 @@
/* Cache the result */
if (nops == 0) {
if (_elf_aux_info(AT_PAGESIZES, ps, sizeof(ps)) != 0)
- ps[0] = PAGE_SIZE;
+ ps[0] = PAGE_SIZE_MAX;
/* Count the number of page sizes that are supported. */
nops = nitems(ps);
while (nops > 0 && ps[nops - 1] == 0)

File Metadata

Mime Type
text/plain
Expires
Wed, Jul 22, 7:19 PM (2 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35378134
Default Alt Text
D45066.diff (715 B)

Event Timeline