mirror of
https://github.com/systemd/systemd.git
synced 2025-02-13 01:57:42 +03:00
Most of the accesses *were* aligned. The only one that definetely wasn't was to drive_path->part_start and drive_path->part_size, because those both expect 8 byte alignment, and are at offsets 4 and 12 in the packed structure. Because of the way that device_path structure is defined and used, we expect that device_path.length is always two-byte aligned. This adds asserts in various places to ensure the proper alignment, and uses memcpy in other places where the alignment might be off.
…
…
…
systemd - System and Service Manager
Details
General information about systemd can be found in the systemd Wiki.
Information about build requirements is provided in the README file.
Consult our NEWS file for information about what's new in the most recent systemd versions.
Please see the Hacking guide for information on how to hack on systemd and test your modifications.
Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.
When preparing patches for systemd, please follow our Coding Style Guidelines.
If you are looking for support, please contact our mailing list or join our IRC channel.
Stable branches with backported patches are available in the stable repo.
Languages
C
89.2%
Python
5.3%
Shell
4.1%
Meson
1.2%