mirror of
https://github.com/AuxXxilium/eudev.git
synced 2025-03-01 00:00:00 +07:00
Repository for eudev development
![]() The original code used fread(), which on some libc implementions (ie glibc 2.17) would pre-read a full 4K (PAGE_SIZE) of the PCI config space, when only 64 bytes were requested. I have recently come across PCIe hardware which responds with Completion Timeouts when accesses above 256 bytes are attempted. This can cause server systems with GHES/AEPI support to cause and immediate kernel panic due to the failed PCI transaction. This change replaces the buffered fread() with an explict unbuffered read() of 64 bytes, which corrects this issue by only reading the guaranteed first 64 bytes of PCIe config space. Signed-off-by: Anthony G. Basile <blueness@gentoo.org> |
||
---|---|---|
docs | ||
hwdb | ||
m4 | ||
man | ||
rules | ||
src | ||
test | ||
.gitignore | ||
.travis.yml | ||
autogen.sh | ||
configure.ac | ||
CONTRIBUTING | ||
COPYING | ||
LEGACY | ||
Makefile.am | ||
NOTES | ||
README |
This git repo is a fork of git://anongit.freedesktop.org/systemd/systemd with the aim of isolating udev from any particular flavor of system initialization. In this case, the isolation is from systemd. This is a project started by Gentoo developers and testing is currently being done mostly on OpenRC. We welcome contribution from others using a variety of system initializations to ensure eudev remains system initialization and distribution neutral. Homepage: http://www.gentoo.org/proj/en/eudev/ Tarballs of releases: http://dev.gentoo.org/~blueness/eudev/ Contact: You can email us as a group below. IRC: Freenode/#gentoo-udev Committers (alphabetical order by last name): Luca Barbato (lu_zero) <lu_zero@gentoo.org> Anthony G. Basile (blueness) <blueness@gentoo.org> Francisco Izquierdo (klondike) <klondike@gentoo.org> Ian Stakenvicius (axs) <axs@gentoo.org> Matthew Thode (prometheanfire) <prometheanfire@gentoo.org> Tony Vroon (chainsaw) <tony@linx.net> Richard Yao (ryao) <ryao@gentoo.org>