new file mode 100644
@@ -0,0 +1,10 @@
+#error "This file must be written based on the possible page sizes"
+
+/* 1 << __GLIBC_PAGE_SHIFT_MIN is the minimum possible page size.
+ The least significant __GLIBC_PAGE_SHIFT_MIN bits of pointers
+ return by mmap are guaranteed to be cleared. */
+#define __GLIBC_PAGE_SHIFT_MIN
+
+/* 1 << __GLIBC_PAGE_SHIFT_MAX is the maximum possible page size.
+ On-disk file formats must not require smaller mapping offsets. */
+#define __GLIBC_PAGE_SHIFT_MAX
new file mode 100644
@@ -0,0 +1 @@
+#include <misc/sys/pagesize.h>
new file mode 100644
@@ -0,0 +1,32 @@
+/* Information about supported page sizes.
+ Copyright (C) 2024 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, see
+ <https://www.gnu.org/licenses/>. */
+
+#ifndef _SYS_PAGESIZE_H
+#define _SYS_PAGESIZE_H
+
+#include <bits/pagesize.h>
+
+/* Minimum and maximum possible page sizes, in bytes. */
+#define PAGE_SIZE_MIN (1L << __GLIBC_PAGE_SHIFT_MIN)
+#define PAGE_SIZE_MAX (1L << __GLIBC_PAGE_SHIFT_MAX)
+
+/* Base-2 logarithm of the size limits. */
+#define PAGE_SHIFT_MIN __GLIBC_PAGE_SHIFT_MIN
+#define PAGE_SHIFT_MAX __GLIBC_PAGE_SHIFT_MAX
+
+#endif /* _SYS_PAGESIZE_H */