summaryrefslogtreecommitdiff
path: root/Ports/AvailablePorts.md
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2021-01-29 20:28:19 +0200
committerAndreas Kling <kling@serenityos.org>2021-02-01 17:13:23 +0100
commita1e20aa04f3624204f0eff5225ad65869046fced (patch)
tree6d63b6ad407f1695a96e5035d0aafafa0963aa43 /Ports/AvailablePorts.md
parenta9d1ddb1a5c959e2ced29b6906228e695498bdb9 (diff)
downloadserenity-a1e20aa04f3624204f0eff5225ad65869046fced.zip
Kernel: Fix enum of sysconf values to be in the correct order
This prevented from dmidecode to get the right PAGE_SIZE when using the sysconf syscall. I found this bug, when I tried to figure why dmidecode fails to mmap /dev/mem when I passed --no-procfs, and the conclusion is that it tried to mmap unaligned physical address 0xf5ae0 (SMBIOS data), and that was caused by a wrong value returned after using the sysconf syscall to get the plaform page size, therefore, allowing to send an unaligned address to the mmap syscall.
Diffstat (limited to 'Ports/AvailablePorts.md')
0 files changed, 0 insertions, 0 deletions