mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 10:16:41 +00:00
Currently page_size() returns unsigned int value that is after "bitwise not" is promoted to unsigned long value e.g. in uffd.c handle_page_fault. Since the value is unsigned promotion is done with 0 MSB that results in lost of MSB pagefault address bits. So make page_size to return unsigned long to avoid such situation. Signed-off-by: Vladislav Khmelevsky <och95@yandex.ru> |
||
|---|---|---|
| .. | ||
| aarch64/asm | ||
| arm/asm | ||
| loongarch64/asm | ||
| mips/asm | ||
| ppc64/asm | ||
| s390/asm | ||
| x86/asm | ||